diff --git a/addons/account/account_installer.xml b/addons/account/account_installer.xml index b35b37aa972..230078c4e33 100644 --- a/addons/account/account_installer.xml +++ b/addons/account/account_installer.xml @@ -28,7 +28,8 @@ - + + diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py index 8f873065014..e100e174498 100644 --- a/addons/account/account_invoice.py +++ b/addons/account/account_invoice.py @@ -306,9 +306,9 @@ class account_invoice(osv.osv): view_id = view_id[0] res = super(account_invoice,self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu) - type = context.get('journal_type', 'sale') + type = context.get('journal_type', False) for field in res['fields']: - if field == 'journal_id': + if field == 'journal_id' and type: journal_select = journal_obj._name_search(cr, uid, '', [('type', '=', type)], context=context, limit=None, name_get_uid=1) res['fields'][field]['selection'] = journal_select @@ -1559,6 +1559,7 @@ class account_invoice_tax(osv.osv): 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, inv.address_invoice_id.id, line.product_id, inv.partner_id)['taxes']: + tax['price_unit'] = cur_obj.round(cr, uid, cur, tax['price_unit']) val={} val['invoice_id'] = inv.id val['name'] = tax['name'] diff --git a/addons/account/configurable_account_chart.xml b/addons/account/configurable_account_chart.xml index bca024793fd..0ac7a51405d 100644 --- a/addons/account/configurable_account_chart.xml +++ b/addons/account/configurable_account_chart.xml @@ -199,15 +199,15 @@ - 111 + 12 Current Liabilities - + view - 1111 + 120 Creditors payable @@ -216,7 +216,7 @@ - 1112 + 121 Tax Received other @@ -224,7 +224,7 @@ - 1113 + 122 Reserve and Profit/Loss Account other @@ -233,7 +233,7 @@ - 1114 + 123 Opening Expense Account other diff --git a/addons/account/i18n/ar.po b/addons/account/i18n/ar.po index baac2ec03d0..54a4ed3c9e8 100644 --- a/addons/account/i18n/ar.po +++ b/addons/account/i18n/ar.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:07+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:41+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -266,7 +266,7 @@ msgstr "" #: code:addons/account/invoice.py:1210 #, python-format msgid "Invoice '%s' is paid partially: %s%s of %s%s (%s%s remaining)" -msgstr "" +msgstr "فاتورة '%s' ستدفع علي الأجزاء التالية: %s%s of %s%s (%s%s المتبقي)" #. module: account #: model:process.transition,note:account.process_transition_supplierentriesreconcile0 @@ -664,7 +664,7 @@ msgstr "" #. module: account #: field:account.fiscalyear.close,period_id:0 msgid "Opening Entries Period" -msgstr "" +msgstr "فترة قيود إفتتاحية" #. module: account #: model:ir.model,name:account.model_account_journal_period @@ -1325,7 +1325,7 @@ msgstr "لا يمكنك إستخدام هذا الحساب العام في هذ #: report:pl.account:0 #: report:pl.account.horizontal:0 msgid "With balance is not equal to 0" -msgstr "" +msgstr "برصيد لا يساوي صفر" #. module: account #: view:account.tax:0 diff --git a/addons/account/i18n/bg.po b/addons/account/i18n/bg.po index 02a76796cdc..b6f703a02cb 100644 --- a/addons/account/i18n/bg.po +++ b/addons/account/i18n/bg.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:08+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:41+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/br.po b/addons/account/i18n/br.po index 7a4a57ec008..b6732915bcf 100644 --- a/addons/account/i18n/br.po +++ b/addons/account/i18n/br.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:07+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:41+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/bs.po b/addons/account/i18n/bs.po index 1f170b6df90..31f8d5e5ff7 100644 --- a/addons/account/i18n/bs.po +++ b/addons/account/i18n/bs.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:07+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:41+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/ca.po b/addons/account/i18n/ca.po index 2b465073f48..989d6033466 100644 --- a/addons/account/i18n/ca.po +++ b/addons/account/i18n/ca.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-08-17 22:28+0000\n" -"Last-Translator: mgaja (GrupoIsep.com) \n" +"PO-Revision-Date: 2011-11-07 13:03+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:08+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:41+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -11762,6 +11762,9 @@ msgstr "Passiu" #~ msgid "Invoice " #~ msgstr "Factura " +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Balanç de situació (comptes d'actiu)" + #, python-format #~ msgid "is validated." #~ msgstr "està validada." diff --git a/addons/account/i18n/cs.po b/addons/account/i18n/cs.po index 5f780150272..240bbf5c248 100644 --- a/addons/account/i18n/cs.po +++ b/addons/account/i18n/cs.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-09-16 08:47+0000\n" +"PO-Revision-Date: 2011-11-07 12:46+0000\n" "Last-Translator: Jiří Hajda \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:08+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:41+0000\n" "X-Generator: Launchpad (build 14231)\n" "X-Poedit-Language: Czech\n" @@ -10150,5 +10150,8 @@ msgstr "" #~ msgid "The statement balance is incorrect !\n" #~ msgstr "Nesprávný zůstatek výpisu!\n" +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Rozvaha (Majetkové účty)" + #~ msgid "Chart of Account" #~ msgstr "Účtový rozvrh" diff --git a/addons/account/i18n/da.po b/addons/account/i18n/da.po index 61e2b5d9e6b..64893f3533f 100644 --- a/addons/account/i18n/da.po +++ b/addons/account/i18n/da.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-11-01 21:03+0000\n" +"PO-Revision-Date: 2011-11-08 11:58+0000\n" "Last-Translator: OpenERP Danmark / Mikhael Saxtorph \n" "Language-Team: Danish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:08+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-11-10 04:57+0000\n" +"X-Generator: Launchpad (build 14263)\n" #. module: account #: model:process.transition,name:account.process_transition_supplierreconcilepaid0 @@ -2439,7 +2439,7 @@ msgstr "Bankafstemning" #. module: account #: report:account.invoice:0 msgid "Disc.(%)" -msgstr "" +msgstr "Rabatprocent" #. module: account #: report:account.general.ledger:0 @@ -2744,6 +2744,8 @@ msgid "" "Set if the amount of tax must be included in the base amount before " "computing the next taxes." msgstr "" +"Vælg: Hvis afgiftsbeløbet, skal indgå i beregningsgrundlaget for beregning " +"af de følgende afgifter" #. module: account #: help:account.journal,user_id:0 @@ -4789,7 +4791,7 @@ msgstr "" #. module: account #: report:account.partner.balance:0 msgid "(Account/Partner) Name" -msgstr "" +msgstr "(Konto / Kontakt) Navn" #. module: account #: view:account.bank.statement:0 @@ -7125,7 +7127,7 @@ msgstr "" #. module: account #: field:account.tax.code,sum_period:0 msgid "Period Sum" -msgstr "" +msgstr "Periode sum" #. module: account #: help:account.tax,sequence:0 @@ -7257,7 +7259,7 @@ msgstr "" #: field:account.subscription,state:0 #: field:report.invoice.created,state:0 msgid "State" -msgstr "Stat" +msgstr "Tilstand" #. module: account #: help:account.open.closed.fiscalyear,fyear_id:0 diff --git a/addons/account/i18n/de.po b/addons/account/i18n/de.po index 7337ae8a538..d1939efaf5f 100644 --- a/addons/account/i18n/de.po +++ b/addons/account/i18n/de.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-07-02 08:42+0000\n" -"Last-Translator: Ferdinand @ Camptocamp \n" +"PO-Revision-Date: 2011-11-07 13:03+0000\n" +"Last-Translator: Ferdinand-camptocamp \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:09+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:42+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -11735,6 +11735,9 @@ msgstr "Verbindlichkeiten" #~ msgid "Invoice " #~ msgstr "Rechnung " +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Bilanz (Vermögen)" + #~ msgid "Invalid model name in the action definition." #~ msgstr "Ungültiger Modulname in der Aktionsdefinition." diff --git a/addons/account/i18n/el.po b/addons/account/i18n/el.po index 5f7a3b0f11f..db972ab2e5f 100644 --- a/addons/account/i18n/el.po +++ b/addons/account/i18n/el.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:09+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:42+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/en_GB.po b/addons/account/i18n/en_GB.po index 0cff5a4a0ff..16761252d6c 100644 --- a/addons/account/i18n/en_GB.po +++ b/addons/account/i18n/en_GB.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:14+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:48+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -4398,7 +4398,7 @@ msgstr "" #. module: account #: selection:account.account.type,report_type:0 -msgid "Balance Sheet (Assets Accounts)" +msgid "Balance Sheet (Asset Accounts)" msgstr "" #. module: account diff --git a/addons/account/i18n/en_US.po b/addons/account/i18n/en_US.po index cc6f498b293..5b1abbe4cd1 100644 --- a/addons/account/i18n/en_US.po +++ b/addons/account/i18n/en_US.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:14+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:47+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/es.po b/addons/account/i18n/es.po index 9fdf65ca0e4..3d9d0cb6d31 100644 --- a/addons/account/i18n/es.po +++ b/addons/account/i18n/es.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-08-17 23:12+0000\n" -"Last-Translator: mgaja (GrupoIsep.com) \n" +"PO-Revision-Date: 2011-11-07 12:53+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:12+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:46+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -11766,6 +11766,9 @@ msgstr "Pasivos" #~ msgid "Invoice " #~ msgstr "Factura " +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Balance de situación (cuentas de activos)" + #, python-format #~ msgid "is validated." #~ msgstr "está validada." diff --git a/addons/account/i18n/es_AR.po b/addons/account/i18n/es_AR.po index e9c2d3c08c4..0c50fa3431b 100644 --- a/addons/account/i18n/es_AR.po +++ b/addons/account/i18n/es_AR.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:14+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:48+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/es_CL.po b/addons/account/i18n/es_CL.po index db81b258070..4d8ae4b0df0 100644 --- a/addons/account/i18n/es_CL.po +++ b/addons/account/i18n/es_CL.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:14+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:48+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -4364,7 +4364,7 @@ msgstr "" #. module: account #: selection:account.account.type,report_type:0 -msgid "Balance Sheet (Assets Accounts)" +msgid "Balance Sheet (Asset Accounts)" msgstr "" #. module: account diff --git a/addons/account/i18n/es_EC.po b/addons/account/i18n/es_EC.po index b33d191c2bc..ea7fead4f0e 100644 --- a/addons/account/i18n/es_EC.po +++ b/addons/account/i18n/es_EC.po @@ -16,7 +16,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:15+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:48+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -4580,7 +4580,7 @@ msgstr "Detalle de asientos Contables" #. module: account #: selection:account.account.type,report_type:0 msgid "Balance Sheet (Asset Accounts)" -msgstr "Hoja de Balance (Cuentas de Activo)" +msgstr "" #. module: account #: report:account.tax.code.entries:0 @@ -11610,6 +11610,9 @@ msgstr "Pasivos" #~ msgid "Invoice " #~ msgstr "Factura " +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Hoja de Balance (Cuentas de Activo)" + #~ msgid "Chart of Account" #~ msgstr "Plan de Cuentas" diff --git a/addons/account/i18n/es_PY.po b/addons/account/i18n/es_PY.po index cf9e549f8ce..7e625ea038b 100644 --- a/addons/account/i18n/es_PY.po +++ b/addons/account/i18n/es_PY.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:15+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:49+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -4598,8 +4598,8 @@ msgstr "Registros del diario" #. module: account #: selection:account.account.type,report_type:0 -msgid "Balance Sheet (Assets Accounts)" -msgstr "Balance de situación (cuentas de activos)" +msgid "Balance Sheet (Asset Accounts)" +msgstr "" #. module: account #: report:account.tax.code.entries:0 @@ -10401,6 +10401,9 @@ msgstr "" #~ msgid "Invoice " #~ msgstr "Factura " +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Balance de situación (cuentas de activos)" + #, python-format #~ msgid "is validated." #~ msgstr "está validada." diff --git a/addons/account/i18n/et.po b/addons/account/i18n/et.po index aad25b9de20..31516e79afc 100644 --- a/addons/account/i18n/et.po +++ b/addons/account/i18n/et.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:08+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:42+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/eu.po b/addons/account/i18n/eu.po index 17e1b5e2478..e8a27c45eb2 100644 --- a/addons/account/i18n/eu.po +++ b/addons/account/i18n/eu.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:07+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:41+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/fa.po b/addons/account/i18n/fa.po index 7c45244c7fa..fe4ea4f52f7 100644 --- a/addons/account/i18n/fa.po +++ b/addons/account/i18n/fa.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:11+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:44+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/fa_AF.po b/addons/account/i18n/fa_AF.po index a9f720c8193..204473e7f50 100644 --- a/addons/account/i18n/fa_AF.po +++ b/addons/account/i18n/fa_AF.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:15+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:49+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -4361,7 +4361,7 @@ msgstr "" #. module: account #: selection:account.account.type,report_type:0 -msgid "Balance Sheet (Assets Accounts)" +msgid "Balance Sheet (Asset Accounts)" msgstr "" #. module: account diff --git a/addons/account/i18n/fi.po b/addons/account/i18n/fi.po index b596cc24779..1d425787f6d 100644 --- a/addons/account/i18n/fi.po +++ b/addons/account/i18n/fi.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-01-18 09:18+0000\n" -"Last-Translator: Pekka Pylvänäinen \n" +"PO-Revision-Date: 2011-11-07 12:56+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: Finnish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:08+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:42+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -11159,6 +11159,9 @@ msgstr "Vastuut" #~ msgid "Balance:" #~ msgstr "Saldo:" +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Tase (omaisuustilit)" + #, python-format #~ msgid "is validated." #~ msgstr "on tarkistettu." diff --git a/addons/account/i18n/fr.po b/addons/account/i18n/fr.po index d24f145b9e7..4129c9cd735 100644 --- a/addons/account/i18n/fr.po +++ b/addons/account/i18n/fr.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-09-16 09:10+0000\n" -"Last-Translator: Olivier Dony (OpenERP) \n" +"PO-Revision-Date: 2011-11-07 12:53+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:09+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:42+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -11744,6 +11744,9 @@ msgstr "Passif" #~ "The expected balance (%.2f) is different than the computed one. (%.2f)" #~ msgstr "Le solde affiché (%.2f) est différent du solde calculé. (%.2f)" +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Bilan (comptes d'actif)" + #~ msgid "Chart of Account" #~ msgstr "Plan comptable" diff --git a/addons/account/i18n/fr_BE.po b/addons/account/i18n/fr_BE.po index 143db252a23..f902b492437 100644 --- a/addons/account/i18n/fr_BE.po +++ b/addons/account/i18n/fr_BE.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:14+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:47+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/gl.po b/addons/account/i18n/gl.po index e10d48dd10f..adba5d19687 100644 --- a/addons/account/i18n/gl.po +++ b/addons/account/i18n/gl.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-04-27 15:37+0000\n" -"Last-Translator: Xosé \n" +"PO-Revision-Date: 2011-11-07 12:52+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: Galician \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:09+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:42+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -10079,6 +10079,9 @@ msgstr "" #~ msgid "Invoice " #~ msgstr "Factura " +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Balance de situación (contas de activos)" + #, python-format #~ msgid "is validated." #~ msgstr "está validada." diff --git a/addons/account/i18n/gu.po b/addons/account/i18n/gu.po index b03bfe6b7ee..2110a95d7f9 100644 --- a/addons/account/i18n/gu.po +++ b/addons/account/i18n/gu.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:09+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:43+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/he.po b/addons/account/i18n/he.po index 8caabde1673..2ff59ed17c6 100644 --- a/addons/account/i18n/he.po +++ b/addons/account/i18n/he.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:09+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:43+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/hi.po b/addons/account/i18n/hi.po index b1c439ef657..db02dad0ab5 100644 --- a/addons/account/i18n/hi.po +++ b/addons/account/i18n/hi.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:09+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:43+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/hr.po b/addons/account/i18n/hr.po index ee4842b188f..034e5e7de0f 100644 --- a/addons/account/i18n/hr.po +++ b/addons/account/i18n/hr.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-01-17 06:59+0000\n" +"PO-Revision-Date: 2011-11-07 12:52+0000\n" "Last-Translator: Goran Kliska \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:12+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:45+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -10902,5 +10902,8 @@ msgstr "" #~ msgid "Invoice " #~ msgstr "Račun " +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Bilanca (konta imovine)" + #~ msgid "Chart of Account" #~ msgstr "Kontni plan" diff --git a/addons/account/i18n/hu.po b/addons/account/i18n/hu.po index fff0f9d55c0..0583e83ba5e 100644 --- a/addons/account/i18n/hu.po +++ b/addons/account/i18n/hu.po @@ -7,14 +7,14 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-03-18 11:11+0000\n" +"PO-Revision-Date: 2011-11-07 12:52+0000\n" "Last-Translator: NOVOTRADE RENDSZERHÁZ ( novotrade.hu ) " "\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:10+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:43+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -10615,6 +10615,9 @@ msgstr "" #~ msgid "Invoice " #~ msgstr "Számla " +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Mérleg (eszköz számlák)" + #, python-format #~ msgid "is validated." #~ msgstr "jóváhagyásra került." diff --git a/addons/account/i18n/id.po b/addons/account/i18n/id.po index bdd2ea1a65b..59de935b5c3 100644 --- a/addons/account/i18n/id.po +++ b/addons/account/i18n/id.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:10+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:43+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/it.po b/addons/account/i18n/it.po index c98787c8263..95b9d8641e9 100644 --- a/addons/account/i18n/it.po +++ b/addons/account/i18n/it.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-04-05 12:13+0000\n" -"Last-Translator: Nicola Riolini - Micronaet \n" +"PO-Revision-Date: 2011-11-07 12:51+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:10+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:43+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -11041,6 +11041,9 @@ msgstr "" #~ msgid "Chart of Account" #~ msgstr "Piano dei conti" +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Bilancio (Attività)" + #~ msgid "Header" #~ msgstr "Intestazione" diff --git a/addons/account/i18n/kab.po b/addons/account/i18n/kab.po index 6a165c1e3f4..930391188d4 100644 --- a/addons/account/i18n/kab.po +++ b/addons/account/i18n/kab.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:10+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:43+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/kk.po b/addons/account/i18n/kk.po index f0784fb2e36..a2ea28fb56d 100644 --- a/addons/account/i18n/kk.po +++ b/addons/account/i18n/kk.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:10+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:43+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -4361,7 +4361,7 @@ msgstr "" #. module: account #: selection:account.account.type,report_type:0 -msgid "Balance Sheet (Assets Accounts)" +msgid "Balance Sheet (Asset Accounts)" msgstr "" #. module: account diff --git a/addons/account/i18n/ko.po b/addons/account/i18n/ko.po index 338eef94b7e..5a2f2856ab9 100644 --- a/addons/account/i18n/ko.po +++ b/addons/account/i18n/ko.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:10+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:44+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/lo.po b/addons/account/i18n/lo.po index 804da13fe16..96bea222d44 100644 --- a/addons/account/i18n/lo.po +++ b/addons/account/i18n/lo.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:10+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:44+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/lt.po b/addons/account/i18n/lt.po index 36e506d3d79..8851d332f62 100644 --- a/addons/account/i18n/lt.po +++ b/addons/account/i18n/lt.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:11+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:44+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/lv.po b/addons/account/i18n/lv.po index b4847723f90..c802a70768e 100644 --- a/addons/account/i18n/lv.po +++ b/addons/account/i18n/lv.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:10+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:44+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/mk.po b/addons/account/i18n/mk.po index 1db0ff18a67..a36c2505229 100644 --- a/addons/account/i18n/mk.po +++ b/addons/account/i18n/mk.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:11+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:44+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -4363,7 +4363,7 @@ msgstr "" #. module: account #: selection:account.account.type,report_type:0 -msgid "Balance Sheet (Assets Accounts)" +msgid "Balance Sheet (Asset Accounts)" msgstr "" #. module: account diff --git a/addons/account/i18n/mn.po b/addons/account/i18n/mn.po index a86e327aee1..e79fe091e1b 100644 --- a/addons/account/i18n/mn.po +++ b/addons/account/i18n/mn.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2010-12-19 10:00+0000\n" +"PO-Revision-Date: 2011-11-07 13:02+0000\n" "Last-Translator: OpenERP Administrators \n" "Language-Team: Mongolian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:11+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:44+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -11151,6 +11151,9 @@ msgstr "" #~ msgid "Invoice " #~ msgstr "Нэхэмжлэл " +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Баланс тайлан (Хөрөнгө)" + #~ msgid "Invalid model name in the action definition." #~ msgstr "Үйлдлийн тодорхойлолтод буруу моделийн нэр байна." diff --git a/addons/account/i18n/nb.po b/addons/account/i18n/nb.po index e02e573a7eb..c3c90c9dcbe 100644 --- a/addons/account/i18n/nb.po +++ b/addons/account/i18n/nb.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-10-13 07:32+0000\n" -"Last-Translator: Rolv Råen (adEgo) \n" +"PO-Revision-Date: 2011-11-07 12:43+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: Norwegian Bokmal \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:11+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:44+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -9843,6 +9843,9 @@ msgstr "" #~ msgid "Invoice " #~ msgstr "Faktura " +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Balanse (Aktivakonti)" + #~ msgid "Chart of Account" #~ msgstr "Kontoplan" diff --git a/addons/account/i18n/nl.po b/addons/account/i18n/nl.po index 404f5a8ea77..0cbf9687cb7 100644 --- a/addons/account/i18n/nl.po +++ b/addons/account/i18n/nl.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-01-18 22:08+0000\n" -"Last-Translator: debaetsr \n" +"PO-Revision-Date: 2011-11-07 12:54+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:08+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:42+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -11406,3 +11406,6 @@ msgstr "" #, python-format #~ msgid "Invoice " #~ msgstr "Factuur " + +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Balans (Actiefrekeningen)" diff --git a/addons/account/i18n/nl_BE.po b/addons/account/i18n/nl_BE.po index d62a1d0c4fd..6e7b65bbbda 100644 --- a/addons/account/i18n/nl_BE.po +++ b/addons/account/i18n/nl_BE.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:15+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:48+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/oc.po b/addons/account/i18n/oc.po index e1d3903bcee..442f4af30ef 100644 --- a/addons/account/i18n/oc.po +++ b/addons/account/i18n/oc.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:11+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:44+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/pl.po b/addons/account/i18n/pl.po index 64ec87643de..b890024372b 100644 --- a/addons/account/i18n/pl.po +++ b/addons/account/i18n/pl.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-01-13 06:21+0000\n" +"PO-Revision-Date: 2011-11-07 12:53+0000\n" "Last-Translator: Grzegorz Grzelak (OpenGLOBE.pl) \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:11+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:45+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -11355,6 +11355,9 @@ msgstr "" #~ msgid "Invoice " #~ msgstr "Faktura " +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Bilans (konta aktywów)" + #, python-format #~ msgid "is validated." #~ msgstr "zostało zatwierdzone." diff --git a/addons/account/i18n/pt.po b/addons/account/i18n/pt.po index e84bf767dc6..5a995f8211b 100644 --- a/addons/account/i18n/pt.po +++ b/addons/account/i18n/pt.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-01-22 00:46+0000\n" -"Last-Translator: Tiago Baptista \n" +"PO-Revision-Date: 2011-11-07 12:42+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:11+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:45+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -11715,3 +11715,6 @@ msgstr "" #~ msgid "" #~ "The expected balance (%.2f) is different than the computed one. (%.2f)" #~ msgstr "O saldo esperado (%.2f) é diferente do calculado. (%.2f)" + +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Balancete (Contas de Activo)" diff --git a/addons/account/i18n/pt_BR.po b/addons/account/i18n/pt_BR.po index d8c83002464..36d85714b06 100644 --- a/addons/account/i18n/pt_BR.po +++ b/addons/account/i18n/pt_BR.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-07-02 18:53+0000\n" -"Last-Translator: Nédio Batista Marques \n" +"PO-Revision-Date: 2011-11-07 12:51+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:14+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:48+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -11659,6 +11659,9 @@ msgstr "" #~ msgid "is validated." #~ msgstr "está validada." +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Planilha de Balanço (Ativos)" + #, python-format #~ msgid "Date not in a defined fiscal year" #~ msgstr "A data não está em um ano fiscal definido" diff --git a/addons/account/i18n/ro.po b/addons/account/i18n/ro.po index 007c0889e36..6d90115440d 100644 --- a/addons/account/i18n/ro.po +++ b/addons/account/i18n/ro.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:12+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:45+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/ru.po b/addons/account/i18n/ru.po index 755868c518b..935177ef07b 100644 --- a/addons/account/i18n/ru.po +++ b/addons/account/i18n/ru.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-06-27 05:16+0000\n" -"Last-Translator: Andrew Yashchuk \n" +"PO-Revision-Date: 2011-11-07 12:58+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:12+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:45+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -10956,6 +10956,9 @@ msgstr "Обязательства" #~ msgid "is validated." #~ msgstr "проверен." +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Баланс (счета активов)" + #~ msgid "Accounting Statement" #~ msgstr "Бухгалтерская ведомость" diff --git a/addons/account/i18n/si.po b/addons/account/i18n/si.po index 17c5062b20c..ba8ecf327e8 100644 --- a/addons/account/i18n/si.po +++ b/addons/account/i18n/si.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:12+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:46+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/sk.po b/addons/account/i18n/sk.po index 3ce7a5a7398..8d08e6776b5 100644 --- a/addons/account/i18n/sk.po +++ b/addons/account/i18n/sk.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:12+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:46+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/sl.po b/addons/account/i18n/sl.po index 15e5ea3f93e..282b716dc63 100644 --- a/addons/account/i18n/sl.po +++ b/addons/account/i18n/sl.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:12+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:46+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/sq.po b/addons/account/i18n/sq.po index fe9ef79f9fb..8176d6350c4 100644 --- a/addons/account/i18n/sq.po +++ b/addons/account/i18n/sq.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:07+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:40+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/sr.po b/addons/account/i18n/sr.po index b0d786a9c48..8545e0c8e3f 100644 --- a/addons/account/i18n/sr.po +++ b/addons/account/i18n/sr.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:12+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:45+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/sr@latin.po b/addons/account/i18n/sr@latin.po index fbba4120bf6..5f65b7f4ce1 100644 --- a/addons/account/i18n/sr@latin.po +++ b/addons/account/i18n/sr@latin.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:15+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:49+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/sv.po b/addons/account/i18n/sv.po index 03f5d86c97a..95adfaa6b15 100644 --- a/addons/account/i18n/sv.po +++ b/addons/account/i18n/sv.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.14\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-01-24 13:10+0000\n" -"Last-Translator: Anders Eriksson, Aspirix AB \n" +"PO-Revision-Date: 2011-11-07 12:47+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:13+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:46+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -11240,6 +11240,9 @@ msgstr "" #~ "The optional quantity expressed by this line, eg: number of product sold. " #~ "The quantity is not a legal requirement but is very usefull for some reports." +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Balansräkning (Tillgångskonton)" + #, python-format #~ msgid "is validated." #~ msgstr "har validerats." diff --git a/addons/account/i18n/ta.po b/addons/account/i18n/ta.po index 3365d043af3..058d1d661c3 100644 --- a/addons/account/i18n/ta.po +++ b/addons/account/i18n/ta.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:13+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:46+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/te.po b/addons/account/i18n/te.po index 79f7e5457b8..29a1c2c2d92 100644 --- a/addons/account/i18n/te.po +++ b/addons/account/i18n/te.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:13+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:46+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/th.po b/addons/account/i18n/th.po index 356c9798096..d074ef0aca9 100644 --- a/addons/account/i18n/th.po +++ b/addons/account/i18n/th.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:13+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:46+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/tlh.po b/addons/account/i18n/tlh.po index 7cd12ad9b5b..ee21cddc1d0 100644 --- a/addons/account/i18n/tlh.po +++ b/addons/account/i18n/tlh.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:13+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:47+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/tr.po b/addons/account/i18n/tr.po index 34b2334ba00..60d193ccb9a 100644 --- a/addons/account/i18n/tr.po +++ b/addons/account/i18n/tr.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-05-20 15:30+0000\n" -"Last-Translator: Ayhan KIZILTAN \n" +"PO-Revision-Date: 2011-11-07 12:52+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:13+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:47+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -11020,6 +11020,9 @@ msgstr "" #~ msgid "Message" #~ msgstr "İleti" +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Balance Sheet (Assets Accounts)" + #, python-format #~ msgid "The opening journal must not have any entry in the new fiscal year !" #~ msgstr "The opening journal must not have any entry in the new fiscal year !" diff --git a/addons/account/i18n/ug.po b/addons/account/i18n/ug.po index 4b06d6db4cf..e7011eaa6fb 100644 --- a/addons/account/i18n/ug.po +++ b/addons/account/i18n/ug.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:13+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:47+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/uk.po b/addons/account/i18n/uk.po index 5a52354a1f9..18548cd6803 100644 --- a/addons/account/i18n/uk.po +++ b/addons/account/i18n/uk.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:13+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:47+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/ur.po b/addons/account/i18n/ur.po index 092372add3d..a855a9b7a26 100644 --- a/addons/account/i18n/ur.po +++ b/addons/account/i18n/ur.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:14+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:47+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/vi.po b/addons/account/i18n/vi.po index e7ea2108f3d..9d5ddd58e92 100644 --- a/addons/account/i18n/vi.po +++ b/addons/account/i18n/vi.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-07-20 09:45+0000\n" -"Last-Translator: lam nhut tien \n" +"PO-Revision-Date: 2011-11-07 12:57+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: Vietnamese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:14+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:47+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -10565,6 +10565,9 @@ msgstr "Tài sản nợ" #~ msgid "Entry encoding" #~ msgstr "Mã hóa bút toán" +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "Bảng cân đối Kế toán (Các Tài khoản Tài sản)" + #, python-format #~ msgid "is validated." #~ msgstr "đã được kiểm tra." diff --git a/addons/account/i18n/zh_CN.po b/addons/account/i18n/zh_CN.po index 1794c70616d..aa7282fe1ac 100644 --- a/addons/account/i18n/zh_CN.po +++ b/addons/account/i18n/zh_CN.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-07-02 15:26+0000\n" +"PO-Revision-Date: 2011-11-07 12:54+0000\n" "Last-Translator: Wei \"oldrev\" Li \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:15+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:48+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account @@ -11130,6 +11130,9 @@ msgstr "负债" #~ msgid "Invoice " #~ msgstr "发票 " +#~ msgid "Balance Sheet (Assets Accounts)" +#~ msgstr "资产负债表(资产科目)" + #~ msgid "Chart of Account" #~ msgstr "科目一览表" diff --git a/addons/account/i18n/zh_HK.po b/addons/account/i18n/zh_HK.po index 59976feba32..7546f4df059 100644 --- a/addons/account/i18n/zh_HK.po +++ b/addons/account/i18n/zh_HK.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:14+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:47+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/i18n/zh_TW.po b/addons/account/i18n/zh_TW.po index 67776bf13df..d23bd13822b 100644 --- a/addons/account/i18n/zh_TW.po +++ b/addons/account/i18n/zh_TW.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:15+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:48+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: account diff --git a/addons/account/installer.py b/addons/account/installer.py index 530ea7ccc6f..6c6d6c41695 100644 --- a/addons/account/installer.py +++ b/addons/account/installer.py @@ -38,7 +38,9 @@ class account_installer(osv.osv_memory): def _get_charts(self, cr, uid, context=None): modules = self.pool.get('ir.module.module') - ids = modules.search(cr, uid, [('name', 'like', 'l10n_')], context=context) + # Looking for the module with the 'Account Charts' category + category_name, category_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'base', 'module_category_localization_account_charts') + ids = modules.search(cr, uid, [('category_id', '=', category_id)], context=context) charts = list( sorted(((m.name, m.shortdesc) for m in modules.browse(cr, uid, ids, context=context)), @@ -59,12 +61,17 @@ class account_installer(osv.osv_memory): 'sale_tax': fields.float('Sale Tax(%)'), 'purchase_tax': fields.float('Purchase Tax(%)'), 'company_id': fields.many2one('res.company', 'Company', required=True), + 'has_default_company' : fields.boolean('Has Default Company', readonly=True), } def _default_company(self, cr, uid, context=None): user = self.pool.get('res.users').browse(cr, uid, uid, context=context) return user.company_id and user.company_id.id or False + def _default_has_default_company(self, cr, uid, context=None): + count = self.pool.get('res.company').search_count(cr, uid, [], context=context) + return bool(count == 1) + _defaults = { 'date_start': lambda *a: time.strftime('%Y-01-01'), 'date_stop': lambda *a: time.strftime('%Y-12-31'), @@ -72,6 +79,7 @@ class account_installer(osv.osv_memory): 'sale_tax': 0.0, 'purchase_tax': 0.0, 'company_id': _default_company, + 'has_default_company': _default_has_default_company, 'charts': 'configurable' } diff --git a/addons/account/project/project_view.xml b/addons/account/project/project_view.xml index ec9ded68a12..b185c8ab10a 100644 --- a/addons/account/project/project_view.xml +++ b/addons/account/project/project_view.xml @@ -44,8 +44,8 @@ - - + + diff --git a/addons/account/report/account_balance.rml b/addons/account/report/account_balance.rml index 7b9bdfa03b3..0c4e633ec15 100644 --- a/addons/account/report/account_balance.rml +++ b/addons/account/report/account_balance.rml @@ -296,7 +296,7 @@ [[ (a['type']<>'view' and setTag('para','para',{'fontName':"Helvetica"})) or removeParentNode('font') ]][[ '..'*(a['level']-1) ]][[ a['name'] ]] [[ (a['type']<>'view' and setTag('para','para',{'fontName':"Helvetica"})) or removeParentNode('font') ]][[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['debit']) ]][[ a['type']<>'view' and removeParentNode('font') ]] [[formatLang(a['debit']) ]] [[ (a['type']<>'view' and setTag('para','para',{'fontName':"Helvetica"})) or removeParentNode('font')]][[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['credit']) ]][[ a['type']<>'view' and removeParentNode('font') ]] [[ formatLang(a['credit']) ]] - [[ (a['type']<>'view' and setTag('para','para',{'fontName':"Helvetica"})) or removeParentNode('font') ]][[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['balance'], currency_obj=company.currency_id) ]][[ a['type']<>'view' and removeParentNode('font') ]] [[ formatLang(a['balance'], currency = company.currency_id) ]] + [[ (a['type']<>'view' and setTag('para','para',{'fontName':"Helvetica"})) or removeParentNode('font') ]][[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['balance'], currency_obj=company.currency_id) ]][[ a['type']<>'view' and removeParentNode('font') ]] [[ formatLang(a['balance'], currency_obj=company.currency_id) ]] diff --git a/addons/account/test/account_bank_statement.yml b/addons/account/test/account_bank_statement.yml index 6b66dd9029c..fc46370ef8b 100644 --- a/addons/account/test/account_bank_statement.yml +++ b/addons/account/test/account_bank_statement.yml @@ -1,5 +1,23 @@ - In order to test Bank Statement feature of account I create a bank statement line and confirm it and check it's move created +- + I select the period and journal for the bank statement +- + !python {model: account.bank.statement}: | + import time + period = self._get_period(cr, uid, {'lang': u'en_US', 'tz': False, 'active_model': 'ir.ui.menu', + 'journal_type': 'bank', 'period_id':time.strftime('%m'), 'active_ids': [ref('menu_bank_statement_tree')], 'active_id': ref('menu_bank_statement_tree')}) + assert period, _('Period has not been selected') + journal = self._default_journal_id(cr, uid, {'lang': u'en_US', 'tz': False, 'active_model': 'ir.ui.menu', + 'journal_type': 'bank', 'period_id': time.strftime('%m'), 'active_ids': [ref('menu_bank_statement_tree')], 'active_id': ref('menu_bank_statement_tree')}) + assert journal, _('Journal has not been selected') +- + I select the date +- + !python {model: account.bank.statement}: | + import time + date = self.onchange_date(cr, uid, [], time.strftime('%Y-%m-%d'), context=None) + assert date, _('Date has not been selected') - I create a bank statement with Opening and Closing balance 0. - @@ -8,29 +26,26 @@ balance_start: 0.0 date: !eval time.strftime('%Y-%m-%d') journal_id: account.bank_journal - name: / - period_id: account.period_10 - line_ids: - - account_id: account.a_recv - amount: 1000.0 - date: !eval time.strftime('%Y-%m-%d') - name: a - partner_id: base.res_partner_4 - sequence: 0.0 - type: general - - I check that Initially bank statement is in the "Draft" state + I create bank statement line - - !assert {model: account.bank.statement, id: account_bank_statement_0}: - - state == 'draft' + !python {model: account.bank.statement.line}: | + partner = self.onchange_partner_id(cr, uid, [], ref('base.res_partner_4'), context=None) + vals = { + 'account_id': partner['value']['account_id'], + 'amount': 1000.0, + 'partner_id': ref('base.res_partner_4'), + 'statement_id': ref('account_bank_statement_0'), + 'name': 'EXT001' + } + vals.update(partner.get('value',{})) + line_id = self.create(cr, uid, vals) + assert line_id, "Account bank statement line has not been created" - I compute bank statement using Compute button - !python {model: account.bank.statement}: | - self.button_dummy(cr, uid, [ref("account_bank_statement_0")], {"lang": "en_US", - "tz": False, "active_model": "ir.ui.menu", "journal_type": "bank", "section_id": - False, "period_id": 10, "active_ids": [ref("account.menu_bank_statement_tree")], - "active_id": ref("account.menu_bank_statement_tree"), }) + self.button_dummy(cr, uid, [ref("account_bank_statement_0")]) - I modify the bank statement and set the Closing Balance. @@ -42,10 +57,7 @@ I confirm the bank statement using Confirm button - !python {model: account.bank.statement}: | - self.button_confirm_bank(cr, uid, [ref("account_bank_statement_0")], {"lang": - "en_US", "tz": False, "active_model": "ir.ui.menu", "journal_type": "bank", - "section_id": False, "period_id": 10, "active_ids": [ref("account.menu_bank_statement_tree")], - "active_id": ref("account.menu_bank_statement_tree"), }) + self.button_confirm_bank(cr, uid, [ref("account_bank_statement_0")]) - I check that bank statement state is now "Closed" - @@ -61,3 +73,11 @@ assert bank_data.move_line_ids, "Move lines not created for bank statement" for line in bank_data.move_line_ids: assert line.move_id.state == 'posted', "Move state is not posted" +- + Then I cancel Bank Statements and verifies that it raises a warning +- + !python {model: account.bank.statement}: | + try: + self.button_cancel(cr, uid, [ref("account_bank_statement_0")]) + except Exception, e: + assert e[0]=='UserError', 'Another exception has been raised!' diff --git a/addons/account/test/account_customer_invoice.yml b/addons/account/test/account_customer_invoice.yml index d14bf6f3cc1..870def153b1 100644 --- a/addons/account/test/account_customer_invoice.yml +++ b/addons/account/test/account_customer_invoice.yml @@ -1,5 +1,34 @@ - In order to test account invoice I create a new customer invoice +- + I will create bank detail +- + !record {model: res.partner.bank, id: res_partner_bank_0}: + state: bank + company_id: base.main_company + partner_id: base.main_partner + acc_number: 123456789 + footer: True + bank: base.res_bank_1 + bank_name: Reserve +- + I select the journal for customer invoice +- + !python {model: account.invoice}: | + journal = self.onchange_journal_id(cr, uid, [], journal_id=ref('account.sales_journal')) +- + I select the partner for customer invoice +- + !python {model: account.invoice}: | + partner = self.onchange_partner_id(cr, uid, [], 'out_invoice', ref('base.res_partner_3'), date_invoice=False, + payment_term=ref('account.account_payment_term_advance'), partner_bank_id=ref('res_partner_bank_0'), company_id=ref('base.main_company')) +- + I select the company for invoice +- + !python {model: account.invoice}: | + company = self.onchange_company_id(cr, uid, [], ref('base.main_company'), False, 'out_invoice', [], ref('base.EUR')) +- + I create a customer invoice - !record {model: account.invoice, id: account_invoice_customer0}: account_id: account.a_recv @@ -8,16 +37,57 @@ company_id: base.main_company currency_id: base.EUR date_invoice: !eval time.strftime('%Y-%m-%d') - invoice_line: - - account_id: account.a_sale - name: '[PC3] Medium PC' - price_unit: 900.0 - quantity: 10.0 - product_id: product.product_product_pc3 - uos_id: product.product_uom_unit + payment_term: account.account_payment_term_advance + partner_bank_id: res_partner_bank_0 journal_id: account.sales_journal partner_id: base.res_partner_3 reference_type: none + name: 'Test Customer Invoice' +- + I select a product for invoice +- + !python {model: account.invoice.line}: | + product = self.product_id_change(cr, uid, [], ref("product.product_product_pc3"), False, qty=10.0, name='[PC3] Medium PC', + type='out_invoice', partner_id=ref('base.res_partner_3'), fposition_id=False, price_unit= 900.0, address_invoice_id=ref('base.res_partner_address_zen'), + currency_id=ref('base.EUR'), context={'lang': u'en_US', 'tz': False, 'type': 'out_invoice'}, company_id=ref('base.main_company')) + line = {} + line.update(product.get('value', {})) + line.update({ + 'quantity': 10.0, + 'invoice_id': ref("account_invoice_customer0"), + }) + invoice_line = self.create(cr, uid, line) +- + I select product Uos +- + !python {model: account.invoice.line}: | + inv_line_id = self.search(cr, uid, [('invoice_id','=',ref('account_invoice_customer0'))]) + uos = self.uos_id_change(cr, uid, inv_line_id, ref("product.product_product_pc3"), ref('product.product_uom_unit'), qty=0, name='[PC3] Medium PC', type='out_invoice', + partner_id=ref('base.res_partner_3'), fposition_id=False, price_unit=False, address_invoice_id=ref('base.res_partner_address_zen'), + currency_id=ref('base.EUR'), context={'lang': u'en_US', 'tz': False, 'type': 'out_invoice'}, company_id=ref('base.main_company')) +- + I select the account for invoice line +- + !python {model: account.invoice.line}: | + inv_line_id = self.search(cr, uid, [('invoice_id','=',ref('account_invoice_customer0'))]) + account = self.onchange_account_id(cr, uid, inv_line_id, False, ref('account.a_sale')) +- + I manually assign tax on invoice +- + !python {model: account.invoice.tax}: | + amt = self.amount_change(cr, uid, [], 50.0, ref('base.EUR'), ref('base.main_company'), False) + base_amt = self.base_change(cr, uid, [], 9000.0, ref('base.EUR'), ref('base.main_company'), False) + invoice_tax_line = { + 'name': 'Test Tax for Customer Invoice', + 'manual': 1, + 'base': base_amt['value']['base_amount'], + 'amount': amt['value']['tax_amount'], + 'account_id': ref('account.ova'), + 'invoice_id': ref("account_invoice_customer0"), + } + tax = self.create(cr, uid, invoice_tax_line) + assert tax, "Tax has not been assigned correctly" + - I check that Initially customer invoice is in the "Draft" state - @@ -54,6 +124,23 @@ !python {model: account.invoice}: | acc_id=self.browse(cr, uid, ref("account_invoice_customer0")) assert acc_id.move_id, "Move not created for open invoice" +- + I pay the Invoice +- + !python {model: account.invoice}: | + import time + pay = self.pay_and_reconcile(cr, uid, [ref('account_invoice_customer0')], + 9050.0, ref('cash'), ref('account.period_10'), + ref('bank_journal'), ref('cash'), + ref('account.period_10'), ref('bank_journal'), + name='Payment for test customer invoice') + assert (pay == True), "Incorrect Payment" +- + I verify that invoice is now in Paid state +- + !python {model: account.invoice}: | + inv = self.browse(cr, uid, ref("account_invoice_customer0")) + assert (inv.state == 'paid'), "Invoice is not in Paid state" - I refund the invoice Using Refund Button - diff --git a/addons/account/wizard/account_fiscalyear_close.py b/addons/account/wizard/account_fiscalyear_close.py index 297911f15f7..d2295b5bbf2 100644 --- a/addons/account/wizard/account_fiscalyear_close.py +++ b/addons/account/wizard/account_fiscalyear_close.py @@ -69,6 +69,9 @@ class account_fiscalyear_close(osv.osv_memory): cr.execute("SELECT id FROM account_period WHERE date_start > (SELECT date_stop FROM account_fiscalyear WHERE id = %s)", (str(fy_id),)) fy2_period_set = ','.join(map(lambda id: str(id[0]), cr.fetchall())) + if not fy_period_set or not fy2_period_set: + raise osv.except_osv(_('UserError'), _('The periods to generate opening entries were not found')) + period = obj_acc_period.browse(cr, uid, data[0].period_id.id, context=context) new_fyear = obj_acc_fiscalyear.browse(cr, uid, data[0].fy2_id.id, context=context) old_fyear = obj_acc_fiscalyear.browse(cr, uid, fy_id, context=context) @@ -108,10 +111,10 @@ class account_fiscalyear_close(osv.osv_memory): #1. report of the accounts with defferal method == 'unreconciled' cr.execute(''' - SELECT a.id + SELECT a.id FROM account_account a LEFT JOIN account_account_type t ON (a.user_type = t.id) - WHERE a.active + WHERE a.active AND a.type != 'view' AND t.close_method = %s''', ('unreconciled', )) account_ids = map(lambda x: x[0], cr.fetchall()) @@ -122,15 +125,15 @@ class account_fiscalyear_close(osv.osv_memory): name, create_uid, create_date, write_uid, write_date, statement_id, journal_id, currency_id, date_maturity, partner_id, blocked, credit, state, debit, - ref, account_id, period_id, date, move_id, amount_currency, - quantity, product_id, company_id) + ref, account_id, period_id, date, move_id, amount_currency, + quantity, product_id, company_id) (SELECT name, create_uid, create_date, write_uid, write_date, statement_id, %s,currency_id, date_maturity, partner_id, blocked, credit, 'draft', debit, ref, account_id, %s, date, %s, amount_currency, quantity, product_id, company_id FROM account_move_line - WHERE account_id IN %s - AND ''' + query_line + ''' + WHERE account_id IN %s + AND ''' + query_line + ''' AND reconcile_id IS NULL)''', (new_journal.id, period.id, move_id, tuple(account_ids),)) #We have also to consider all move_lines that were reconciled @@ -197,7 +200,7 @@ class account_fiscalyear_close(osv.osv_memory): query_1st_part = """ INSERT INTO account_move_line ( debit, credit, name, date, move_id, journal_id, period_id, - account_id, currency_id, amount_currency, company_id, state) VALUES + account_id, currency_id, amount_currency, company_id, state) VALUES """ query_2nd_part = "" query_2nd_part_args = [] @@ -207,7 +210,7 @@ class account_fiscalyear_close(osv.osv_memory): cr.execute('SELECT sum(amount_currency) as balance_in_currency FROM account_move_line ' \ 'WHERE account_id = %s ' \ 'AND ' + query_line + ' ' \ - 'AND currency_id = %s', (account.id, account.currency_id.id)) + 'AND currency_id = %s', (account.id, account.currency_id.id)) balance_in_currency = cr.dictfetchone()['balance_in_currency'] company_currency_id = self.pool.get('res.users').browse(cr, uid, uid).company_id.currency_id diff --git a/addons/account/wizard/account_invoice_refund.py b/addons/account/wizard/account_invoice_refund.py index 8de1dc79bfb..436ea20a3c2 100644 --- a/addons/account/wizard/account_invoice_refund.py +++ b/addons/account/wizard/account_invoice_refund.py @@ -36,7 +36,7 @@ class account_invoice_refund(osv.osv_memory): 'period': fields.many2one('account.period', 'Force period'), 'journal_id': fields.many2one('account.journal', 'Refund Journal', help='You can select here the journal to use for the refund invoice that will be created. If you leave that field empty, it will use the same journal as the current invoice.'), 'description': fields.char('Description', size=128, required=True), - 'filter_refund': fields.selection([('refund', 'Refund'), ('cancel', 'Cancel'),('modify', 'Modify')], "Refund Type", required=True, help='Refund invoice base on this type. You can not Modify and Cancel if the invoice is already reconciled'), + 'filter_refund': fields.selection([('refund', 'Create a draft Refund'), ('cancel', 'Cancel: refund invoice and reconcile'),('modify', 'Modify: refund invoice, reconcile and create a new draft invoice')], "Refund Method", required=True, help='Refund invoice base on this type. You can not Modify and Cancel if the invoice is already reconciled'), } def _get_journal(self, cr, uid, context=None): diff --git a/addons/account_accountant/i18n/da.po b/addons/account_accountant/i18n/da.po index 43a16e89f86..5b199bb2909 100644 --- a/addons/account_accountant/i18n/da.po +++ b/addons/account_accountant/i18n/da.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2010-11-17 08:53+0000\n" -"Last-Translator: Martin Pihl \n" +"PO-Revision-Date: 2011-11-08 10:35+0000\n" +"Last-Translator: OpenERP Danmark / Mikhael Saxtorph \n" "Language-Team: Danish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:52+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-11-10 04:58+0000\n" +"X-Generator: Launchpad (build 14263)\n" #. module: account_accountant #: model:ir.module.module,description:account_accountant.module_meta_information @@ -27,8 +27,8 @@ msgid "" " " msgstr "" "\n" -"Dette modul giver administrator brugeren adgang til alle de regnskabsmæssige " -"funktioner som bogføringsjournaler og kontoplaner.\n" +"Dette modul giver brugeren admin adgang til alle regnskabsfunktioner som " +"bogføringsjournaler og kontoplaner.\n" " " #. module: account_accountant diff --git a/addons/account_analytic_analysis/__init__.py b/addons/account_analytic_analysis/__init__.py index a7bdb11ad67..429aa011f31 100644 --- a/addons/account_analytic_analysis/__init__.py +++ b/addons/account_analytic_analysis/__init__.py @@ -20,6 +20,7 @@ ############################################################################## import account_analytic_analysis +import cron_account_analytic_account # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/account_analytic_analysis/__openerp__.py b/addons/account_analytic_analysis/__openerp__.py index f75fe3d1615..32642caf49c 100644 --- a/addons/account_analytic_analysis/__openerp__.py +++ b/addons/account_analytic_analysis/__openerp__.py @@ -21,9 +21,9 @@ { - 'name' : 'Analytic Account View', + 'name' : 'Sales Contract Management', 'version' : '1.1', - 'category' : 'Hidden', + 'category' : 'Sales Management', 'complexity': "normal", 'description': """ This module is for modifying account analytic view to show important data to project manager of services companies. @@ -42,6 +42,7 @@ user-wise as well as month wise. "security/ir.model.access.csv", "account_analytic_analysis_view.xml", "account_analytic_analysis_menu.xml", + "account_analytic_analysis_cron.xml", ], 'demo_xml' : [], 'installable': True, diff --git a/addons/account_analytic_analysis/account_analytic_analysis.py b/addons/account_analytic_analysis/account_analytic_analysis.py index 22eb9401ad7..8ebb75244a1 100644 --- a/addons/account_analytic_analysis/account_analytic_analysis.py +++ b/addons/account_analytic_analysis/account_analytic_analysis.py @@ -374,7 +374,28 @@ class account_analytic_account(osv.osv): res[id] = round(res.get(id, 0.0),2) return res - _columns ={ + def _is_overdue_quantity(self, cr, uid, ids, fieldnames, args, context=None): + result = dict.fromkeys(ids, 0) + + for record in self.browse(cr, uid, ids, context=context): + if record.quantity == 0.0 and record.quantity_max == 0.0: + result[record.id] = 0 + else: + result[record.id] = int(record.quantity >= record.quantity_max) + + return result + + def _get_analytic_account(self, cr, uid, ids, context=None): + result = set() + for line in self.pool.get('account.analytic.line').browse(cr, uid, ids, context=context): + result.add(line.account_id.id) + return list(result) + + _columns = { + 'is_overdue_quantity' : fields.function(_is_overdue_quantity, method=True, type='boolean', string='Overdue Quantity', + store={ + 'account.analytic.line' : (_get_analytic_account, None, 20), + }), 'ca_invoiced': fields.function(_ca_invoiced_calc, type='float', string='Invoiced Amount', help="Total customer invoiced amount for this account.", digits_compute=dp.get_precision('Account')), diff --git a/addons/account_analytic_analysis/account_analytic_analysis_cron.xml b/addons/account_analytic_analysis/account_analytic_analysis_cron.xml new file mode 100644 index 00000000000..8564b1606eb --- /dev/null +++ b/addons/account_analytic_analysis/account_analytic_analysis_cron.xml @@ -0,0 +1,15 @@ + + + + + Analytic Account Report for Sales + 1 + weeks + -1 + + + + + + + diff --git a/addons/account_analytic_analysis/account_analytic_analysis_menu.xml b/addons/account_analytic_analysis/account_analytic_analysis_menu.xml index bfb7a892668..34840814154 100644 --- a/addons/account_analytic_analysis/account_analytic_analysis_menu.xml +++ b/addons/account_analytic_analysis/account_analytic_analysis_menu.xml @@ -20,6 +20,67 @@ tree,form,graph [('date','<=',time.strftime('%Y-%m-%d')),('state','=','open')] - + + + + account.analytic.account.search + account.analytic.account + search + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Overdue Accounts + account.analytic.account + form + tree,form,graph + {'search_default_has_partner':1, 'search_default_my_accounts':1, 'search_default_draft':1, 'search_default_pending':1, 'search_default_open':1, 'search_default_renew':1} + [('type','=','normal')] + + You will find here the contracts to be renewed because the deadline is passed or the working hours are higher than the allocated hours. OpenERP automatically sets these analytic accounts to the pending state, in order to raise a warning during the timesheets recording. Salesmen should review all pending accounts and reopen or close the according to the negotiation with the customer. + + + diff --git a/addons/account_analytic_analysis/cron_account_analytic_account.py b/addons/account_analytic_analysis/cron_account_analytic_account.py new file mode 100644 index 00000000000..581bbfe92e1 --- /dev/null +++ b/addons/account_analytic_analysis/cron_account_analytic_account.py @@ -0,0 +1,79 @@ +#!/usr/bin/env python +from osv import osv +from mako.template import Template +import time +try: + import cStringIO as StringIO +except ImportError: + import StringIO + +import tools + +MAKO_TEMPLATE = u"""Hello ${user.name}, + +Here is a list of contracts that have to be renewed for two +possible reasons: + - the end of contract date is passed + - the customer consumed more hours than expected + +Can you contact the customer in order to sell a new or renew its contract. +The contract has been set with a pending state, can you update the status +of the analytic account following this rule: + - Set Done: if the customer does not want to renew + - Set Open: if the customer purchased an extra contract + +Here is the list of contracts to renew: +% for partner, accounts in partners.iteritems(): + * ${partner.name} + % for account in accounts: + - Name: ${account.name} + % if account.quantity_max != 0.0: + - Quantity: ${account.quantity}/${account.quantity_max} hours + % endif + - Dates: ${account.date_start} to ${account.date and account.date or '???'} + - Contacts: + % for address in account.partner_id.address: + . ${address.name}, ${address.phone}, ${address.email} + % endfor + + % endfor +% endfor + +You can use the report in the menu: Sales > Invoicing > Overdue Accounts + +Regards, + +-- +OpenERP +""" + +class analytic_account(osv.osv): + _inherit = 'account.analytic.account' + + def cron_account_analytic_account(self, cr, uid, context=None): + domain = [ + ('name', 'not ilike', 'maintenance'), + ('partner_id', '!=', False), + ('user_id', '!=', False), + ('user_id.user_email', '!=', False), + ('state', 'in', ('draft', 'open')), + '|', ('date', '<', time.strftime('%Y-%m-%d')), ('date', '=', False), + ] + + account_ids = self.search(cr, uid, domain, context=context, order='name asc') + accounts = self.browse(cr, uid, account_ids, context=context) + + users = dict() + for account in accounts: + users.setdefault(account.user_id, dict()).setdefault(account.partner_id, []).append(account) + + account.write({'state' : 'pending'}, context=context) + + for user, data in users.iteritems(): + subject = '[OPENERP] Reporting: Analytic Accounts' + body = Template(MAKO_TEMPLATE).render_unicode(user=user, partners=data) + tools.email_send('noreply@openerp.com', [user.user_email, ], subject, body) + + return True + +analytic_account() diff --git a/addons/account_analytic_analysis/i18n/da.po b/addons/account_analytic_analysis/i18n/da.po index 545c570647c..95f24a21b1f 100644 --- a/addons/account_analytic_analysis/i18n/da.po +++ b/addons/account_analytic_analysis/i18n/da.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2010-11-22 07:38+0000\n" -"Last-Translator: Martin Pihl \n" +"PO-Revision-Date: 2011-11-08 21:41+0000\n" +"Last-Translator: OpenERP Danmark / Henning Dinsen \n" "Language-Team: Danish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:20+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-11-10 04:57+0000\n" +"X-Generator: Launchpad (build 14263)\n" #. module: account_analytic_analysis #: help:account.analytic.account,hours_qtt_invoiced:0 @@ -134,7 +134,7 @@ msgstr "Bruger" #. module: account_analytic_analysis #: field:account.analytic.account,ca_to_invoice:0 msgid "Uninvoiced Amount" -msgstr "" +msgstr "Ufaktureret beløb" #. module: account_analytic_analysis #: help:account.analytic.account,real_margin:0 diff --git a/addons/account_analytic_default/i18n/da.po b/addons/account_analytic_default/i18n/da.po index 2cb76cfc57e..7e1a64488e0 100644 --- a/addons/account_analytic_default/i18n/da.po +++ b/addons/account_analytic_default/i18n/da.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-04-29 12:18+0000\n" -"Last-Translator: FULL NAME \n" +"PO-Revision-Date: 2011-11-08 22:24+0000\n" +"Last-Translator: OpenERP Danmark / Henning Dinsen \n" "Language-Team: Danish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:25+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-11-10 04:58+0000\n" +"X-Generator: Launchpad (build 14263)\n" #. module: account_analytic_default #: model:ir.module.module,shortdesc:account_analytic_default.module_meta_information @@ -65,7 +65,7 @@ msgstr "Plukseddel" #. module: account_analytic_default #: view:account.analytic.default:0 msgid "Conditions" -msgstr "" +msgstr "Betingelser" #. module: account_analytic_default #: help:account.analytic.default,company_id:0 diff --git a/addons/account_analytic_default/security/ir.model.access.csv b/addons/account_analytic_default/security/ir.model.access.csv index 112fe2fcbf4..f92a9fd4dfa 100644 --- a/addons/account_analytic_default/security/ir.model.access.csv +++ b/addons/account_analytic_default/security/ir.model.access.csv @@ -2,3 +2,4 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink access_account_analytic_default,account.analytic.default,model_account_analytic_default,account.group_account_user,1,0,0,0 access_account_analytic_default_manager,account.analytic.default.manager,model_account_analytic_default,account.group_account_manager,1,1,1,1 access_account_analytic_default_invoice,account.analytic.default invoice,model_account_analytic_default,account.group_account_invoice,1,1,1,1 +access_account_analytic_default_salesman,account.analytic.default.salesman,model_account_analytic_default,base.group_sale_salesman,1,1,1,1 diff --git a/addons/account_anglo_saxon/i18n/da.po b/addons/account_anglo_saxon/i18n/da.po new file mode 100644 index 00000000000..bf144945725 --- /dev/null +++ b/addons/account_anglo_saxon/i18n/da.po @@ -0,0 +1,107 @@ +# Danish translation for openobject-addons +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-01-11 11:14+0000\n" +"PO-Revision-Date: 2011-11-09 21:36+0000\n" +"Last-Translator: OpenERP Danmark / Henning Dinsen \n" +"Language-Team: Danish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2011-11-10 04:58+0000\n" +"X-Generator: Launchpad (build 14263)\n" + +#. module: account_anglo_saxon +#: view:product.category:0 +msgid " Accounting Property" +msgstr "" + +#. module: account_anglo_saxon +#: sql_constraint:purchase.order:0 +msgid "Order Reference must be unique !" +msgstr "Ordre reference skal være unik !" + +#. module: account_anglo_saxon +#: constraint:product.category:0 +msgid "Error ! You can not create recursive categories." +msgstr "Fejl ! Du kan ikke oprette rekusive katagorier." + +#. module: account_anglo_saxon +#: constraint:product.template:0 +msgid "" +"Error: The default UOM and the purchase UOM must be in the same category." +msgstr "" + +#. module: account_anglo_saxon +#: model:ir.model,name:account_anglo_saxon.model_account_invoice_line +msgid "Invoice Line" +msgstr "Fakturalinie" + +#. module: account_anglo_saxon +#: model:ir.model,name:account_anglo_saxon.model_purchase_order +msgid "Purchase Order" +msgstr "Indkøbsordre" + +#. module: account_anglo_saxon +#: model:ir.model,name:account_anglo_saxon.model_product_template +msgid "Product Template" +msgstr "" + +#. module: account_anglo_saxon +#: model:ir.model,name:account_anglo_saxon.model_product_category +msgid "Product Category" +msgstr "Produkt katagori" + +#. module: account_anglo_saxon +#: model:ir.module.module,shortdesc:account_anglo_saxon.module_meta_information +msgid "Stock Accounting for Anglo Saxon countries" +msgstr "" + +#. module: account_anglo_saxon +#: field:product.category,property_account_creditor_price_difference_categ:0 +#: field:product.template,property_account_creditor_price_difference:0 +msgid "Price Difference Account" +msgstr "" + +#. module: account_anglo_saxon +#: model:ir.model,name:account_anglo_saxon.model_account_invoice +msgid "Invoice" +msgstr "Faktura" + +#. module: account_anglo_saxon +#: model:ir.model,name:account_anglo_saxon.model_stock_picking +msgid "Picking List" +msgstr "Plukliste" + +#. module: account_anglo_saxon +#: model:ir.module.module,description:account_anglo_saxon.module_meta_information +msgid "" +"This module will support the Anglo-Saxons accounting methodology by\n" +" changing the accounting logic with stock transactions. The difference " +"between the Anglo-Saxon accounting countries\n" +" and the Rhine or also called Continental accounting countries is the " +"moment of taking the Cost of Goods Sold versus Cost of Sales.\n" +" Anglo-Saxons accounting does take the cost when sales invoice is " +"created, Continental accounting will take the cost at the moment the goods " +"are shipped.\n" +" This module will add this functionality by using a interim account, to " +"store the value of shipped goods and will contra book this interim account\n" +" when the invoice is created to transfer this amount to the debtor or " +"creditor account.\n" +" Secondly, price differences between actual purchase price and fixed " +"product standard price are booked on a separate account" +msgstr "" + +#. module: account_anglo_saxon +#: help:product.category,property_account_creditor_price_difference_categ:0 +#: help:product.template,property_account_creditor_price_difference:0 +msgid "" +"This account will be used to value price difference between purchase price " +"and cost price." +msgstr "" diff --git a/addons/account_asset/account_asset.py b/addons/account_asset/account_asset.py index bacd29f1607..832ac75ba46 100644 --- a/addons/account_asset/account_asset.py +++ b/addons/account_asset/account_asset.py @@ -143,8 +143,12 @@ class account_asset_asset(osv.osv): depreciation_lin_obj.unlink(cr, uid, old_depreciation_line_ids, context=context) amount_to_depr = residual_amount = asset.value_residual - - depreciation_date = datetime.strptime(self._get_last_depreciation_date(cr, uid, [asset.id], context)[asset.id], '%Y-%m-%d') + if asset.prorata: + depreciation_date = datetime.strptime(self._get_last_depreciation_date(cr, uid, [asset.id], context)[asset.id], '%Y-%m-%d') + else: + # depreciation_date = 1st January of purchase year + purchase_date = datetime.strptime(asset.purchase_date, '%Y-%m-%d') + depreciation_date = datetime(purchase_date.year, 1, 1) day = depreciation_date.day month = depreciation_date.month year = depreciation_date.year diff --git a/addons/account_asset/account_asset_demo.xml b/addons/account_asset/account_asset_demo.xml index 004526b1022..77185081848 100644 --- a/addons/account_asset/account_asset_demo.xml +++ b/addons/account_asset/account_asset_demo.xml @@ -4,13 +4,33 @@ - + - Fixed Assets + Hardware - 3 Years + 3 + + + + + + + + Cars - 5 Years + 5 + + + + + + + + + Revenue Recognition Maintenance Contract - 3 Years + 3 + + diff --git a/addons/crm/__openerp__.py b/addons/crm/__openerp__.py index a6f5f1630f7..54dfc335a2b 100644 --- a/addons/crm/__openerp__.py +++ b/addons/crm/__openerp__.py @@ -55,7 +55,6 @@ Creates a dashboard for CRM that includes: 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', 'depends': [ - 'base', 'base_action_rule', 'base_setup', 'process', @@ -108,8 +107,8 @@ Creates a dashboard for CRM that includes: 'crm_installer_view.xml', 'res_partner_view.xml', - 'board_crm_view.xml', 'board_crm_statistical_view.xml', + 'board_crm_view.xml', ], 'demo_xml': [ diff --git a/addons/crm/board_crm_view.xml b/addons/crm/board_crm_view.xml index 53e0207fc5a..3eacb9e7755 100644 --- a/addons/crm/board_crm_view.xml +++ b/addons/crm/board_crm_view.xml @@ -117,32 +117,32 @@
- - - - - - - - + + + + + + + +
@@ -155,14 +155,7 @@ menu - - - - + diff --git a/addons/crm/crm.py b/addons/crm/crm.py index ac0874a6037..d12860b5ea5 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -486,8 +486,11 @@ class crm_case(crm_base): src = case_email dest = case.user_id.user_email or "" body = case.description or "" - if case.message_ids: - body = case.message_ids[0].body_text or "" + for message in case.message_ids: + if message.email_from: + body = message.description + break + if not destination: src, dest = dest, case.email_from if body and case.user_id.signature: diff --git a/addons/crm/crm_action_rule.py b/addons/crm/crm_action_rule.py index 559d257820a..3947eb58156 100644 --- a/addons/crm/crm_action_rule.py +++ b/addons/crm/crm_action_rule.py @@ -92,7 +92,6 @@ class base_action_rule(osv.osv): def do_action(self, cr, uid, action, model_obj, obj, context=None): res = super(base_action_rule, self).do_action(cr, uid, action, model_obj, obj, context=context) write = {} - if hasattr(action, 'act_section_id') and action.act_section_id: obj.section_id = action.act_section_id write['section_id'] = action.act_section_id.id @@ -110,6 +109,7 @@ class base_action_rule(osv.osv): model_obj.message_append(cr, uid, [obj], _(action.act_state)) model_obj.write(cr, uid, [obj.id], write, context) + super(base_action_rule, self).do_action(cr, uid, action, model_obj, obj, context=context) emails = [] if hasattr(obj, 'email_from') and action.act_mail_to_partner: diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index b53028c952a..0e479d33737 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -204,7 +204,6 @@ class crm_lead(crm_case, osv.osv): 'company_id': lambda s, cr, uid, c: s.pool.get('res.company')._company_default_get(cr, uid, 'crm.lead', context=c), 'priority': lambda *a: crm.AVAILABLE_PRIORITIES[2][0], 'color': 0, - #'stage_id': _get_stage_id, } def onchange_partner_address_id(self, cr, uid, ids, add, email=False): diff --git a/addons/crm/crm_lead_demo.xml b/addons/crm/crm_lead_demo.xml index 7b2e696e181..576f258facc 100644 --- a/addons/crm/crm_lead_demo.xml +++ b/addons/crm/crm_lead_demo.xml @@ -270,7 +270,9 @@ - + + + BalmerInc S.A. Rue des Palais 51, bte 33 Bruxelles @@ -291,7 +293,9 @@ - + + + Lucie Vonck Chaussée de Namur Grand-Rosière @@ -313,7 +317,9 @@ - + + + Université de Liège Place du 20Août @@ -336,7 +342,9 @@ - + + + Bank Wealthy and sons 1 rue Rockfeller Paris @@ -359,6 +367,7 @@ + @@ -376,8 +385,10 @@ + + - + Dubois sprl Avenue de la Liberté 56 Brussels @@ -428,7 +439,9 @@ - + + + Axelor 12 rue Albert Einstein Champs sur Marne @@ -473,6 +486,8 @@ + + Eric Dubois Chaussée de Binche, 27 diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index 42587eea2b0..b37f1db6d55 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -284,7 +284,7 @@ + date_start="date_action" color="user_id"> @@ -345,7 +345,7 @@ - +
@@ -462,7 +462,7 @@
diff --git a/addons/hr_recruitment/test/test_hr_recruitment.yml b/addons/hr_recruitment/test/test_hr_recruitment.yml index 1acbf33eb72..b797353bde2 100644 --- a/addons/hr_recruitment/test/test_hr_recruitment.yml +++ b/addons/hr_recruitment/test/test_hr_recruitment.yml @@ -52,7 +52,12 @@ !python {model: hr.applicant}: | self.case_open(cr, uid, [ref("hr_applicant_fresher0")], {"active_ids": [ref("hr_recruitment.menu_crm_case_categ0_act_job")], }) - +- + I change the stages by clicking on stage next and stage previous buttons. +- + !python {model: hr.applicant}: | + self.stage_next(cr, uid, [ref('hr_applicant_fresher0')], None) + self.stage_previous(cr, uid, [ref('hr_applicant_fresher0')], None) - I create a new case category. - @@ -97,14 +102,38 @@ rrule_type: none state: open user_id: base.user_root - +- + I print the survery filled up by the applicant. +- + !python {model: hr.applicant}: | + self.action_print_survey(cr, uid, [ref('hr_applicant_fresher0')], None) +- + I assign the position to the applicant and its relevant department. +- + !python {model: hr.applicant}: | + res = self.onchange_job(cr, uid, [ref('hr_applicant_fresher0')], ref('hr.job_jr_developers'), None) + values = dict([('job_id', ref('hr.job_jr_developers'))] + res['value'].items()) + res1 = self.onchange_department_id(cr, uid, [ref('hr_applicant_fresher0')], ref('hr.dep_it'), None) + values.update(dict([('department_id', ref('hr.dep_it'))] + res1['value'].items())) + self.write(cr, uid, [ref('hr_applicant_fresher0')], values, None) - On a successful meeting with the applicant, I hired employee by click on "Hired" button. - - !python {model: hr.applicant}: | - self.case_close(cr, uid, [ref('hr_applicant_fresher0')]) + !python {model: hired.employee}: | + self.case_close(cr, uid, [], context={'active_ids': [ref('hr_applicant_fresher0')]}) - I check that applicant state is "Hired". - !assert {model: hr.applicant, id: hr_applicant_fresher0}: - state == 'done' +- + I create partner for the hired applicant for accounting purpose. +- + !record {model: hr.recruitment.partner.create, id: hr_recruitment_partner_create0}: + close: False +- + I click on Create Partner button to create a partner for applicant. +- + !python {model: hr.recruitment.partner.create}: | + self.make_order(cr, uid, [ref('hr_recruitment_partner_create0')], context={'active_ids': [ref('hr_applicant_fresher0')]}) + diff --git a/addons/hr_timesheet/test/test_hr_timesheet.yml b/addons/hr_timesheet/test/test_hr_timesheet.yml index 7ce2908f24f..30c97c3eb70 100644 --- a/addons/hr_timesheet/test/test_hr_timesheet.yml +++ b/addons/hr_timesheet/test/test_hr_timesheet.yml @@ -37,14 +37,6 @@ parent_id: 'hr_employee_employee0' user_id: 'test_timesheet_user1' -- - I create Timesheet journal for employee. -- - !record {model: account.analytic.journal, id: analytic_journal}: - code: TS - name: Timesheet Journal - type: general - - I create a product as "Consultancy - Senior Developer". - @@ -103,7 +95,26 @@ uid = ref('test_timesheet_user1') new_id = self.create(cr, uid, {'emp_id': ref('hr_employee_fracline1'), 'name': 'Francline', 'server_date': time.strftime('%Y-%m-%d %H:%M:%S'), 'state': 'absent'}) self.sign_in_result(cr, uid, [new_id], context) - +- + I create a timesheet line manually to check several default values. + I also assign proper date and user for that line. +- + !python {model: hr.analytic.timesheet}: | + import time + uid = ref('test_timesheet_user1') + current_date = time.strftime('%Y-%m-%d') + vals = {'name': 'Worked on project', + 'user_id': ref('test_timesheet_user1'), + 'account_id': ref('account.analytic_project_1_development'), + 'unit_amount': 5.00, + 'journal_id': ref('analytic_journal') + } + line_id = self.create(cr, uid, vals, None) + res = self.on_change_date(cr, uid, [line_id], current_date) + values = dict([('date', current_date)] + res['value'].items()) + res1 = self.on_change_user_id(cr, uid, [line_id], ref('base.user_root')) + values.update(dict([('user_id', ref('base.user_root'))] + res1['value'].items())) + self.write(cr, uid, [line_id], values, None) - To stop work I click on "Sign In/Sign Out" button of "Sign In/Sign Out by Project" wizard. Which check state in hr attendace form for user. @@ -113,7 +124,6 @@ ids = self.search(cr, uid, [('emp_id', '=', ref('hr_employee_fracline1')),('name', '=', 'Francline')]) self.check_state(cr, uid, ids, {"active_ids": [ref("hr_timesheet.action_hr_timesheet_sign_in")] }) - - I Create an analytic account "Project2". - @@ -136,3 +146,4 @@ - | I can see employee timesheet for particular month using "Employee Timesheet" report. + diff --git a/addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml b/addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml index cf068ac9ce9..ed50ccc5d4d 100644 --- a/addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml +++ b/addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml @@ -23,7 +23,17 @@ !record {model: account.analytic.account, id: account.analytic_sednacom}: partner_id: base.res_partner_desertic_hispafuentes pricelist_id: product.list0 - +- + I open this account and make the state as pending. +- + !python {model: account.analytic.account}: | + self.set_open(cr, uid, [ref('account.analytic_sednacom')], None) + self.set_pending(cr, uid, [ref('account.analytic_sednacom')], None) +- + I assign account on analytic account line. +- + !python {model: hr.analytic.timesheet}: | + self.on_change_account_id(cr, uid, [ref('account_analytic_line_developyamlforhrmodule0')], ref('account.analytic_sednacom')) - I create invoice on analytic Line using "Invoice analytic Line" wizard. - @@ -73,11 +83,15 @@ price: 1 time: 1 - - I click on "Create Invoice" button to create Invoice. + I click on "Create Invoice" button to create Invoice and validate the invoice. - !python {model: hr.timesheet.invoice.create.final}: | - self.do_create(cr, uid, [ref("hr_timesheet_invoice_create_final_0")], {"active_ids": [ref("account.analytic_sednacom")]}) - + import netsvc + wkf_service = netsvc.LocalService("workflow") + res = self.do_create(cr, uid, [ref("hr_timesheet_invoice_create_final_0")], {"active_ids": [ref("account.analytic_sednacom")]}) + invoice_ids = eval(res['domain'])[0][2] + for inv in invoice_ids: + wkf_service.trg_validate(uid, 'account.invoice', inv, 'invoice_open', cr) - I can also make some theoretical revenue reports. - diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py index c1c936ccc0f..089ade7c618 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py @@ -313,7 +313,7 @@ class hr_timesheet_sheet(osv.osv): def _default_employee(self, cr, uid, context=None): emp_ids = self.pool.get('hr.employee').search(cr, uid, [('user_id','=',uid)], context=context) return emp_ids and emp_ids[0] or False - + _defaults = { 'date_from' : _default_date_from, 'date_current' : lambda *a: time.strftime('%Y-%m-%d'), @@ -329,7 +329,7 @@ class hr_timesheet_sheet(osv.osv): if new_user_id: cr.execute('SELECT id \ FROM hr_timesheet_sheet_sheet \ - WHERE (date_from < %s and %s < date_to) \ + WHERE (date_from <= %s and %s <= date_to) \ AND user_id=%s \ AND id <> %s',(sheet.date_to, sheet.date_from, new_user_id, sheet.id)) if cr.fetchall(): diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml index 11e1789aa41..b14c9133319 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml @@ -186,7 +186,7 @@ hr_timesheet_sheet.sheet form - {'search_default_my_timesheet':1, } + {'search_default_my_timesheet':1,'group_by_no_leaf':1} Check your timesheets for a specific period. You can also encode time spent on a project (i.e. an analytic account) thus generating costs in the analytic account concerned. diff --git a/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml b/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml index 405c6585cf9..24ffe3bb178 100644 --- a/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml +++ b/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml @@ -71,13 +71,30 @@ user_id: base.user_demo employee_id: 'hr_employee_employee0' - - Now , at the time of login, I create Attendances and perform "Sign In" action. + Now, at the time of login, I create Attendances and perform "Sign In" action. - - !record {model: hr.attendance, id: hr_attendance_0}: - action: sign_in - employee_id: 'hr_employee_employee0' - name: !eval time.strftime('%Y-%m-%d')+' '+'%s:%s:%s' %(max(0,datetime.now().hour-1),max(0,datetime.now().minute-1),max(0,datetime.now().second-1)) - + !python {model: hr_timesheet_sheet.sheet}: + self.sign_in(cr, uid, [ref('hr_timesheet_sheet_sheet_deddk0')], {}) +- + I want to check attendance and work of yesterday. I click on <- button. +- + !python {model: hr_timesheet_sheet.sheet}: | + self.date_previous(cr, uid, [ref('hr_timesheet_sheet_sheet_deddk0')], None) +- + Then I click on "Today" button to fill today's timesheet. +- + !python {model: hr_timesheet_sheet.sheet}: | + self.date_today(cr, uid, [ref('hr_timesheet_sheet_sheet_deddk0')], None) +- + I want to go to a particular date and see attendance then I select the date and click on "Go to:" button. +- + !python {model: hr_timesheet_sheet.sheet}: | + self.button_dummy(cr, uid, [ref('hr_timesheet_sheet_sheet_deddk0')], None) +- + I can also move to next day by clicking on -> button. +- + !python {model: hr_timesheet_sheet.sheet}: | + self.date_next(cr, uid, [ref('hr_timesheet_sheet_sheet_deddk0')], None) - At the time of logout, I create attendance and perform "Sign Out". - @@ -88,7 +105,6 @@ - I create Timesheet Entry for time spend on today work. - - !record {model: hr_timesheet_sheet.sheet, id: hr_timesheet_sheet_sheet_deddk0}: timesheet_ids: diff --git a/addons/html_view/i18n/da.po b/addons/html_view/i18n/da.po index e340fd0f736..2c33fe8b010 100644 --- a/addons/html_view/i18n/da.po +++ b/addons/html_view/i18n/da.po @@ -8,24 +8,24 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-01-11 11:15+0000\n" -"PO-Revision-Date: 2011-09-24 09:55+0000\n" -"Last-Translator: FULL NAME \n" +"PO-Revision-Date: 2011-11-08 22:09+0000\n" +"Last-Translator: OpenERP Danmark / Henning Dinsen \n" "Language-Team: Danish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:53+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-11-10 04:58+0000\n" +"X-Generator: Launchpad (build 14263)\n" #. module: html_view #: field:html.view,name:0 msgid "Name" -msgstr "" +msgstr "Navn" #. module: html_view #: field:html.view,comp_id:0 msgid "Company" -msgstr "Virksomhed" +msgstr "Firma" #. module: html_view #: model:ir.actions.act_window,name:html_view.action_html_view_form @@ -36,17 +36,17 @@ msgstr "HTML test" #. module: html_view #: view:html.view:0 msgid "Html Example" -msgstr "" +msgstr "HTML eksempel" #. module: html_view #: model:ir.module.module,shortdesc:html_view.module_meta_information msgid "Html View" -msgstr "" +msgstr "HTML visning" #. module: html_view #: field:html.view,bank_ids:0 msgid "Banks" -msgstr "" +msgstr "Banker" #. module: html_view #: model:ir.module.module,description:html_view.module_meta_information @@ -56,8 +56,12 @@ msgid "" "view.\n" " " msgstr "" +"\n" +" Dette er testmodulet, der viser understøttelse af HTML tags i en normal " +"XML formular.\n" +" " #. module: html_view #: model:ir.model,name:html_view.model_html_view msgid "html.view" -msgstr "" +msgstr "html.view" diff --git a/addons/idea/__openerp__.py b/addons/idea/__openerp__.py index e6dab775d6e..66709824c4a 100644 --- a/addons/idea/__openerp__.py +++ b/addons/idea/__openerp__.py @@ -23,7 +23,7 @@ { 'name': 'Ideas Box', 'version': '0.1', - 'category': 'Hidden', + 'category': 'Human Resources', 'complexity': "easy", 'description': """ This module allows your user to easily and efficiently participate in enterprise innovation. diff --git a/addons/idea/i18n/da.po b/addons/idea/i18n/da.po index f26f0d38ffe..e285d0d1135 100644 --- a/addons/idea/i18n/da.po +++ b/addons/idea/i18n/da.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-01-11 11:15+0000\n" -"PO-Revision-Date: 2011-11-01 20:17+0000\n" +"PO-Revision-Date: 2011-11-08 21:34+0000\n" "Last-Translator: OpenERP Danmark / Henning Dinsen \n" "Language-Team: Danish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:17+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-11-10 04:57+0000\n" +"X-Generator: Launchpad (build 14263)\n" #. module: idea #: help:idea.category,visibility:0 @@ -154,7 +154,7 @@ msgstr "Idéstemme" #. module: idea #: field:idea.category,parent_id:0 msgid "Parent Categories" -msgstr "" +msgstr "Forældrekategorier" #. module: idea #: selection:idea.idea,my_vote:0 @@ -443,7 +443,7 @@ msgstr "Brugernavn" #. module: idea #: model:ir.model,name:idea.model_idea_vote_stat msgid "Idea Votes Statistics" -msgstr "" +msgstr "Stemme statistik" #. module: idea #: field:idea.comment,user_id:0 @@ -451,7 +451,7 @@ msgstr "" #: field:idea.vote,user_id:0 #: view:report.vote:0 msgid "User" -msgstr "Bruger" +msgstr "User" #. module: idea #: field:idea.vote,date:0 @@ -461,7 +461,7 @@ msgstr "Dato" #. module: idea #: view:idea.post.vote:0 msgid "Post" -msgstr "" +msgstr "Send" #. module: idea #: field:idea.idea,my_vote:0 @@ -512,7 +512,7 @@ msgstr "Historik" #. module: idea #: view:idea.idea:0 msgid "Vots Statistics" -msgstr "" +msgstr "Stemme statistik" #. module: idea #: field:report.vote,date:0 @@ -551,7 +551,7 @@ msgstr "Luk" #: view:idea.idea:0 #: view:report.vote:0 msgid "Open" -msgstr "Åbn" +msgstr "Åben" #. module: idea #: view:report.vote:0 @@ -640,17 +640,17 @@ msgstr "April" #. module: idea #: field:idea.idea,count_comments:0 msgid "Count of comments" -msgstr "" +msgstr "Antal kommentarer" #. module: idea #: field:idea.vote,score:0 msgid "Vote Status" -msgstr "" +msgstr "Stemme status" #. module: idea #: field:idea.idea,vote_avg:0 msgid "Average Score" -msgstr "" +msgstr "Gennemsnitlig score" #. module: idea #: field:idea.comment,idea_id:0 @@ -662,7 +662,7 @@ msgstr "" #: view:report.vote:0 #: field:report.vote,idea_id:0 msgid "Idea" -msgstr "" +msgstr "Idé" #. module: idea #: view:idea.idea:0 @@ -672,7 +672,7 @@ msgstr "Godkend" #. module: idea #: field:idea.post.vote,vote:0 msgid "Post Vote" -msgstr "" +msgstr "Send stemme" #. module: idea #: view:report.vote:0 diff --git a/addons/knowledge/i18n/da.po b/addons/knowledge/i18n/da.po new file mode 100644 index 00000000000..f198a77905b --- /dev/null +++ b/addons/knowledge/i18n/da.po @@ -0,0 +1,155 @@ +# Danish translation for openobject-addons +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-01-11 11:15+0000\n" +"PO-Revision-Date: 2011-11-09 21:31+0000\n" +"Last-Translator: OpenERP Danmark / Henning Dinsen \n" +"Language-Team: Danish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2011-11-10 04:58+0000\n" +"X-Generator: Launchpad (build 14263)\n" + +#. module: knowledge +#: model:ir.ui.menu,name:knowledge.menu_document +msgid "Knowledge" +msgstr "Viden" + +#. module: knowledge +#: help:knowledge.installer,wiki_quality_manual:0 +msgid "Creates an example skeleton for a standard quality manual." +msgstr "" + +#. module: knowledge +#: view:knowledge.installer:0 +msgid "Share information within the company with these specific Addons." +msgstr "" + +#. module: knowledge +#: field:knowledge.installer,document_ftp:0 +msgid "Shared Repositories (FTP)" +msgstr "" + +#. module: knowledge +#: model:ir.module.module,shortdesc:knowledge.module_meta_information +msgid "Knowledge Management System" +msgstr "" + +#. module: knowledge +#: field:knowledge.installer,wiki:0 +msgid "Collaborative Content (Wiki)" +msgstr "" + +#. module: knowledge +#: help:knowledge.installer,document_ftp:0 +msgid "" +"Provides an FTP access to your OpenERP's Document Management System. It lets " +"you access attachments and virtual documents through a standard FTP client." +msgstr "" + +#. module: knowledge +#: help:knowledge.installer,document_webdav:0 +msgid "" +"Provides a WebDAV access to your OpenERP's Document Management System. Lets " +"you access attachments and virtual documents through your standard file " +"browser." +msgstr "" + +#. module: knowledge +#: view:knowledge.installer:0 +msgid "Configure" +msgstr "Konfigurer" + +#. module: knowledge +#: view:knowledge.installer:0 +msgid "title" +msgstr "titel" + +#. module: knowledge +#: model:ir.module.module,description:knowledge.module_meta_information +msgid "" +"Installer for knowledge-based tools\n" +" " +msgstr "" + +#. module: knowledge +#: model:ir.ui.menu,name:knowledge.menu_document_configuration +msgid "Configuration" +msgstr "Konfiguration" + +#. module: knowledge +#: model:ir.actions.act_window,name:knowledge.action_knowledge_installer +msgid "Knowledge Modules Installation" +msgstr "" + +#. module: knowledge +#: field:knowledge.installer,wiki_quality_manual:0 +msgid "Quality Manual" +msgstr "" + +#. module: knowledge +#: field:knowledge.installer,document_webdav:0 +msgid "Shared Repositories (WebDAV)" +msgstr "" + +#. module: knowledge +#: field:knowledge.installer,progress:0 +msgid "Configuration Progress" +msgstr "Konfigurationsfremgang" + +#. module: knowledge +#: help:knowledge.installer,wiki_faq:0 +msgid "" +"Creates a skeleton internal FAQ pre-filled with documentation about " +"OpenERP's Document Management System." +msgstr "" + +#. module: knowledge +#: field:knowledge.installer,wiki_faq:0 +msgid "Internal FAQ" +msgstr "" + +#. module: knowledge +#: model:ir.ui.menu,name:knowledge.menu_document2 +msgid "Collaborative Content" +msgstr "" + +#. module: knowledge +#: field:knowledge.installer,config_logo:0 +msgid "Image" +msgstr "Billede" + +#. module: knowledge +#: model:ir.actions.act_window,name:knowledge.action_knowledge_installer +#: view:knowledge.installer:0 +msgid "Knowledge Application Configuration" +msgstr "" + +#. module: knowledge +#: model:ir.model,name:knowledge.model_knowledge_installer +msgid "knowledge.installer" +msgstr "" + +#. module: knowledge +#: view:knowledge.installer:0 +msgid "Configure Your Knowledge Application" +msgstr "" + +#. module: knowledge +#: help:knowledge.installer,wiki:0 +msgid "" +"Lets you create wiki pages and page groups in order to keep track of " +"business knowledge and share it with and between your employees." +msgstr "" + +#. module: knowledge +#: view:knowledge.installer:0 +msgid "Content templates" +msgstr "" diff --git a/addons/l10n_hn/__init__.py b/addons/l10n_hn/__init__.py old mode 100755 new mode 100644 diff --git a/addons/l10n_hn/__openerp__.py b/addons/l10n_hn/__openerp__.py old mode 100755 new mode 100644 index c4428759af0..31d9344cb65 --- a/addons/l10n_hn/__openerp__.py +++ b/addons/l10n_hn/__openerp__.py @@ -35,7 +35,7 @@ { 'name': 'Honduras - Plan contable general', 'version': '0.1', - 'category': 'Localisation/Account Charts', + 'category': 'Localization/Account Charts', 'description': """Agrega una nomenclatura contable para Honduras. También incluye impuestos y la moneda Lempira. -- Adds accounting chart for Honduras. It also includes taxes and the Lempira currency""", 'author': 'Salvatore Josue Trimarchi Pinto', 'website': 'http://trimarchi.co.cc', diff --git a/addons/l10n_hn/account_chart.xml b/addons/l10n_hn/account_chart.xml old mode 100755 new mode 100644 diff --git a/addons/l10n_hn/account_tax.xml b/addons/l10n_hn/account_tax.xml old mode 100755 new mode 100644 diff --git a/addons/l10n_hn/account_types.xml b/addons/l10n_hn/account_types.xml old mode 100755 new mode 100644 diff --git a/addons/l10n_hn/i18n/ca.po b/addons/l10n_hn/i18n/ca.po old mode 100755 new mode 100644 index 24de725e214..aad943ef40d --- a/addons/l10n_hn/i18n/ca.po +++ b/addons/l10n_hn/i18n/ca.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:58+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-11-10 04:58+0000\n" +"X-Generator: Launchpad (build 14263)\n" #. module: l10n_hn #: model:ir.module.module,shortdesc:l10n_hn.module_meta_information diff --git a/addons/l10n_hn/i18n/es.po b/addons/l10n_hn/i18n/es.po old mode 100755 new mode 100644 index 54a8a33376c..fa71768c797 --- a/addons/l10n_hn/i18n/es.po +++ b/addons/l10n_hn/i18n/es.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:58+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-11-10 04:58+0000\n" +"X-Generator: Launchpad (build 14263)\n" #. module: l10n_hn #: model:ir.module.module,shortdesc:l10n_hn.module_meta_information diff --git a/addons/l10n_hn/i18n/es_PY.po b/addons/l10n_hn/i18n/es_PY.po old mode 100755 new mode 100644 diff --git a/addons/l10n_hn/i18n/fr.po b/addons/l10n_hn/i18n/fr.po old mode 100755 new mode 100644 index f61ad5dae13..9d2e759a734 --- a/addons/l10n_hn/i18n/fr.po +++ b/addons/l10n_hn/i18n/fr.po @@ -15,8 +15,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:58+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-11-10 04:58+0000\n" +"X-Generator: Launchpad (build 14263)\n" #. module: l10n_hn #: model:ir.module.module,shortdesc:l10n_hn.module_meta_information diff --git a/addons/l10n_hn/i18n/gl.po b/addons/l10n_hn/i18n/gl.po old mode 100755 new mode 100644 index ef2997a1875..0c718c8e4eb --- a/addons/l10n_hn/i18n/gl.po +++ b/addons/l10n_hn/i18n/gl.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:58+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-11-10 04:58+0000\n" +"X-Generator: Launchpad (build 14263)\n" #. module: l10n_hn #: model:ir.module.module,shortdesc:l10n_hn.module_meta_information diff --git a/addons/l10n_hn/i18n/hu.po b/addons/l10n_hn/i18n/hu.po old mode 100755 new mode 100644 index 305ba7c6e40..8cb0490fdaa --- a/addons/l10n_hn/i18n/hu.po +++ b/addons/l10n_hn/i18n/hu.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:58+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-11-10 04:58+0000\n" +"X-Generator: Launchpad (build 14263)\n" #. module: l10n_hn #: model:ir.module.module,shortdesc:l10n_hn.module_meta_information diff --git a/addons/l10n_hn/i18n/it.po b/addons/l10n_hn/i18n/it.po old mode 100755 new mode 100644 index 36b0d853598..b2cbae2b860 --- a/addons/l10n_hn/i18n/it.po +++ b/addons/l10n_hn/i18n/it.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:58+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-11-10 04:58+0000\n" +"X-Generator: Launchpad (build 14263)\n" #. module: l10n_hn #: model:ir.module.module,shortdesc:l10n_hn.module_meta_information diff --git a/addons/l10n_hn/i18n/l10n_hn.pot b/addons/l10n_hn/i18n/l10n_hn.pot old mode 100755 new mode 100644 diff --git a/addons/l10n_hn/i18n/pt_BR.po b/addons/l10n_hn/i18n/pt_BR.po old mode 100755 new mode 100644 index 811711bfd59..85231507ac5 --- a/addons/l10n_hn/i18n/pt_BR.po +++ b/addons/l10n_hn/i18n/pt_BR.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:58+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-11-10 04:58+0000\n" +"X-Generator: Launchpad (build 14263)\n" #. module: l10n_hn #: model:ir.module.module,shortdesc:l10n_hn.module_meta_information diff --git a/addons/l10n_hn/i18n/sr@latin.po b/addons/l10n_hn/i18n/sr@latin.po old mode 100755 new mode 100644 index 861c48c341e..60d3fcb2dec --- a/addons/l10n_hn/i18n/sr@latin.po +++ b/addons/l10n_hn/i18n/sr@latin.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:58+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-11-10 04:58+0000\n" +"X-Generator: Launchpad (build 14263)\n" #. module: l10n_hn #: model:ir.module.module,shortdesc:l10n_hn.module_meta_information diff --git a/addons/l10n_hn/l10n_hn_base.xml b/addons/l10n_hn/l10n_hn_base.xml old mode 100755 new mode 100644 diff --git a/addons/lunch/__openerp__.py b/addons/lunch/__openerp__.py index 2a493f39dcf..6d5cd576912 100644 --- a/addons/lunch/__openerp__.py +++ b/addons/lunch/__openerp__.py @@ -33,7 +33,7 @@ """, "version": "0.1", "depends": ["base_tools"], - "category" : "Hidden", + "category" : "Human Resources", 'description': """ The base module to manage lunch diff --git a/addons/mail/mail_message.py b/addons/mail/mail_message.py index 621eef59da5..9c535966e17 100644 --- a/addons/mail/mail_message.py +++ b/addons/mail/mail_message.py @@ -74,7 +74,7 @@ class mail_message_common(osv.osv_memory): 'model': fields.char('Related Document model', size=128, select=1, readonly=1), 'res_id': fields.integer('Related Document ID', select=1, readonly=1), 'date': fields.datetime('Date'), - 'email_from': fields.char('From', size=128, help='Message sender, taken from user preferences'), + 'email_from': fields.char('From', size=128, help='Message sender, taken from user preferences. If empty, this is not a mail but a message.'), 'email_to': fields.char('To', size=256, help='Message recipients'), 'email_cc': fields.char('Cc', size=256, help='Carbon copy message recipients'), 'email_bcc': fields.char('Bcc', size=256, help='Blind carbon copy message recipients'), @@ -334,8 +334,8 @@ class mail_message(osv.osv): 'subtype': msg_mime_subtype, 'body_text': plaintext_body 'body_html': html_body, - 'attachments': { 'file1': 'bytes', - 'file2': 'bytes' } + 'attachments': [('file1', 'bytes'), + ('file2', 'bytes') } # ... 'original': source_of_email, } @@ -416,7 +416,7 @@ class mail_message(osv.osv): body = tools.html2plaintext(body) msg['body_text'] = tools.ustr(body, encoding) - attachments = {} + attachments = [] if msg_txt.is_multipart() or 'multipart/alternative' in msg.get('content-type', ''): body = "" if 'multipart/alternative' in msg.get('content-type', ''): @@ -432,7 +432,7 @@ class mail_message(osv.osv): if part.get_content_maintype()=='text': content = part.get_payload(decode=True) if filename: - attachments[filename] = content + attachments.append((filename, content)) content = tools.ustr(content, encoding) if part.get_content_subtype() == 'html': msg['body_html'] = content @@ -442,7 +442,7 @@ class mail_message(osv.osv): body = content elif part.get_content_maintype() in ('application', 'image'): if filename : - attachments[filename] = part.get_payload(decode=True) + attachments.append((filename,part.get_payload(decode=True))) else: res = part.get_payload(decode=True) body += tools.ustr(res, encoding) diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index fa785c3517c..c8f7da9a5bb 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -201,7 +201,8 @@ class mail_thread(osv.osv): for thread in threads: to_attach = [] - for fname, fcontent in attachments.items(): + for attachment in attachments: + fname, fcontent = attachment if isinstance(fcontent, unicode): fcontent = fcontent.encode('utf-8') data_attach = { diff --git a/addons/marketing_campaign/i18n/ru.po b/addons/marketing_campaign/i18n/ru.po index a51b8994cee..f4c85881403 100644 --- a/addons/marketing_campaign/i18n/ru.po +++ b/addons/marketing_campaign/i18n/ru.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-01-11 11:15+0000\n" -"PO-Revision-Date: 2010-10-10 07:30+0000\n" -"Last-Translator: OpenERP Administrators \n" +"PO-Revision-Date: 2011-11-07 22:35+0000\n" +"Last-Translator: Stanislav Hanzhin \n" "Language-Team: Russian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:50+0000\n" +"X-Launchpad-Export-Date: 2011-11-08 05:49+0000\n" "X-Generator: Launchpad (build 14231)\n" #. module: marketing_campaign @@ -809,7 +809,7 @@ msgstr "" #: selection:marketing.campaign.segment,state:0 #: selection:marketing.campaign.workitem,state:0 msgid "Done" -msgstr "Сделано" +msgstr "Выполнено" #. module: marketing_campaign #: code:addons/marketing_campaign/marketing_campaign.py:209 @@ -861,7 +861,7 @@ msgstr "" #: view:marketing.campaign.workitem:0 #: selection:marketing.campaign.workitem,state:0 msgid "To Do" -msgstr "Задача" +msgstr "Сделать" #. module: marketing_campaign #: view:marketing.campaign.workitem:0 diff --git a/addons/membership/wizard/membership_invoice.py b/addons/membership/wizard/membership_invoice.py index b97926e564c..d0be223158f 100644 --- a/addons/membership/wizard/membership_invoice.py +++ b/addons/membership/wizard/membership_invoice.py @@ -35,7 +35,7 @@ class membership_invoice(osv.osv_memory): """This function returns value of product's member price based on product id. """ if not product_id: - return {'value': {'unit_price': False}} + return {'value': {'member_price': False}} return {'value': {'member_price': self.pool.get('product.product').price_get(cr, uid, [product_id])[product_id]}} def membership_invoice(self, cr, uid, ids, context=None): @@ -67,4 +67,4 @@ class membership_invoice(osv.osv_memory): membership_invoice() -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/membership/wizard/membership_invoice_view.xml b/addons/membership/wizard/membership_invoice_view.xml index 500885d35f1..dedecf1e9dc 100644 --- a/addons/membership/wizard/membership_invoice_view.xml +++ b/addons/membership/wizard/membership_invoice_view.xml @@ -10,7 +10,7 @@ - +