[MERGE] sync with latest trunk

bzr revid: mat@openerp.com-20130521131651-7rb9ybgiarj6dwr0
This commit is contained in:
Martin Trigaux 2013-05-21 15:16:51 +02:00
commit 2c4f0c9a13
38 changed files with 30003 additions and 2467 deletions

View File

@ -717,7 +717,7 @@ class account_invoice(osv.osv):
inv = self.browse(cr, uid, id)
cur_obj = self.pool.get('res.currency')
company_currency = inv.company_id.currency_id.id
company_currency = self.pool['res.company'].browse(cr, uid, inv.company_id.id).currency_id.id
if inv.type in ('out_invoice', 'in_refund'):
sign = 1
else:
@ -764,6 +764,7 @@ class account_invoice(osv.osv):
return move_lines
def check_tax_lines(self, cr, uid, inv, compute_taxes, ait_obj):
company_currency = self.pool['res.company'].browse(cr, uid, inv.company_id.id).currency_id
if not inv.tax_line:
for tax in compute_taxes.values():
ait_obj.create(cr, uid, tax)
@ -777,7 +778,7 @@ class account_invoice(osv.osv):
if not key in compute_taxes:
raise osv.except_osv(_('Warning!'), _('Global taxes defined, but they are not in invoice lines !'))
base = compute_taxes[key]['base']
if abs(base - tax.base) > inv.company_id.currency_id.rounding:
if abs(base - tax.base) > company_currency.rounding:
raise osv.except_osv(_('Warning!'), _('Tax base different!\nClick on compute to update the tax base.'))
for key in compute_taxes:
if not key in tax_key:
@ -864,7 +865,7 @@ class account_invoice(osv.osv):
ctx.update({'lang': inv.partner_id.lang})
if not inv.date_invoice:
self.write(cr, uid, [inv.id], {'date_invoice': fields.date.context_today(self,cr,uid,context=context)}, context=ctx)
company_currency = inv.company_id.currency_id.id
company_currency = self.pool['res.company'].browse(cr, uid, inv.company_id.id).currency_id.id
# create the analytical lines
# one move line per invoice line
iml = self._get_analytic_lines(cr, uid, inv.id, context=ctx)
@ -980,7 +981,8 @@ class account_invoice(osv.osv):
'line_id': line,
'journal_id': journal_id,
'date': date,
'narration':inv.comment
'narration': inv.comment,
'company_id': inv.company_id.id,
}
period_id = inv.period_id and inv.period_id.id or False
ctx.update(company_id=inv.company_id.id,
@ -1513,8 +1515,7 @@ class account_invoice_line(osv.osv):
if context is None:
context = {}
inv = self.pool.get('account.invoice').browse(cr, uid, invoice_id, context=context)
company_currency = inv.company_id.currency_id.id
company_currency = self.pool['res.company'].browse(cr, uid, inv.company_id.id).currency_id.id
for line in inv.invoice_line:
mres = self.move_line_get_item(cr, uid, line, context)
if not mres:
@ -1659,8 +1660,7 @@ class account_invoice_tax(osv.osv):
cur_obj = self.pool.get('res.currency')
inv = self.pool.get('account.invoice').browse(cr, uid, invoice_id, context=context)
cur = inv.currency_id
company_currency = inv.company_id.currency_id.id
company_currency = self.pool['res.company'].browse(cr, uid, inv.company_id.id).currency_id.id
for line in inv.invoice_line:
for tax in tax_obj.compute_all(cr, uid, line.invoice_line_tax_id, (line.price_unit* (1-(line.discount or 0.0)/100.0)), line.quantity, line.product_id, inv.partner_id)['taxes']:
val={}

View File

@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:37+0000\n"
"PO-Revision-Date: 2013-04-30 16:24+0000\n"
"Last-Translator: Andrius Preimantas <andrius.preimantas@gmail.com>\n"
"PO-Revision-Date: 2013-05-18 08:01+0000\n"
"Last-Translator: Andrius Bacianskas <anbalt@gmail.com>\n"
"Language-Team: Lithuanian <lt@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-05-01 05:14+0000\n"
"X-Generator: Launchpad (build 16580)\n"
"X-Launchpad-Export-Date: 2013-05-19 06:12+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: account
#: model:process.transition,name:account.process_transition_supplierreconcilepaid0
@ -1206,7 +1206,7 @@ msgstr ""
#. module: account
#: field:report.account.receivable,name:0
msgid "Week of Year"
msgstr ""
msgstr "Metų savaitė"
#. module: account
#: field:account.report.general.ledger,landscape:0

View File

@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:37+0000\n"
"PO-Revision-Date: 2013-05-01 19:40+0000\n"
"PO-Revision-Date: 2013-05-20 12:41+0000\n"
"Last-Translator: Erwin van der Ploeg (Endian Solutions) <Unknown>\n"
"Language-Team: Dutch <nl@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-05-02 06:08+0000\n"
"X-Generator: Launchpad (build 16580)\n"
"X-Launchpad-Export-Date: 2013-05-21 05:44+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: account
#: model:process.transition,name:account.process_transition_supplierreconcilepaid0
@ -3343,7 +3343,7 @@ msgstr "Augustus"
#. module: account
#: field:accounting.report,debit_credit:0
msgid "Display Debit/Credit Columns"
msgstr "Debet/Credit kolom weergaven"
msgstr "Debet/Credit kolom weergeven"
#. module: account
#: selection:account.entries.report,month:0

View File

@ -0,0 +1,758 @@
# Thai translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:37+0000\n"
"PO-Revision-Date: 2013-05-15 10:09+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Thai <th@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-05-16 05:55+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: account_asset
#: view:account.asset.asset:0
msgid "Assets in draft and open states"
msgstr ""
#. module: account_asset
#: field:account.asset.category,method_end:0
#: field:account.asset.history,method_end:0
#: field:asset.modify,method_end:0
msgid "Ending date"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,value_residual:0
msgid "Residual Value"
msgstr ""
#. module: account_asset
#: field:account.asset.category,account_expense_depreciation_id:0
msgid "Depr. Expense Account"
msgstr ""
#. module: account_asset
#: view:asset.asset.report:0
msgid "Group By..."
msgstr ""
#. module: account_asset
#: field:asset.asset.report,gross_value:0
msgid "Gross Amount"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
#: field:account.asset.depreciation.line,asset_id:0
#: field:account.asset.history,asset_id:0
#: field:account.move.line,asset_id:0
#: view:asset.asset.report:0
#: field:asset.asset.report,asset_id:0
#: model:ir.model,name:account_asset.model_account_asset_asset
msgid "Asset"
msgstr ""
#. module: account_asset
#: help:account.asset.asset,prorata:0
#: help:account.asset.category,prorata:0
msgid ""
"Indicates that the first depreciation entry for this asset have to be done "
"from the purchase date instead of the first January"
msgstr ""
#. module: account_asset
#: selection:account.asset.asset,method:0
#: selection:account.asset.category,method:0
msgid "Linear"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,company_id:0
#: field:account.asset.category,company_id:0
#: view:asset.asset.report:0
#: field:asset.asset.report,company_id:0
msgid "Company"
msgstr ""
#. module: account_asset
#: view:asset.modify:0
msgid "Modify"
msgstr ""
#. module: account_asset
#: selection:account.asset.asset,state:0
#: view:asset.asset.report:0
#: selection:asset.asset.report,state:0
msgid "Running"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
msgid "Set to Draft"
msgstr ""
#. module: account_asset
#: view:asset.asset.report:0
#: model:ir.actions.act_window,name:account_asset.action_asset_asset_report
#: model:ir.model,name:account_asset.model_asset_asset_report
#: model:ir.ui.menu,name:account_asset.menu_action_asset_asset_report
msgid "Assets Analysis"
msgstr ""
#. module: account_asset
#: field:asset.modify,name:0
msgid "Reason"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,method_progress_factor:0
#: field:account.asset.category,method_progress_factor:0
msgid "Degressive Factor"
msgstr ""
#. module: account_asset
#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_normal
#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_normal
msgid "Asset Categories"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
#: field:account.asset.asset,account_move_line_ids:0
#: field:account.move.line,entry_ids:0
#: model:ir.actions.act_window,name:account_asset.act_entries_open
msgid "Entries"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
#: field:account.asset.asset,depreciation_line_ids:0
msgid "Depreciation Lines"
msgstr ""
#. module: account_asset
#: help:account.asset.asset,salvage_value:0
msgid "It is the amount you plan to have that you cannot depreciate."
msgstr ""
#. module: account_asset
#: help:account.asset.asset,method_period:0
msgid "The amount of time between two depreciations, in months"
msgstr ""
#. module: account_asset
#: field:account.asset.depreciation.line,depreciation_date:0
#: view:asset.asset.report:0
#: field:asset.asset.report,depreciation_date:0
msgid "Depreciation Date"
msgstr ""
#. module: account_asset
#: constraint:account.asset.asset:0
msgid "Error ! You cannot create recursive assets."
msgstr ""
#. module: account_asset
#: field:asset.asset.report,posted_value:0
msgid "Posted Amount"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
#: view:asset.asset.report:0
#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_form
#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_form
#: model:ir.ui.menu,name:account_asset.menu_finance_assets
#: model:ir.ui.menu,name:account_asset.menu_finance_config_assets
msgid "Assets"
msgstr ""
#. module: account_asset
#: field:account.asset.category,account_depreciation_id:0
msgid "Depreciation Account"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
#: view:account.asset.category:0
#: view:account.asset.history:0
#: view:asset.modify:0
#: field:asset.modify,note:0
msgid "Notes"
msgstr ""
#. module: account_asset
#: field:account.asset.depreciation.line,move_id:0
msgid "Depreciation Entry"
msgstr ""
#. module: account_asset
#: code:addons/account_asset/account_asset.py:82
#, python-format
msgid "Error!"
msgstr ""
#. module: account_asset
#: view:asset.asset.report:0
#: field:asset.asset.report,nbr:0
msgid "# of Depreciation Lines"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,method_period:0
msgid "Number of Months in a Period"
msgstr ""
#. module: account_asset
#: view:asset.asset.report:0
msgid "Assets in draft state"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,method_end:0
#: selection:account.asset.asset,method_time:0
#: selection:account.asset.category,method_time:0
#: selection:account.asset.history,method_time:0
msgid "Ending Date"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,code:0
msgid "Reference"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
msgid "Account Asset"
msgstr ""
#. module: account_asset
#: model:ir.actions.act_window,name:account_asset.action_asset_depreciation_confirmation_wizard
#: model:ir.ui.menu,name:account_asset.menu_asset_depreciation_confirmation_wizard
msgid "Compute Assets"
msgstr ""
#. module: account_asset
#: field:account.asset.category,method_period:0
#: field:account.asset.history,method_period:0
#: field:asset.modify,method_period:0
msgid "Period Length"
msgstr ""
#. module: account_asset
#: selection:account.asset.asset,state:0
#: view:asset.asset.report:0
#: selection:asset.asset.report,state:0
msgid "Draft"
msgstr ""
#. module: account_asset
#: view:asset.asset.report:0
msgid "Date of asset purchase"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
msgid "Change Duration"
msgstr ""
#. module: account_asset
#: help:account.asset.asset,method_number:0
#: help:account.asset.category,method_number:0
#: help:account.asset.history,method_number:0
msgid "The number of depreciations needed to depreciate your asset"
msgstr ""
#. module: account_asset
#: view:account.asset.category:0
msgid "Analytic Information"
msgstr ""
#. module: account_asset
#: field:account.asset.category,account_analytic_id:0
msgid "Analytic account"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,method:0
#: field:account.asset.category,method:0
msgid "Computation Method"
msgstr ""
#. module: account_asset
#: constraint:account.asset.asset:0
msgid ""
"Prorata temporis can be applied only for time method \"number of "
"depreciations\"."
msgstr ""
#. module: account_asset
#: field:account.asset.depreciation.line,remaining_value:0
msgid "Next Period Depreciation"
msgstr ""
#. module: account_asset
#: help:account.asset.history,method_period:0
msgid "Time in month between two depreciations"
msgstr ""
#. module: account_asset
#: view:asset.modify:0
#: model:ir.actions.act_window,name:account_asset.action_asset_modify
#: model:ir.model,name:account_asset.model_asset_modify
msgid "Modify Asset"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,salvage_value:0
msgid "Salvage Value"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,category_id:0
#: view:account.asset.category:0
#: field:account.invoice.line,asset_category_id:0
#: view:asset.asset.report:0
msgid "Asset Category"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
msgid "Assets in closed state"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,parent_id:0
msgid "Parent Asset"
msgstr ""
#. module: account_asset
#: view:account.asset.history:0
#: model:ir.model,name:account_asset.model_account_asset_history
msgid "Asset history"
msgstr ""
#. module: account_asset
#: view:account.asset.category:0
msgid "Search Asset Category"
msgstr ""
#. module: account_asset
#: view:asset.modify:0
msgid "months"
msgstr ""
#. module: account_asset
#: model:ir.model,name:account_asset.model_account_invoice_line
msgid "Invoice Line"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
msgid "Depreciation Board"
msgstr ""
#. module: account_asset
#: field:asset.asset.report,unposted_value:0
msgid "Unposted Amount"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,method_time:0
#: field:account.asset.category,method_time:0
#: field:account.asset.history,method_time:0
msgid "Time Method"
msgstr ""
#. module: account_asset
#: view:asset.depreciation.confirmation.wizard:0
#: view:asset.modify:0
msgid "or"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,note:0
#: field:account.asset.category,note:0
#: field:account.asset.history,note:0
msgid "Note"
msgstr ""
#. module: account_asset
#: help:account.asset.history,method_time:0
msgid ""
"The method to use to compute the dates and number of depreciation lines.\n"
"Number of Depreciations: Fix the number of depreciation lines and the time "
"between 2 depreciations.\n"
"Ending Date: Choose the time between 2 depreciations and the date the "
"depreciations won't go beyond."
msgstr ""
#. module: account_asset
#: help:account.asset.asset,method_time:0
#: help:account.asset.category,method_time:0
msgid ""
"Choose the method to use to compute the dates and number of depreciation "
"lines.\n"
" * Number of Depreciations: Fix the number of depreciation lines and the "
"time between 2 depreciations.\n"
" * Ending Date: Choose the time between 2 depreciations and the date the "
"depreciations won't go beyond."
msgstr ""
#. module: account_asset
#: view:asset.asset.report:0
msgid "Assets in running state"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
msgid "Closed"
msgstr ""
#. module: account_asset
#: help:account.asset.asset,state:0
msgid ""
"When an asset is created, the status is 'Draft'.\n"
"If the asset is confirmed, the status goes in 'Running' and the depreciation "
"lines can be posted in the accounting.\n"
"You can manually close an asset when the depreciation is over. If the last "
"line of depreciation is posted, the asset automatically goes in that status."
msgstr ""
#. module: account_asset
#: field:account.asset.asset,state:0
#: field:asset.asset.report,state:0
msgid "Status"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,partner_id:0
#: field:asset.asset.report,partner_id:0
msgid "Partner"
msgstr ""
#. module: account_asset
#: view:asset.asset.report:0
msgid "Posted depreciation lines"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,child_ids:0
msgid "Children Assets"
msgstr ""
#. module: account_asset
#: view:asset.asset.report:0
msgid "Date of depreciation"
msgstr ""
#. module: account_asset
#: field:account.asset.history,user_id:0
msgid "User"
msgstr ""
#. module: account_asset
#: field:account.asset.category,account_asset_id:0
msgid "Asset Account"
msgstr ""
#. module: account_asset
#: view:asset.asset.report:0
msgid "Extended Filters..."
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
#: view:asset.depreciation.confirmation.wizard:0
msgid "Compute"
msgstr ""
#. module: account_asset
#: view:account.asset.history:0
msgid "Asset History"
msgstr ""
#. module: account_asset
#: model:ir.model,name:account_asset.model_asset_depreciation_confirmation_wizard
msgid "asset.depreciation.confirmation.wizard"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,active:0
msgid "Active"
msgstr ""
#. module: account_asset
#: field:account.asset.depreciation.line,parent_state:0
msgid "State of Asset"
msgstr ""
#. module: account_asset
#: field:account.asset.depreciation.line,name:0
msgid "Depreciation Name"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
#: field:account.asset.asset,history_ids:0
msgid "History"
msgstr ""
#. module: account_asset
#: view:asset.depreciation.confirmation.wizard:0
msgid "Compute Asset"
msgstr ""
#. module: account_asset
#: field:asset.depreciation.confirmation.wizard,period_id:0
msgid "Period"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
msgid "General"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,prorata:0
#: field:account.asset.category,prorata:0
msgid "Prorata Temporis"
msgstr ""
#. module: account_asset
#: model:ir.model,name:account_asset.model_account_invoice
msgid "Invoice"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
msgid "Set to Close"
msgstr ""
#. module: account_asset
#: view:asset.depreciation.confirmation.wizard:0
#: view:asset.modify:0
msgid "Cancel"
msgstr ""
#. module: account_asset
#: selection:account.asset.asset,state:0
#: selection:asset.asset.report,state:0
msgid "Close"
msgstr ""
#. module: account_asset
#: model:ir.model,name:account_asset.model_account_move_line
msgid "Journal Items"
msgstr ""
#. module: account_asset
#: view:asset.modify:0
msgid "Asset Durations to Modify"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,purchase_date:0
#: view:asset.asset.report:0
#: field:asset.asset.report,purchase_date:0
msgid "Purchase Date"
msgstr ""
#. module: account_asset
#: selection:account.asset.asset,method:0
#: selection:account.asset.category,method:0
msgid "Degressive"
msgstr ""
#. module: account_asset
#: help:asset.depreciation.confirmation.wizard,period_id:0
msgid ""
"Choose the period for which you want to automatically post the depreciation "
"lines of running assets"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
msgid "Current"
msgstr ""
#. module: account_asset
#: code:addons/account_asset/account_asset.py:82
#, python-format
msgid "You cannot delete an asset that contains posted depreciation lines."
msgstr ""
#. module: account_asset
#: view:account.asset.category:0
msgid "Depreciation Method"
msgstr ""
#. module: account_asset
#: field:account.asset.depreciation.line,amount:0
msgid "Current Depreciation"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,name:0
msgid "Asset Name"
msgstr ""
#. module: account_asset
#: field:account.asset.category,open_asset:0
msgid "Skip Draft State"
msgstr ""
#. module: account_asset
#: view:account.asset.category:0
msgid "Depreciation Dates"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,currency_id:0
msgid "Currency"
msgstr ""
#. module: account_asset
#: field:account.asset.category,journal_id:0
msgid "Journal"
msgstr ""
#. module: account_asset
#: field:account.asset.history,name:0
msgid "History name"
msgstr ""
#. module: account_asset
#: field:account.asset.depreciation.line,depreciated_value:0
msgid "Amount Already Depreciated"
msgstr ""
#. module: account_asset
#: help:account.asset.asset,method:0
#: help:account.asset.category,method:0
msgid ""
"Choose the method to use to compute the amount of depreciation lines.\n"
" * Linear: Calculated on basis of: Gross Value / Number of Depreciations\n"
" * Degressive: Calculated on basis of: Residual Value * Degressive Factor"
msgstr ""
#. module: account_asset
#: field:account.asset.depreciation.line,move_check:0
#: view:asset.asset.report:0
#: field:asset.asset.report,move_check:0
msgid "Posted"
msgstr ""
#. module: account_asset
#: model:ir.actions.act_window,help:account_asset.action_asset_asset_report
msgid ""
"<p>\n"
" From this report, you can have an overview on all depreciation. "
"The\n"
" tool search can also be used to personalise your Assets reports "
"and\n"
" so, match this analysis to your needs;\n"
" </p>\n"
" "
msgstr ""
#. module: account_asset
#: field:account.asset.asset,purchase_value:0
msgid "Gross Value"
msgstr ""
#. module: account_asset
#: field:account.asset.category,name:0
msgid "Name"
msgstr ""
#. module: account_asset
#: help:account.asset.category,open_asset:0
msgid ""
"Check this if you want to automatically confirm the assets of this category "
"when created by invoices."
msgstr ""
#. module: account_asset
#: field:asset.asset.report,name:0
msgid "Year"
msgstr ""
#. module: account_asset
#: model:ir.model,name:account_asset.model_account_asset_depreciation_line
msgid "Asset depreciation line"
msgstr ""
#. module: account_asset
#: view:account.asset.category:0
#: field:asset.asset.report,asset_category_id:0
#: model:ir.model,name:account_asset.model_account_asset_category
msgid "Asset category"
msgstr ""
#. module: account_asset
#: view:asset.asset.report:0
#: field:asset.asset.report,depreciation_value:0
msgid "Amount of Depreciation Lines"
msgstr ""
#. module: account_asset
#: code:addons/account_asset/wizard/wizard_asset_compute.py:49
#, python-format
msgid "Created Asset Moves"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
msgid "Add an internal note here..."
msgstr ""
#. module: account_asset
#: field:account.asset.depreciation.line,sequence:0
msgid "Sequence"
msgstr ""
#. module: account_asset
#: help:account.asset.category,method_period:0
msgid "State here the time between 2 depreciations, in months"
msgstr ""
#. module: account_asset
#: field:account.asset.history,date:0
msgid "Date"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,method_number:0
#: selection:account.asset.asset,method_time:0
#: field:account.asset.category,method_number:0
#: selection:account.asset.category,method_time:0
#: field:account.asset.history,method_number:0
#: selection:account.asset.history,method_time:0
#: field:asset.modify,method_number:0
msgid "Number of Depreciations"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
msgid "Create Move"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
msgid "Confirm Asset"
msgstr ""
#. module: account_asset
#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_tree
#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_tree
msgid "Asset Hierarchy"
msgstr ""

View File

@ -0,0 +1,23 @@
# Thai translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:37+0000\n"
"PO-Revision-Date: 2013-05-15 07:04+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Thai <th@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-05-16 05:55+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: account_cancel
#: view:account.invoice:0
msgid "Cancel Invoice"
msgstr ""

View File

@ -165,9 +165,8 @@ class res_partner(osv.osv):
else:
action_text = partner.latest_followup_level_id_without_lit.manual_action_note or ''
#Check date: put the minimum date if it existed already
action_date = (partner.payment_next_action_date and min(partner.payment_next_action_date, fields.date.context_today(self, cr, uid, context=context))
) or fields.date.context_today(self, cr, uid, context=context)
#Check date: only change when it did not exist already
action_date = partner.payment_next_action_date or fields.date.context_today(self, cr, uid, context=context)
# Check responsible: if partner has not got a responsible already, take from follow-up
responsible_id = False

View File

@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:37+0000\n"
"PO-Revision-Date: 2013-05-01 18:15+0000\n"
"PO-Revision-Date: 2013-05-15 17:31+0000\n"
"Last-Translator: Erwin van der Ploeg (Endian Solutions) <Unknown>\n"
"Language-Team: Dutch <nl@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-05-02 06:08+0000\n"
"X-Generator: Launchpad (build 16580)\n"
"X-Launchpad-Export-Date: 2013-05-16 05:55+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: account_voucher
#: field:account.bank.statement.line,voucher_id:0
@ -526,7 +526,7 @@ msgstr "Weet u zeker dat u het afletteren van deze regel wilt afbreken?"
#. module: account_voucher
#: view:account.voucher:0
msgid "Sales Receipt"
msgstr "Verkoopbon"
msgstr "Betaalbewijs"
#. module: account_voucher
#: field:account.voucher,is_multi_currency:0

View File

@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:37+0000\n"
"PO-Revision-Date: 2013-05-02 10:18+0000\n"
"Last-Translator: Ediz Duman <neps1192@gmail.com>\n"
"PO-Revision-Date: 2013-05-17 11:53+0000\n"
"Last-Translator: Ayhan KIZILTAN <Unknown>\n"
"Language-Team: Turkish <tr@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-05-03 06:29+0000\n"
"X-Generator: Launchpad (build 16598)\n"
"X-Launchpad-Export-Date: 2013-05-19 06:12+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: audittrail
#: view:audittrail.log:0
@ -295,6 +295,8 @@ msgid ""
"There is already a rule defined on this object\n"
" You cannot define another: please edit the existing one."
msgstr ""
"Bu objeye zaten bir kural tanımlanmış\n"
" Başka bir tane tanımlayamazsınız: lütfen varolanı düzenleyin."
#. module: audittrail
#: field:audittrail.rule,log_unlink:0

View File

@ -0,0 +1,37 @@
# Thai translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:38+0000\n"
"PO-Revision-Date: 2013-05-15 07:10+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Thai <th@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-05-16 05:55+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: contacts
#: model:ir.actions.act_window,help:contacts.action_contacts
msgid ""
"<p class=\"oe_view_nocontent_create\">\n"
" Click to add a contact in your address book.\n"
" </p><p>\n"
" OpenERP helps you easily track all activities related to\n"
" a customer; discussions, history of business opportunities,\n"
" documents, etc.\n"
" </p>\n"
" "
msgstr ""
#. module: contacts
#: model:ir.actions.act_window,name:contacts.action_contacts
#: model:ir.ui.menu,name:contacts.menu_contacts
msgid "Contacts"
msgstr ""

1927
addons/fleet/i18n/hu.po Normal file

File diff suppressed because it is too large Load Diff

View File

@ -503,8 +503,11 @@ class hr_job(osv.osv):
def _auto_init(self, cr, context=None):
"""Installation hook to create aliases for all jobs and avoid constraint errors."""
self.pool.get('mail.alias').migrate_to_alias(cr, self._name, self._table, super(hr_job,self)._auto_init,
self._columns['alias_id'], 'name', alias_prefix='job+', alias_defaults={'job_id': 'id'}, context=context)
if context is None:
context = {}
alias_context = dict(context, alias_model_name='hr.applicant')
self.pool.get('mail.alias').migrate_to_alias(cr, self._name, self._table, super(hr_job, self)._auto_init,
self._columns['alias_id'], 'name', alias_prefix='job+', alias_defaults={'job_id': 'id'}, context=alias_context)
def create(self, cr, uid, vals, context=None):
mail_alias = self.pool.get('mail.alias')

View File

@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:37+0000\n"
"PO-Revision-Date: 2012-12-21 23:00+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"PO-Revision-Date: 2013-05-18 23:46+0000\n"
"Last-Translator: AhnJD <zion64@zeiv.dsmynas.com>\n"
"Language-Team: Korean <ko@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-03-28 05:43+0000\n"
"X-Generator: Launchpad (build 16546)\n"
"X-Launchpad-Export-Date: 2013-05-19 06:12+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: hr_timesheet_sheet
#: field:hr.analytic.timesheet,sheet_id:0
@ -28,13 +28,13 @@ msgstr "시트"
#. module: hr_timesheet_sheet
#: model:process.transition,name:hr_timesheet_sheet.process_transition_timesheetdraft0
msgid "Service"
msgstr ""
msgstr "서비스"
#. module: hr_timesheet_sheet
#: field:hr.timesheet.report,quantity:0
#: field:timesheet.report,quantity:0
msgid "Time"
msgstr ""
msgstr "시간"
#. module: hr_timesheet_sheet
#: help:hr.config.settings,timesheet_max_difference:0
@ -43,6 +43,9 @@ msgid ""
" computation for one sheet. Set this to 0 if you do not want "
"any control."
msgstr ""
"Allowed difference in hours between the sign in/out and the timesheet\n"
" computation for one sheet. Set this to 0 if you do not want "
"any control."
#. module: hr_timesheet_sheet
#: view:hr.timesheet.report:0
@ -62,12 +65,12 @@ msgstr "총 참석"
#: view:timesheet.report:0
#: field:timesheet.report,department_id:0
msgid "Department"
msgstr ""
msgstr "부서"
#. module: hr_timesheet_sheet
#: model:process.transition,name:hr_timesheet_sheet.process_transition_tasktimesheet0
msgid "Task timesheet"
msgstr ""
msgstr "태스크 타임시트"
#. module: hr_timesheet_sheet
#: code:addons/hr_timesheet_sheet/hr_timesheet_sheet.py:73
@ -82,7 +85,7 @@ msgstr ""
#: selection:hr.timesheet.report,month:0
#: selection:timesheet.report,month:0
msgid "March"
msgstr ""
msgstr "3월"
#. module: hr_timesheet_sheet
#: view:timesheet.report:0
@ -93,7 +96,7 @@ msgstr ""
#. module: hr_timesheet_sheet
#: field:hr_timesheet_sheet.sheet,message_unread:0
msgid "Unread Messages"
msgstr ""
msgstr "읽지 않은 메시지"
#. module: hr_timesheet_sheet
#: view:hr.timesheet.report:0
@ -102,7 +105,7 @@ msgstr ""
#: view:timesheet.report:0
#: field:timesheet.report,company_id:0
msgid "Company"
msgstr ""
msgstr "회사"
#. module: hr_timesheet_sheet
#: view:hr.timesheet.report:0
@ -123,7 +126,7 @@ msgstr "초안으로 설정"
#. module: hr_timesheet_sheet
#: view:hr_timesheet_sheet.sheet:0
msgid "Timesheet Period"
msgstr ""
msgstr "타임시트 기록기간"
#. module: hr_timesheet_sheet
#: field:hr_timesheet_sheet.sheet,date_to:0
@ -146,7 +149,7 @@ msgstr ""
#: code:addons/hr_timesheet_sheet/hr_timesheet_sheet.py:397
#, python-format
msgid "You cannot modify an entry in a confirmed timesheet."
msgstr ""
msgstr "확정된 타임시트에 있는 엔트리를 수정할 수 없습니다."
#. module: hr_timesheet_sheet
#: view:hr.timesheet.report:0
@ -167,17 +170,17 @@ msgstr "검증"
#. module: hr_timesheet_sheet
#: selection:hr_timesheet_sheet.sheet,state:0
msgid "Approved"
msgstr ""
msgstr "승인됨"
#. module: hr_timesheet_sheet
#: selection:hr_timesheet_sheet.sheet,state_attendance:0
msgid "Present"
msgstr ""
msgstr "출근"
#. module: hr_timesheet_sheet
#: view:hr.timesheet.report:0
msgid "Total Cost"
msgstr ""
msgstr "총 원가"
#. module: hr_timesheet_sheet
#: view:hr_timesheet_sheet.sheet:0
@ -189,7 +192,7 @@ msgstr "거부"
#: view:hr_timesheet_sheet.sheet:0
#: model:ir.actions.act_window,name:hr_timesheet_sheet.act_hr_timesheet_sheet_sheet_2_hr_analytic_timesheet
msgid "Timesheet Activities"
msgstr ""
msgstr "타임시트 액티비티"
#. module: hr_timesheet_sheet
#: code:addons/hr_timesheet_sheet/wizard/hr_timesheet_current.py:38
@ -225,7 +228,7 @@ msgstr ""
#. module: hr_timesheet_sheet
#: field:hr_timesheet_sheet.sheet,message_ids:0
msgid "Messages"
msgstr ""
msgstr "메세지"
#. module: hr_timesheet_sheet
#: help:hr_timesheet_sheet.sheet,state:0
@ -251,7 +254,7 @@ msgstr ""
#: code:addons/hr_timesheet_sheet/wizard/hr_timesheet_current.py:38
#, python-format
msgid "Error!"
msgstr ""
msgstr "오류!"
#. module: hr_timesheet_sheet
#: field:hr.config.settings,timesheet_max_difference:0
@ -270,22 +273,22 @@ msgstr ""
#: model:ir.actions.act_window,name:hr_timesheet_sheet.action_timesheet_report_stat_all
#: model:ir.ui.menu,name:hr_timesheet_sheet.menu_timesheet_report_all
msgid "Timesheet Sheet Analysis"
msgstr ""
msgstr "타임시트 분석"
#. module: hr_timesheet_sheet
#: field:hr_timesheet_sheet.sheet.account,name:0
msgid "Project / Analytic Account"
msgstr ""
msgstr "프로젝트 / 관리회계"
#. module: hr_timesheet_sheet
#: model:process.transition,name:hr_timesheet_sheet.process_transition_validatetimesheet0
msgid "Validation"
msgstr ""
msgstr "확인"
#. module: hr_timesheet_sheet
#: help:hr_timesheet_sheet.sheet,message_unread:0
msgid "If checked new messages require your attention."
msgstr ""
msgstr "체크할 경우, 새로운 메시지를 주목할 필요가 있습니다."
#. module: hr_timesheet_sheet
#: code:addons/hr_timesheet_sheet/hr_timesheet_sheet.py:69
@ -306,7 +309,7 @@ msgstr ""
#: code:addons/hr_timesheet_sheet/hr_timesheet_sheet.py:215
#, python-format
msgid "Invalid Action!"
msgstr ""
msgstr "유효하지 않은 액션!"
#. module: hr_timesheet_sheet
#: view:hr.timesheet.report:0
@ -369,17 +372,17 @@ msgstr "일정 라인"
#. module: hr_timesheet_sheet
#: field:hr_timesheet_sheet.sheet,message_follower_ids:0
msgid "Followers"
msgstr ""
msgstr "담당자"
#. module: hr_timesheet_sheet
#: model:process.node,note:hr_timesheet_sheet.process_node_confirmedtimesheet0
msgid "State is 'confirmed'."
msgstr ""
msgstr "확정 상태입니다."
#. module: hr_timesheet_sheet
#: field:hr_timesheet_sheet.sheet,employee_id:0
msgid "Employee"
msgstr ""
msgstr "직원"
#. module: hr_timesheet_sheet
#: selection:hr_timesheet_sheet.sheet,state:0
@ -407,7 +410,7 @@ msgstr ""
#: view:hr.timesheet.report:0
#: view:hr_timesheet_sheet.sheet:0
msgid "Hours"
msgstr ""
msgstr "시간"
#. module: hr_timesheet_sheet
#: view:hr.timesheet.report:0
@ -418,13 +421,13 @@ msgstr ""
#. module: hr_timesheet_sheet
#: model:process.transition,note:hr_timesheet_sheet.process_transition_validatetimesheet0
msgid "The project manager validates the timesheets."
msgstr ""
msgstr "프로젝트관리자가 타임시트를 확인합니다."
#. module: hr_timesheet_sheet
#: selection:hr.timesheet.report,month:0
#: selection:timesheet.report,month:0
msgid "July"
msgstr ""
msgstr "7월"
#. module: hr_timesheet_sheet
#: field:hr.config.settings,timesheet_range:0
@ -436,7 +439,7 @@ msgstr ""
#: code:addons/hr_timesheet_sheet/hr_timesheet_sheet.py:86
#, python-format
msgid "Configuration Error!"
msgstr ""
msgstr "설정 오류!"
#. module: hr_timesheet_sheet
#: field:hr_timesheet_sheet.sheet,state:0
@ -453,7 +456,7 @@ msgstr ""
#. module: hr_timesheet_sheet
#: selection:hr_timesheet_sheet.sheet,state:0
msgid "Waiting Approval"
msgstr ""
msgstr "승인 대기 중"
#. module: hr_timesheet_sheet
#: view:timesheet.report:0
@ -494,19 +497,19 @@ msgstr ""
msgid ""
"In order to create a timesheet for this employee, you must link the employee "
"to a product, like 'Consultant'."
msgstr ""
msgstr "이 직원을 위한 타임시트를 생성하기 위해 직원을 제품에 연계(예, 컨설턴트)시켜야 합니다."
#. module: hr_timesheet_sheet
#: selection:hr.timesheet.report,month:0
#: selection:timesheet.report,month:0
msgid "September"
msgstr ""
msgstr "9월"
#. module: hr_timesheet_sheet
#: selection:hr.timesheet.report,month:0
#: selection:timesheet.report,month:0
msgid "December"
msgstr ""
msgstr "12월"
#. module: hr_timesheet_sheet
#: view:hr.timesheet.current.open:0
@ -532,7 +535,7 @@ msgstr ""
#. module: hr_timesheet_sheet
#: view:hr_timesheet_sheet.sheet:0
msgid "In Draft"
msgstr ""
msgstr "초안 상태"
#. module: hr_timesheet_sheet
#: model:process.transition,name:hr_timesheet_sheet.process_transition_attendancetimesheet0

234
addons/idea/i18n/zh_HK.po Normal file
View File

@ -0,0 +1,234 @@
# Chinese (Hong Kong) translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:38+0000\n"
"PO-Revision-Date: 2013-05-17 14:45+0000\n"
"Last-Translator: des <reneson.des@gmail.com>\n"
"Language-Team: Chinese (Hong Kong) <zh_HK@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-05-19 06:12+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: idea
#: view:idea.category:0
#: view:idea.idea:0
msgid "Category"
msgstr "類別"
#. module: idea
#: view:idea.idea:0
msgid "In Progress"
msgstr "進行中"
#. module: idea
#: view:idea.idea:0
msgid "By States"
msgstr ""
#. module: idea
#: sql_constraint:idea.category:0
msgid "The name of the category must be unique"
msgstr ""
#. module: idea
#: view:idea.idea:0
msgid "By Idea Category"
msgstr ""
#. module: idea
#: model:ir.model,name:idea.model_idea_category
msgid "Idea Category"
msgstr ""
#. module: idea
#: view:idea.idea:0
msgid "Open Ideas"
msgstr ""
#. module: idea
#: view:idea.idea:0
msgid "Group By..."
msgstr ""
#. module: idea
#: field:idea.category,name:0
msgid "Category Name"
msgstr "類別名稱"
#. module: idea
#: view:idea.idea:0
#: selection:idea.idea,state:0
msgid "New"
msgstr "新建"
#. module: idea
#: view:idea.idea:0
msgid "New Ideas"
msgstr ""
#. module: idea
#: view:idea.idea:0
#: field:idea.idea,state:0
msgid "Status"
msgstr ""
#. module: idea
#: sql_constraint:idea.idea:0
msgid "The name of the idea must be unique"
msgstr ""
#. module: idea
#: view:idea.idea:0
msgid "Accepted Ideas"
msgstr ""
#. module: idea
#: field:idea.idea,category_ids:0
msgid "Tags"
msgstr ""
#. module: idea
#: field:idea.idea,message_unread:0
msgid "Unread Messages"
msgstr ""
#. module: idea
#: help:idea.idea,message_ids:0
msgid "Messages and communication history"
msgstr ""
#. module: idea
#: field:idea.idea,message_is_follower:0
msgid "Is a Follower"
msgstr ""
#. module: idea
#: model:ir.model,name:idea.model_idea_idea
msgid "Email Thread"
msgstr ""
#. module: idea
#: view:idea.idea:0
#: selection:idea.idea,state:0
msgid "Accepted"
msgstr ""
#. module: idea
#: model:ir.actions.act_window,name:idea.action_idea_category
#: model:ir.ui.menu,name:idea.menu_idea_category
msgid "Categories"
msgstr ""
#. module: idea
#: view:idea.idea:0
msgid "Refuse"
msgstr ""
#. module: idea
#: field:idea.idea,message_ids:0
msgid "Messages"
msgstr ""
#. module: idea
#: view:idea.idea:0
#: model:ir.actions.act_window,name:idea.action_idea_idea
#: model:ir.ui.menu,name:idea.menu_idea_idea
#: model:ir.ui.menu,name:idea.menu_ideas
msgid "Ideas"
msgstr ""
#. module: idea
#: field:idea.idea,name:0
msgid "Idea Summary"
msgstr ""
#. module: idea
#: view:idea.category:0
msgid "Category of ideas"
msgstr ""
#. module: idea
#: field:idea.idea,message_summary:0
msgid "Summary"
msgstr ""
#. module: idea
#: help:idea.idea,message_unread:0
msgid "If checked new messages require your attention."
msgstr ""
#. module: idea
#: field:idea.idea,description:0
msgid "Description"
msgstr ""
#. module: idea
#: selection:idea.idea,state:0
msgid "Refused"
msgstr ""
#. module: idea
#: view:idea.idea:0
#: field:idea.idea,create_uid:0
msgid "Creator"
msgstr ""
#. module: idea
#: view:idea.idea:0
msgid "Open"
msgstr ""
#. module: idea
#: view:idea.idea:0
msgid "Idea"
msgstr ""
#. module: idea
#: view:idea.idea:0
msgid "Accept"
msgstr ""
#. module: idea
#: help:idea.idea,message_summary:0
msgid ""
"Holds the Chatter summary (number of messages, ...). This summary is "
"directly in html format in order to be inserted in kanban views."
msgstr ""
#. module: idea
#: selection:idea.idea,state:0
msgid "Done"
msgstr ""
#. module: idea
#: view:idea.idea:0
msgid "By Creators"
msgstr ""
#. module: idea
#: field:idea.idea,message_follower_ids:0
msgid "Followers"
msgstr ""
#. module: idea
#: view:idea.category:0
msgid "Category of Ideas"
msgstr ""
#. module: idea
#: view:idea.category:0
msgid "Ideas Categories"
msgstr ""
#. module: idea
#: help:idea.idea,description:0
msgid "Content of the idea"
msgstr ""

View File

@ -4,57 +4,60 @@
# OpenERP, Open Source Management Solution
# Copyright (c) 2008-2010 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved.
# Jordi Esteve <jesteve@zikzakmedia.com>
# Copyright (c) 2012-2013, Grupo OPENTIA (<http://opentia.com>) Registered EU Trademark.
# Dpto. Consultoría <consultoria@opentia.es>
# Copyright (c) 2013 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
# Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com>
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'Spanish - Accounting (PGCE 2008)',
'version': '3.0',
'author': 'Spanish Localization Team',
'website': 'https://launchpad.net/openerp-spain',
'category': 'Localization/Account Charts',
'description': """
"name" : "Spanish Charts of Accounts (PGCE 2008)",
"version" : "3.0",
"author" : "Spanish Localization Team",
'website' : 'https://launchpad.net/openerp-spain',
"category" : "Localization/Account Charts",
"description": """
Spanish Charts of Accounts (PGCE 2008).
=======================================
* Defines the following chart of account templates:
* Spanish General Chart of Accounts 2008
* Spanish General Chart of Accounts 2008 for small and medium companies
* Spanish General Chart of Accounts 2008 for associations
* Defines templates for sale and purchase VAT
* Defines tax code templates
**Note:** You should install the l10n_ES_account_balance_report module for yearly
account reporting (balance, profit & losses).
""",
'license': 'GPL-3',
'depends': ['account', 'base_vat', 'base_iban'],
'data': [
'account_chart.xml',
'taxes_data.xml',
'fiscal_templates.xml',
'account_chart_pymes.xml',
'taxes_data_pymes.xml',
'fiscal_templates_pymes.xml',
'l10n_es_wizard.xml'
"license" : "AGPL-3",
"depends" : ["account", "base_vat", "base_iban"],
"data" : [
"account_chart.xml",
"taxes_data.xml",
"fiscal_templates.xml",
"account_chart_pymes.xml",
"taxes_data_pymes.xml",
"fiscal_templates_pymes.xml",
"account_chart_assoc.xml",
"taxes_data_assoc.xml",
"fiscal_templates_assoc.xml",
"l10n_es_wizard.xml",
],
'demo': [],
"demo" : [],
'auto_install': False,
'installable': True,
"installable": True,
'images': ['images/config_chart_l10n_es.jpeg','images/l10n_es_chart.jpeg'],
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<data noupdate="0">
<!-- Tipos de cuenta para PGCE y PGCE PYMES -->
@ -2722,7 +2722,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_281"/>
<field name="type">view</field>
<field name="name">Amortización acumulada de otras instaciones</field>
<field name="name">Amortización acumulada de otras instalaciones</field>
<field name="user_type" ref="inmo"/>
</record>
<record id="pgc_2815_child" model="account.account.template">
@ -2730,7 +2730,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_2815"/>
<field name="type">other</field>
<field name="name">Amortización acumulada de otras instaciones</field>
<field name="name">Amortización acumulada de otras instalaciones</field>
<field name="user_type" ref="inmo"/>
</record>
<record id="pgc_2816" model="account.account.template">
@ -4743,7 +4743,7 @@
</record>
<record id="pgc_460_child" model="account.account.template">
<field name="code">460</field>
<field name="reconcile" eval="False"/>
<field name="reconcile" eval="True"/>
<field name="parent_id" ref="pgc_460"/>
<field name="type">other</field>
<field name="name">Anticipos de remuneraciones</field>
@ -4759,7 +4759,7 @@
</record>
<record id="pgc_465_child" model="account.account.template">
<field name="code">465</field>
<field name="reconcile" eval="False"/>
<field name="reconcile" eval="True"/>
<field name="parent_id" ref="pgc_465"/>
<field name="type">other</field>
<field name="name">Remuneraciones pendientes de pago</field>
@ -4775,7 +4775,7 @@
</record>
<record id="pgc_466_child" model="account.account.template">
<field name="code">466</field>
<field name="reconcile" eval="False"/>
<field name="reconcile" eval="True"/>
<field name="parent_id" ref="pgc_466"/>
<field name="type">other</field>
<field name="name">Remuneraciones mediante sistemas de aportación definida pendientes de pago</field>
@ -4805,8 +4805,8 @@
<field name="name">Hacienda Pública, deudora por IVA</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_4700_child" model="account.account.template">
<field name="code">4700</field>
<record id="pgc_470000" model="account.account.template">
<field name="code">470000</field>
<field name="reconcile" eval="True"/>
<field name="parent_id" ref="pgc_4700"/>
<field name="type">receivable</field>
@ -4869,6 +4869,14 @@
<field name="name">Hacienda Pública, IVA soportado</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_472000" model="account.account.template">
<field name="code">472000</field>
<field name="reconcile" eval="True"/>
<field name="parent_id" ref="pgc_472"/>
<field name="type">other</field>
<field name="name">Hacienda Pública. IVA soportado</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_473" model="account.account.template">
<field name="code">473</field>
<field name="reconcile" eval="False"/>
@ -4877,6 +4885,14 @@
<field name="name">Hacienda Pública, retenciones y pagos a cuenta</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_473000" model="account.account.template">
<field name="code">473000</field>
<field name="reconcile" eval="True"/>
<field name="parent_id" ref="pgc_473"/>
<field name="type">other</field>
<field name="name">Hacienda Pública, retenciones y pagos a cuenta</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_474" model="account.account.template">
<field name="code">474</field>
<field name="reconcile" eval="False"/>
@ -4949,8 +4965,8 @@
<field name="name">Hacienda Pública, acreedora por IVA</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_4750_child" model="account.account.template">
<field name="code">4750</field>
<record id="pgc_475000" model="account.account.template">
<field name="code">475000</field>
<field name="reconcile" eval="True"/>
<field name="parent_id" ref="pgc_4750"/>
<field name="type">payable</field>
@ -4965,8 +4981,8 @@
<field name="name">Hacienda Pública, acreedora por retenciones practicadas</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_4751_child" model="account.account.template">
<field name="code">4751</field>
<record id="pgc_475100" model="account.account.template">
<field name="code">475100</field>
<field name="reconcile" eval="True"/>
<field name="parent_id" ref="pgc_4751"/>
<field name="type">payable</field>
@ -5029,6 +5045,14 @@
<field name="name">Hacienda Pública, IVA repercutido</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_477000" model="account.account.template">
<field name="code">477000</field>
<field name="reconcile" eval="True"/>
<field name="parent_id" ref="pgc_477"/>
<field name="type">other</field>
<field name="name">Hacienda Pública. IVA repercutido</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_479" model="account.account.template">
<field name="code">479</field>
<field name="reconcile" eval="False"/>
@ -8722,7 +8746,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_66"/>
<field name="type">view</field>
<field name="name">Ingresos de créditos a largo plazo</field>
<field name="name">Intereses de deudas</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_6620" model="account.account.template">
@ -8730,7 +8754,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_662"/>
<field name="type">view</field>
<field name="name">Ingresos de créditos a largo plazo, empresas del grupo</field>
<field name="name">Intereses de deudas, empresas del grupo</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_6620_child" model="account.account.template">
@ -8738,7 +8762,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_6620"/>
<field name="type">other</field>
<field name="name">Ingresos de créditos a largo plazo, empresas del grupo</field>
<field name="name">Intereses de deudas, empresas del grupo</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_6621" model="account.account.template">
@ -8746,7 +8770,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_662"/>
<field name="type">view</field>
<field name="name">Ingresos de créditos a largo plazo, empresas asociadas</field>
<field name="name">Intereses de deudas, empresas asociadas</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_6621_child" model="account.account.template">
@ -8754,7 +8778,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_6621"/>
<field name="type">other</field>
<field name="name">Ingresos de créditos a largo plazo, empresas asociadas</field>
<field name="name">Intereses de deudas, empresas asociadas</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_6622" model="account.account.template">
@ -8762,7 +8786,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_662"/>
<field name="type">view</field>
<field name="name">Ingresos de créditos a largo plazo, otras partes vinculadas</field>
<field name="name">Intereses de deudas, otras partes vinculadas</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_6622_child" model="account.account.template">
@ -8770,7 +8794,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_6622"/>
<field name="type">other</field>
<field name="name">Ingresos de créditos a largo plazo, otras partes vinculadas</field>
<field name="name">Intereses de deudas, otras partes vinculadas</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_6623" model="account.account.template">
@ -8778,7 +8802,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_662"/>
<field name="type">view</field>
<field name="name">Ingresos de créditos a largo plazo con entidades de crédito</field>
<field name="name">Intereses de deudas con entidades de crédito</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_6623_child" model="account.account.template">
@ -8786,7 +8810,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_6623"/>
<field name="type">other</field>
<field name="name">Ingresos de créditos a largo plazo con entidades de crédito</field>
<field name="name">Intereses de deudas con entidades de crédito</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_6624" model="account.account.template">
@ -8794,7 +8818,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_662"/>
<field name="type">view</field>
<field name="name">Ingresos de créditos a largo plazo, otras empresas</field>
<field name="name">Intereses de deudas, otras empresas</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_6624_child" model="account.account.template">
@ -8802,7 +8826,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_6624"/>
<field name="type">other</field>
<field name="name">Ingresos de créditos a largo plazo, otras empresas</field>
<field name="name">Intereses de deudas, otras empresas</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_663" model="account.account.template">

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<data noupdate="0">
<!--
Plantilla del árbol de cuentas del Plan General Contable PYMES 2008.
@ -11,23 +11,23 @@
como base para los siguientes cambios:
- Se eliminan las cuentas:
(111), (1110), (1111), (1143), (115), (133), (134), (1340), (1341),
(111), (1110), (1111), (1143), (115), (133), (134), (1340), (1341),
(135), (136), (140), (146), (147), (1765), (1768), (178), (189),
(204), (2550), (2553), (257),
(466),
(501), (5091), (5290), (5296), (5297), (553), (5530), (5531),
(204), (2550), (2553), (257),
(466),
(501), (5091), (5290), (5296), (5297), (553), (5530), (5531),
(5532), (5533), (5593), (5598), (569), (58), (580), (581),
(582), (583), (584), (585), (586), (587), (588), (589),
(599), (5990), (5991), (5992), (5993), (5994),
(643), (643), (644), (645), (644), (6440), (6442), (645), (6450),
(643), (643), (644), (645), (644), (6440), (6442), (645), (6450),
(6457), (6630), (6631), (6632), (6633),
(7630), (7631), (7632), (7633), (767), (774), (7950), (7956), (7957);
el grupo 8 entero;
el grupo 9 entero.
(7630), (7631), (7632), (7633), (767), (774), (7950), (7956), (7957);
el grupo 8 entero;
el grupo 9 entero.
- Cambian de nombre las cuentas:
(2935), (296), (5935), (596), (7962), (7963)
(2935), (296), (5935), (596), (7962), (7963)
- Se crean las cuentas:
(5590), (5595), (663), (763)
(5590), (5595), (663), (763)
Otros cambios:
@ -2357,7 +2357,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_pymes_281"/>
<field name="type">view</field>
<field name="name">Amortización acumulada de otras instaciones</field>
<field name="name">Amortización acumulada de otras instalaciones</field>
<field name="user_type" ref="inmo"/>
</record>
<record id="pgc_pymes_2815_child" model="account.account.template">
@ -2365,7 +2365,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_pymes_2815"/>
<field name="type">other</field>
<field name="name">Amortización acumulada de otras instaciones</field>
<field name="name">Amortización acumulada de otras instalaciones</field>
<field name="user_type" ref="inmo"/>
</record>
<record id="pgc_pymes_2816" model="account.account.template">
@ -4410,7 +4410,7 @@
</record>
<record id="pgc_pymes_460_child" model="account.account.template">
<field name="code">460</field>
<field name="reconcile" eval="False"/>
<field name="reconcile" eval="True"/>
<field name="parent_id" ref="pgc_pymes_460"/>
<field name="type">other</field>
<field name="name">Anticipos de remuneraciones</field>
@ -4426,7 +4426,7 @@
</record>
<record id="pgc_pymes_465_child" model="account.account.template">
<field name="code">465</field>
<field name="reconcile" eval="False"/>
<field name="reconcile" eval="True"/>
<field name="parent_id" ref="pgc_pymes_465"/>
<field name="type">other</field>
<field name="name">Remuneraciones pendientes de pago</field>
@ -4456,8 +4456,8 @@
<field name="name">Hacienda Pública, deudora por IVA</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_pymes_4700_child" model="account.account.template">
<field name="code">4700</field>
<record id="pgc_pymes_470000" model="account.account.template">
<field name="code">470000</field>
<field name="reconcile" eval="True"/>
<field name="parent_id" ref="pgc_pymes_4700"/>
<field name="type">receivable</field>
@ -4520,6 +4520,14 @@
<field name="name">Hacienda Pública, IVA soportado</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_pymes_472000" model="account.account.template">
<field name="code">472000</field>
<field name="reconcile" eval="True"/>
<field name="parent_id" ref="pgc_472"/>
<field name="type">other</field>
<field name="name">Hacienda Pública. IVA soportado</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_pymes_473" model="account.account.template">
<field name="code">473</field>
<field name="reconcile" eval="False"/>
@ -4600,8 +4608,8 @@
<field name="name">Hacienda Pública, acreedora por IVA</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_pymes_4750_child" model="account.account.template">
<field name="code">4750</field>
<record id="pgc_pymes_475000" model="account.account.template">
<field name="code">475000</field>
<field name="reconcile" eval="True"/>
<field name="parent_id" ref="pgc_pymes_4750"/>
<field name="type">payable</field>
@ -4680,6 +4688,14 @@
<field name="name">Hacienda Pública, IVA repercutido</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_pymes_477000" model="account.account.template">
<field name="code">477000</field>
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_pymes_477"/>
<field name="type">other</field>
<field name="name">Hacienda Pública, IVA repercutido</field>
<field name="user_type" ref="tax"/>
</record>
<record id="pgc_pymes_479" model="account.account.template">
<field name="code">479</field>
<field name="reconcile" eval="False"/>
@ -7869,7 +7885,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_pymes_66"/>
<field name="type">view</field>
<field name="name">Ingresos de créditos a largo plazo</field>
<field name="name">Intereses de deudas</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_pymes_6620" model="account.account.template">
@ -7877,7 +7893,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_pymes_662"/>
<field name="type">view</field>
<field name="name">Ingresos de créditos a largo plazo, empresas del grupo</field>
<field name="name">Intereses de deudas, empresas del grupo</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_pymes_6620_child" model="account.account.template">
@ -7885,7 +7901,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_pymes_6620"/>
<field name="type">other</field>
<field name="name">Ingresos de créditos a largo plazo, empresas del grupo</field>
<field name="name">Intereses de deudas, empresas del grupo</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_pymes_6621" model="account.account.template">
@ -7893,7 +7909,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_pymes_662"/>
<field name="type">view</field>
<field name="name">Ingresos de créditos a largo plazo, empresas asociadas</field>
<field name="name">Intereses de deudas, empresas asociadas</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_pymes_6621_child" model="account.account.template">
@ -7901,7 +7917,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_pymes_6621"/>
<field name="type">other</field>
<field name="name">Ingresos de créditos a largo plazo, empresas asociadas</field>
<field name="name">Intereses de deudas, empresas asociadas</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_pymes_6622" model="account.account.template">
@ -7909,7 +7925,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_pymes_662"/>
<field name="type">view</field>
<field name="name">Ingresos de créditos a largo plazo, otras partes vinculadas</field>
<field name="name">Intereses de deudas, otras partes vinculadas</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_pymes_6622_child" model="account.account.template">
@ -7917,7 +7933,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_pymes_6622"/>
<field name="type">other</field>
<field name="name">Ingresos de créditos a largo plazo, otras partes vinculadas</field>
<field name="name">Intereses de deudas, otras partes vinculadas</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_pymes_6623" model="account.account.template">
@ -7925,7 +7941,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_pymes_662"/>
<field name="type">view</field>
<field name="name">Ingresos de créditos a largo plazo con entidades de crédito</field>
<field name="name">Intereses de deudas con entidades de crédito</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_pymes_6623_child" model="account.account.template">
@ -7933,7 +7949,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_pymes_6623"/>
<field name="type">other</field>
<field name="name">Ingresos de créditos a largo plazo con entidades de crédito</field>
<field name="name">Intereses de deudas con entidades de crédito</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_pymes_6624" model="account.account.template">
@ -7941,7 +7957,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_pymes_662"/>
<field name="type">view</field>
<field name="name">Ingresos de créditos a largo plazo, otras empresas</field>
<field name="name">Intereses de deudas, otras empresas</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_pymes_6624_child" model="account.account.template">
@ -7949,7 +7965,7 @@
<field name="reconcile" eval="False"/>
<field name="parent_id" ref="pgc_pymes_6624"/>
<field name="type">other</field>
<field name="name">Ingresos de créditos a largo plazo, otras empresas</field>
<field name="name">Intereses de deudas, otras empresas</field>
<field name="user_type" ref="gastos"/>
</record>
<record id="pgc_pymes_663" model="account.account.template">

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

0
addons/l10n_vn/__init__.py Executable file → Normal file
View File

0
addons/l10n_vn/__openerp__.py Executable file → Normal file
View File

View File

@ -134,7 +134,7 @@ class mail_alias(osv.Model):
return new_name
def migrate_to_alias(self, cr, child_model_name, child_table_name, child_model_auto_init_fct,
alias_id_column, alias_key, alias_prefix = '', alias_force_key = '', alias_defaults = {}, context=None):
alias_id_column, alias_key, alias_prefix='', alias_force_key='', alias_defaults={}, context=None):
""" Installation hook to create aliases for all users and avoid constraint errors.
:param child_model_name: model name of the child class (i.e. res.users)
@ -149,8 +149,10 @@ class mail_alias(osv.Model):
:param alias_defaults: dict, keys = mail.alias columns, values = child
model column name used for default values (i.e. {'job_id': 'id'})
"""
if context is None:
context = {}
# disable the unique alias_id not null constraint, to avoid spurious warning during
# disable the unique alias_id not null constraint, to avoid spurious warning during
# super.auto_init. We'll reinstall it afterwards.
alias_id_column.required = False
@ -160,14 +162,14 @@ class mail_alias(osv.Model):
registry = RegistryManager.get(cr.dbname)
mail_alias = registry.get('mail.alias')
child_class_model = registry.get(child_model_name)
no_alias_ids = child_class_model.search(cr, SUPERUSER_ID, [('alias_id', '=', False)], context={'active_test':False})
no_alias_ids = child_class_model.search(cr, SUPERUSER_ID, [('alias_id', '=', False)], context={'active_test': False})
# Use read() not browse(), to avoid prefetching uninitialized inherited fields
for obj_data in child_class_model.read(cr, SUPERUSER_ID, no_alias_ids, [alias_key]):
alias_vals = {'alias_name': '%s%s' % (alias_prefix, obj_data[alias_key]) }
alias_vals = {'alias_name': '%s%s' % (alias_prefix, obj_data[alias_key])}
if alias_force_key:
alias_vals['alias_force_thread_id'] = obj_data[alias_force_key]
alias_vals['alias_defaults'] = dict( (k, obj_data[v]) for k, v in alias_defaults.iteritems())
alias_id = mail_alias.create_unique_alias(cr, SUPERUSER_ID, alias_vals, model_name=child_model_name)
alias_vals['alias_defaults'] = dict((k, obj_data[v]) for k, v in alias_defaults.iteritems())
alias_id = mail_alias.create_unique_alias(cr, SUPERUSER_ID, alias_vals, model_name=context.get('alias_model_name', child_model_name))
child_class_model.write(cr, SUPERUSER_ID, obj_data['id'], {'alias_id': alias_id})
_logger.info('Mail alias created for %s %s (uid %s)', child_model_name, obj_data[alias_key], obj_data['id'])

View File

@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:37+0000\n"
"PO-Revision-Date: 2013-04-13 23:32+0000\n"
"Last-Translator: Ayhan KIZILTAN <Unknown>\n"
"PO-Revision-Date: 2013-05-18 07:31+0000\n"
"Last-Translator: Oktay Altunergil <Unknown>\n"
"Language-Team: Turkish <tr@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-04-14 05:50+0000\n"
"X-Generator: Launchpad (build 16564)\n"
"X-Launchpad-Export-Date: 2013-05-19 06:12+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: mrp
#: help:mrp.config.settings,module_mrp_repair:0
@ -1181,7 +1181,7 @@ msgstr "Son"
#. module: mrp
#: model:process.node,name:mrp.process_node_servicemts0
msgid "Make to stock"
msgstr "Stoktan Al"
msgstr "Stoğa Üretim"
#. module: mrp
#: report:bom.structure:0
@ -1496,7 +1496,7 @@ msgstr "Her üretim işlemi için emniyet günleri."
#: model:process.transition,name:mrp.process_transition_servicemts0
#: model:process.transition,name:mrp.process_transition_stockmts0
msgid "Make to Stock"
msgstr "Stoktan Al"
msgstr "Stoğa Üretim"
#. module: mrp
#: constraint:mrp.production:0

View File

@ -204,8 +204,8 @@ function openerp_pos_db(instance, module){
this.packagings_by_product_id[pack.product_id[0]] = [];
}
this.packagings_by_product_id[pack.product_id[0]].push(pack);
if(pack.ean13){
this.packagings_by_ean13[pack.ean13] = pack;
if(pack.ean){
this.packagings_by_ean13[pack.ean] = pack;
}
}
},

View File

@ -35,11 +35,35 @@
<record model="ir.ui.view" id="portal_hr_kanban_view_employees">
<field name="name">HR - Employess Kanban</field>
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.hr_kanban_view_employees"/>
<field name="arch" type="xml">
<xpath expr="//div[@class='oe_employee_details']" position="inside">
<t t-if="record.public_info.raw_value"><field name="public_info"/></t>
</xpath>
<kanban>
<field name="last_login"/>
<templates>
<t t-name="kanban-box">
<div class="oe_employee_vignette">
<div class="oe_employee_image">
<a type="open"><img t-att-src="kanban_image('hr.employee', 'image_medium', record.id.value)" class="oe_employee_picture"/></a>
</div>
<div class="oe_employee_details">
<h4>
<a type="open"><field name="name"/></a>
</h4>
<ul>
<li t-if="record.job_id.raw_value"><field name="job_id"/></li>
<li t-if="record.work_location.raw_value"><field name="work_location"/></li>
<li t-if="record.work_phone.raw_value">Tel: <field name="work_phone"/></li>
<li t-if="record.mobile_phone.raw_value">Mobile: <field name="mobile_phone"/></li>
<li t-if="record.work_email.raw_value"><a t-attf-href="mailto:#{record.work_email.value}"><field name="work_email"/></a></li>
<li t-if="record.public_info.raw_value"><field name="public_info"/></li>
</ul>
</div>
</div>
<script>
$('.oe_employee_picture').load(function() { if($(this).width() > $(this).height()) { $(this).addClass('oe_employee_picture_wide') } });
</script>
</t>
</templates>
</kanban>
</field>
</record>

2153
addons/project/i18n/th.po Normal file

File diff suppressed because it is too large Load Diff

View File

@ -198,8 +198,12 @@ class project(osv.osv):
return res
def _task_count(self, cr, uid, ids, field_name, arg, context=None):
if context is None:
context = {}
res = dict.fromkeys(ids, 0)
task_ids = self.pool.get('project.task').search(cr, uid, [('project_id', 'in', ids)])
ctx = context.copy()
ctx['active_test'] = False
task_ids = self.pool.get('project.task').search(cr, uid, [('project_id', 'in', ids)], context=ctx)
for task in self.pool.get('project.task').browse(cr, uid, task_ids, context):
res[task.project_id.id] += 1
return res

View File

@ -50,7 +50,7 @@
<field name="name">Tasks</field>
<field name="res_model">project.task</field>
<field name="view_mode">kanban,tree,form,calendar,gantt,graph</field>
<field name="context">{'search_default_project_id': [active_id], 'default_project_id': active_id}</field>
<field name="context">{'search_default_project_id': [active_id], 'default_project_id': active_id, 'active_test': False}</field>
<field name="search_view_id" ref="view_task_search_form"/>
<field name="help" type="html">
<p class="oe_view_nocontent_create">

View File

@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:37+0000\n"
"PO-Revision-Date: 2013-05-12 19:29+0000\n"
"PO-Revision-Date: 2013-05-17 11:07+0000\n"
"Last-Translator: Erwin van der Ploeg (Endian Solutions) <Unknown>\n"
"Language-Team: Dutch <nl@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-05-13 06:46+0000\n"
"X-Generator: Launchpad (build 16614)\n"
"X-Launchpad-Export-Date: 2013-05-19 06:12+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: project_issue
#: model:project.category,name:project_issue.project_issue_category_03
@ -28,7 +28,7 @@ msgid ""
"Allows you to configure your incoming mail server, and create issues from "
"incoming emails."
msgstr ""
"Geeft u de mogelijkheid om een inkomende mailserver re configureren, en "
"Geeft u de mogelijkheid om een inkomende mailserver te configureren, en "
"issues aan te maken van inkomende e-mails."
#. module: project_issue

View File

@ -29,6 +29,12 @@ class sale_order(osv.osv):
domain="['|',('section_id','=',section_id),('section_id','=',False), ('object_id.model', '=', 'crm.lead')]")
}
def _prepare_invoice(self, cr, uid, order, lines, context=None):
invoice_vals = super(sale_order, self)._prepare_invoice(cr, uid, order, lines, context=context)
if order.section_id and order.section_id.id:
invoice_vals['section_id'] = order.section_id.id
return invoice_vals
class res_users(osv.Model):
_inherit = 'res.users'

View File

@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:39+0000\n"
"PO-Revision-Date: 2013-02-11 14:04+0000\n"
"Last-Translator: WANTELLET Sylvain <Swantellet@tetra-info.com>\n"
"PO-Revision-Date: 2013-05-18 15:46+0000\n"
"Last-Translator: Quentin THEURET <Unknown>\n"
"Language-Team: French <fr@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-03-28 06:01+0000\n"
"X-Generator: Launchpad (build 16546)\n"
"X-Launchpad-Export-Date: 2013-05-19 06:12+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: sale_stock
#: help:sale.config.settings,group_invoice_deli_orders:0
@ -76,7 +76,7 @@ msgstr "Valider"
#. module: sale_stock
#: view:sale.order:0
msgid "Cancel Order"
msgstr ""
msgstr "Annuler la commande"
#. module: sale_stock
#: code:addons/sale_stock/sale_stock.py:207
@ -172,7 +172,7 @@ msgstr "Odre d'approvisionnement"
#. module: sale_stock
#: model:ir.actions.act_window,name:sale_stock.res_partner_rule_children
msgid "Contact Details"
msgstr ""
msgstr "Détails du contact"
#. module: sale_stock
#: selection:sale.config.settings,default_order_policy:0

View File

@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:37+0000\n"
"PO-Revision-Date: 2013-04-21 21:56+0000\n"
"Last-Translator: Iyasu Beraki <iberaki@elegosoft.com>\n"
"PO-Revision-Date: 2013-05-20 10:50+0000\n"
"Last-Translator: Ferdinand @ Camptocamp <Unknown>\n"
"Language-Team: German <de@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-04-23 06:10+0000\n"
"X-Generator: Launchpad (build 16580)\n"
"X-Launchpad-Export-Date: 2013-05-21 05:44+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: stock
#: field:stock.inventory.line.split,line_exist_ids:0
@ -2909,7 +2909,7 @@ msgstr "Erstellen"
#. module: stock
#: field:stock.change.product.qty,new_quantity:0
msgid "New Quantity on Hand"
msgstr "Physikalischer Bestand"
msgstr "tatsächlicher Bestand"
#. module: stock
#: field:stock.move,priority:0
@ -3006,7 +3006,7 @@ msgstr "Eingegebene Menge"
#. module: stock
#: view:product.product:0
msgid "On hand:"
msgstr "Physikalischer Bestand"
msgstr "tatsächlicher Bestand"
#. module: stock
#: model:ir.model,name:stock.model_stock_report_prodlots
@ -3676,7 +3676,7 @@ msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" Klicken Sie zur Erstellung einer neuen Inventur. \n"
" </p><p>\n"
" Inventuren müssen erstellt werden, um den physikalischen "
" Inventuren müssen erstellt werden, um den tatsächlichen "
"Bestand zu zählen, zu\n"
" messen oder zu wiegen. Um den Bestand bei Bedarf "
"anzupassen, \n"
@ -3832,7 +3832,7 @@ msgstr ""
" </p><p>\n"
"Definieren Sie Ihre Lagerorte, um die Struktur Ihres Lagers und Ihrer "
"individuellen Lagerorte abzubilden.\n"
"OpenERP kann dabei physikalische Standorte definieren (Lager, Regale, "
"OpenERP kann dabei tatsächliche Standorte definieren (Lager, Regale, "
"Kasten), Partner Lagerorte definieren (Kunden, Lieferanten) und virtuelle "
"Lagerorte als Gegenpart von Lagerbuchungen für Fertigungsaufträge, "
"Beschaffungsdisposition, Inventur etc. benutzen. \n"
@ -5283,7 +5283,7 @@ msgstr "Jahr"
#. module: stock
#: model:stock.location,name:stock.stock_location_locations
msgid "Physical Locations"
msgstr "Physikalische Lagerorte"
msgstr "tatsächliche Lagerorte"
#. module: stock
#: view:stock.picking.in:0

View File

@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:39+0000\n"
"PO-Revision-Date: 2013-01-08 09:43+0000\n"
"Last-Translator: Numérigraphe <Unknown>\n"
"PO-Revision-Date: 2013-05-18 15:34+0000\n"
"Last-Translator: Quentin THEURET <Unknown>\n"
"Language-Team: French <fr@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-03-28 06:04+0000\n"
"X-Generator: Launchpad (build 16546)\n"
"X-Launchpad-Export-Date: 2013-05-19 06:12+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: survey
#: view:survey.response.line:0
@ -1102,7 +1102,7 @@ msgstr "Zones de textes multiples de type différent"
#. module: survey
#: view:survey.name.wiz:0
msgid "Add Description"
msgstr ""
msgstr "Ajouter une description"
#. module: survey
#: model:survey.type,name:survey.survey_type2

215
addons/warning/i18n/th.po Normal file
View File

@ -0,0 +1,215 @@
# Thai translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-03-07 08:39+0000\n"
"PO-Revision-Date: 2013-05-15 07:12+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Thai <th@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-05-16 05:55+0000\n"
"X-Generator: Launchpad (build 16626)\n"
#. module: warning
#: model:ir.model,name:warning.model_purchase_order_line
#: field:product.product,purchase_line_warn:0
msgid "Purchase Order Line"
msgstr ""
#. module: warning
#: model:ir.model,name:warning.model_stock_picking_in
msgid "Incoming Shipments"
msgstr ""
#. module: warning
#: field:product.product,purchase_line_warn_msg:0
msgid "Message for Purchase Order Line"
msgstr ""
#. module: warning
#: model:ir.model,name:warning.model_stock_picking
msgid "Picking List"
msgstr ""
#. module: warning
#: view:product.product:0
msgid "Warning when Purchasing this Product"
msgstr ""
#. module: warning
#: model:ir.model,name:warning.model_product_product
msgid "Product"
msgstr ""
#. module: warning
#: view:product.product:0
#: view:res.partner:0
msgid "Warnings"
msgstr ""
#. module: warning
#: selection:product.product,purchase_line_warn:0
#: selection:product.product,sale_line_warn:0
#: selection:res.partner,invoice_warn:0
#: selection:res.partner,picking_warn:0
#: selection:res.partner,purchase_warn:0
#: selection:res.partner,sale_warn:0
msgid "Blocking Message"
msgstr ""
#. module: warning
#: view:res.partner:0
msgid "Warning on the Invoice"
msgstr ""
#. module: warning
#: selection:product.product,purchase_line_warn:0
#: selection:product.product,sale_line_warn:0
#: selection:res.partner,invoice_warn:0
#: selection:res.partner,picking_warn:0
#: selection:res.partner,purchase_warn:0
#: selection:res.partner,sale_warn:0
msgid "No Message"
msgstr ""
#. module: warning
#: model:ir.model,name:warning.model_account_invoice
#: field:res.partner,invoice_warn:0
msgid "Invoice"
msgstr ""
#. module: warning
#: view:product.product:0
msgid "Warning when Selling this Product"
msgstr ""
#. module: warning
#: field:res.partner,picking_warn:0
msgid "Stock Picking"
msgstr ""
#. module: warning
#: model:ir.model,name:warning.model_purchase_order
#: field:res.partner,purchase_warn:0
msgid "Purchase Order"
msgstr ""
#. module: warning
#: field:res.partner,purchase_warn_msg:0
msgid "Message for Purchase Order"
msgstr ""
#. module: warning
#: code:addons/warning/warning.py:32
#: help:product.product,purchase_line_warn:0
#: help:product.product,sale_line_warn:0
#: help:res.partner,invoice_warn:0
#: help:res.partner,picking_warn:0
#: help:res.partner,purchase_warn:0
#: help:res.partner,sale_warn:0
#, python-format
msgid ""
"Selecting the \"Warning\" option will notify user with the message, "
"Selecting \"Blocking Message\" will throw an exception with the message and "
"block the flow. The Message has to be written in the next field."
msgstr ""
#. module: warning
#: code:addons/warning/warning.py:67
#: code:addons/warning/warning.py:96
#: code:addons/warning/warning.py:130
#: code:addons/warning/warning.py:162
#: code:addons/warning/warning.py:192
#: code:addons/warning/warning.py:218
#: code:addons/warning/warning.py:266
#: code:addons/warning/warning.py:299
#, python-format
msgid "Alert for %s !"
msgstr ""
#. module: warning
#: view:res.partner:0
msgid "Warning on the Sales Order"
msgstr ""
#. module: warning
#: field:res.partner,invoice_warn_msg:0
msgid "Message for Invoice"
msgstr ""
#. module: warning
#: field:res.partner,sale_warn_msg:0
msgid "Message for Sales Order"
msgstr ""
#. module: warning
#: view:res.partner:0
msgid "Warning on the Picking"
msgstr ""
#. module: warning
#: view:res.partner:0
msgid "Warning on the Purchase Order"
msgstr ""
#. module: warning
#: code:addons/warning/warning.py:68
#: code:addons/warning/warning.py:97
#: code:addons/warning/warning.py:132
#: code:addons/warning/warning.py:163
#: code:addons/warning/warning.py:193
#: code:addons/warning/warning.py:219
#: code:addons/warning/warning.py:267
#: code:addons/warning/warning.py:300
#, python-format
msgid "Warning for %s"
msgstr ""
#. module: warning
#: field:product.product,sale_line_warn_msg:0
msgid "Message for Sales Order Line"
msgstr ""
#. module: warning
#: selection:product.product,purchase_line_warn:0
#: selection:product.product,sale_line_warn:0
#: selection:res.partner,invoice_warn:0
#: selection:res.partner,picking_warn:0
#: selection:res.partner,purchase_warn:0
#: selection:res.partner,sale_warn:0
msgid "Warning"
msgstr ""
#. module: warning
#: field:res.partner,picking_warn_msg:0
msgid "Message for Stock Picking"
msgstr ""
#. module: warning
#: model:ir.model,name:warning.model_res_partner
msgid "Partner"
msgstr ""
#. module: warning
#: model:ir.model,name:warning.model_sale_order
#: field:res.partner,sale_warn:0
msgid "Sales Order"
msgstr ""
#. module: warning
#: model:ir.model,name:warning.model_stock_picking_out
msgid "Delivery Orders"
msgstr ""
#. module: warning
#: model:ir.model,name:warning.model_sale_order_line
#: field:product.product,sale_line_warn:0
msgid "Sales Order Line"
msgstr ""