[MERGE] merged 6.0 branch.

bzr revid: vmt@openerp.com-20110405104238-otow54mxyek4vp1m
This commit is contained in:
Vo Minh Thu
2011-04-05 12:42:38 +02:00
8 changed files with 671 additions and 213 deletions
+2 -2
View File
@@ -89,10 +89,10 @@ class account_balance(report_sxw.rml_parse, common_report_header):
self.sum_debit += account_rec['debit']
self.sum_credit += account_rec['credit']
if disp_acc == 'bal_movement':
if currency_obj.is_zero(self.cr, self.uid, currency, res['credit']) > 0 or currency_obj.is_zero(self.cr, self.uid, currency, res['debit']) > 0 or currency_obj.is_zero(self.cr, self.uid, currency, res['balance']) != 0:
if (not currency_obj.is_zero(self.cr, self.uid, currency, res['debit'])) or (not currency_obj.is_zero(self.cr, self.uid, currency, res['credit'])) or not (currency_obj.is_zero(self.cr, self.uid, currency, res['balance'])):
self.result_acc.append(res)
elif disp_acc == 'bal_solde':
if currency_obj.is_zero(self.cr, self.uid, currency, res['debit']) != 0:
if not currency_obj.is_zero(self.cr, self.uid, currency, res['balance']):
self.result_acc.append(res)
else:
self.result_acc.append(res)
@@ -143,10 +143,10 @@ class report_balancesheet_horizontal(report_sxw.rml_parse, common_report_header)
if typ == 'asset' and account.type <> 'view' and (account.debit <> account.credit):
self.result_sum_cr += account.balance
if data['form']['display_account'] == 'bal_movement':
if currency_pool.is_zero(self.cr, self.uid, currency, account.credit) > 0 or currency_pool.is_zero(self.cr, self.uid, currency, account.debit) > 0 or currency_pool.is_zero(self.cr, self.uid, currency, account.balance) != 0:
if (not currency_pool.is_zero(self.cr, self.uid, currency, account.credit)) or (not currency_pool.is_zero(self.cr, self.uid, currency, account.debit)) or (not currency_pool.is_zero(self.cr, self.uid, currency, account.balance)):
accounts_temp.append(account_dict)
elif data['form']['display_account'] == 'bal_solde':
if currency_pool.is_zero(self.cr, self.uid, currency, account.balance) != 0:
if not currency_pool.is_zero(self.cr, self.uid, currency, account.balance):
accounts_temp.append(account_dict)
else:
accounts_temp.append(account_dict)
+2 -2
View File
@@ -113,10 +113,10 @@ class report_pl_account_horizontal(report_sxw.rml_parse, common_report_header):
if typ == 'income' and account.type <> 'view' and (account.debit <> account.credit):
self.result_sum_cr += abs(account.debit - account.credit)
if data['form']['display_account'] == 'bal_movement':
if currency_pool.is_zero(self.cr, self.uid, currency, account.credit) > 0 or currency_pool.is_zero(self.cr, self.uid, currency, account.debit) > 0 or currency_pool.is_zero(self.cr, self.uid, currency, account.balance) != 0:
if (not currency_pool.is_zero(self.cr, self.uid, currency, account.credit)) or (not currency_pool.is_zero(self.cr, self.uid, currency, account.debit)) or (not currency_pool.is_zero(self.cr, self.uid, currency, account.balance)):
accounts_temp.append(account)
elif data['form']['display_account'] == 'bal_solde':
if currency_pool.is_zero(self.cr, self.uid, currency, account.balance) != 0:
if not currency_pool.is_zero(self.cr, self.uid, currency, account.balance):
accounts_temp.append(account)
else:
accounts_temp.append(account)
+32
View File
@@ -0,0 +1,32 @@
# Serbian Latin 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 <EMAIL@ADDRESS>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2011-01-11 11:14+0000\n"
"PO-Revision-Date: 2011-04-05 04:40+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Serbian Latin <sr@latin@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-04-05 06:06+0000\n"
"X-Generator: Launchpad (build 12559)\n"
#. module: base_tools
#: model:ir.module.module,shortdesc:base_tools.module_meta_information
msgid "Common base for tools modules"
msgstr "Česti moduli za osnovne alate"
#. module: base_tools
#: model:ir.module.module,description:base_tools.module_meta_information
msgid ""
"\n"
" "
msgstr ""
"modul: osnovni_alati\n"
" "
+216 -206
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -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-04-04 05:53+0000\n"
"X-Launchpad-Export-Date: 2011-04-05 06:06+0000\n"
"X-Generator: Launchpad (build 12559)\n"
#. module: product
+415
View File
@@ -0,0 +1,415 @@
# Romanian 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 <EMAIL@ADDRESS>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2011-01-11 11:16+0000\n"
"PO-Revision-Date: 2011-04-04 14:21+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Romanian <ro@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-04-05 06:06+0000\n"
"X-Generator: Launchpad (build 12559)\n"
#. module: sale_margin
#: view:report.account.invoice.product:0
msgid "Category"
msgstr "Categorie"
#. module: sale_margin
#: selection:report.account.invoice,type:0
#: selection:report.account.invoice.category,type:0
#: selection:report.account.invoice.partner,type:0
#: selection:report.account.invoice.partner.product,type:0
#: selection:report.account.invoice.product,type:0
msgid "Customer Refund"
msgstr "Restituire client"
#. module: sale_margin
#: selection:report.account.invoice,type:0
#: selection:report.account.invoice.category,type:0
#: selection:report.account.invoice.partner,type:0
#: selection:report.account.invoice.partner.product,type:0
#: selection:report.account.invoice.product,type:0
msgid "Customer Invoice"
msgstr "Factură client"
#. module: sale_margin
#: selection:report.account.invoice.product,month:0
msgid "February"
msgstr "Februarie"
#. module: sale_margin
#: view:report.account.invoice.product:0
msgid "Current"
msgstr "Curent"
#. module: sale_margin
#: view:report.account.invoice.product:0
msgid "Group By..."
msgstr "Grupează după..."
#. module: sale_margin
#: field:report.account.invoice,state:0
#: field:report.account.invoice.category,state:0
#: field:report.account.invoice.partner,state:0
#: field:report.account.invoice.partner.product,state:0
#: field:report.account.invoice.product,state:0
msgid "State"
msgstr ""
#. module: sale_margin
#: model:ir.module.module,description:sale_margin.module_meta_information
msgid ""
" \n"
" This module adds the 'Margin' on sales order,\n"
" which gives the profitability by calculating the difference between the "
"Unit Price and Cost Price\n"
" "
msgstr ""
" \n"
" Acest modul adaugă \"Marja\" la comanda de vânzări,\n"
" care dă profitabilitatea prin calcularea diferenţei dintre preţul unitar "
"şi preţul de cost\n"
" "
#. module: sale_margin
#: selection:report.account.invoice,state:0
#: selection:report.account.invoice.category,state:0
#: selection:report.account.invoice.partner,state:0
#: selection:report.account.invoice.partner.product,state:0
#: selection:report.account.invoice.product,state:0
msgid "Draft"
msgstr "Ciornă"
#. module: sale_margin
#: selection:report.account.invoice,state:0
#: selection:report.account.invoice.category,state:0
#: selection:report.account.invoice.partner,state:0
#: selection:report.account.invoice.partner.product,state:0
#: selection:report.account.invoice.product,state:0
msgid "Paid"
msgstr "Plătit"
#. module: sale_margin
#: model:ir.model,name:sale_margin.model_stock_picking
msgid "Picking List"
msgstr "Listă preluare"
#. module: sale_margin
#: help:sale.order,margin:0
msgid ""
"It gives profitability by calculating the difference between the Unit Price "
"and Cost Price."
msgstr ""
"Indică profitabilitatea prin calcularea diferenţei dintre preţul unitar şi "
"preţul de cost."
#. module: sale_margin
#: field:report.account.invoice,type:0
#: field:report.account.invoice.category,type:0
#: field:report.account.invoice.partner,type:0
#: field:report.account.invoice.partner.product,type:0
#: field:report.account.invoice.product,type:0
#: wizard_field:stock.invoice_onshipping,init,type:0
msgid "Type"
msgstr "Tip"
#. module: sale_margin
#: model:ir.model,name:sale_margin.model_report_account_invoice_product
msgid "Invoice Statistics"
msgstr "Statistici factură"
#. module: sale_margin
#: field:report.account.invoice.partner.product,product_id:0
#: field:report.account.invoice.product,product_id:0
msgid "Product"
msgstr "Produs"
#. module: sale_margin
#: sql_constraint:sale.order:0
msgid "Order Reference must be unique !"
msgstr "Referinţa la comandă trebuie să fie unică!"
#. module: sale_margin
#: view:report.account.invoice.product:0
msgid "Invoice by Partner"
msgstr ""
#. module: sale_margin
#: selection:report.account.invoice.product,month:0
msgid "August"
msgstr "August"
#. module: sale_margin
#: selection:report.account.invoice,state:0
#: selection:report.account.invoice.category,state:0
#: selection:report.account.invoice.partner,state:0
#: selection:report.account.invoice.partner.product,state:0
#: selection:report.account.invoice.product,state:0
msgid "Pro-forma"
msgstr "Proformă"
#. module: sale_margin
#: selection:report.account.invoice.product,month:0
msgid "May"
msgstr "Mai"
#. module: sale_margin
#: selection:report.account.invoice.product,month:0
msgid "June"
msgstr "Iunie"
#. module: sale_margin
#: view:report.account.invoice.product:0
msgid "Date Invoiced"
msgstr "Data facturării"
#. module: sale_margin
#: model:ir.module.module,shortdesc:sale_margin.module_meta_information
msgid "Margins in Sales Order"
msgstr "Marja in ordin de vanzare"
#. module: sale_margin
#: view:report.account.invoice.product:0
msgid "Search Margin"
msgstr "Caua marja"
#. module: sale_margin
#: view:report.account.invoice.product:0
msgid "This Year"
msgstr "Acest an"
#. module: sale_margin
#: field:report.account.invoice.product,date:0
msgid "Date"
msgstr "Data"
#. module: sale_margin
#: selection:report.account.invoice.product,month:0
msgid "July"
msgstr "Iulie"
#. module: sale_margin
#: view:report.account.invoice.product:0
msgid "Extended Filters..."
msgstr "Filtre extinse..."
#. module: sale_margin
#: model:ir.ui.menu,name:sale_margin.menu_report_account_this_month_product
msgid "This Month"
msgstr "Luna curentă"
#. module: sale_margin
#: view:report.account.invoice.product:0
#: field:report.account.invoice.product,day:0
msgid "Day"
msgstr "Ziua"
#. module: sale_margin
#: field:report.account.invoice.category,categ_id:0
msgid "Categories"
msgstr "Categorii"
#. module: sale_margin
#: field:account.invoice.line,cost_price:0
#: field:report.account.invoice,cost_price:0
#: field:report.account.invoice.category,cost_price:0
#: field:report.account.invoice.partner,cost_price:0
#: field:report.account.invoice.partner.product,cost_price:0
#: field:report.account.invoice.product,cost_price:0
#: field:sale.order.line,purchase_price:0
msgid "Cost Price"
msgstr "Preț de cost"
#. module: sale_margin
#: selection:report.account.invoice.product,month:0
msgid "October"
msgstr "Octombrie"
#. module: sale_margin
#: selection:report.account.invoice.product,month:0
msgid "January"
msgstr "Ianuarie"
#. module: sale_margin
#: view:report.account.invoice.product:0
#: field:report.account.invoice.product,year:0
msgid "Year"
msgstr "An"
#. module: sale_margin
#: selection:report.account.invoice.product,month:0
msgid "September"
msgstr "Septembrie"
#. module: sale_margin
#: selection:report.account.invoice.product,month:0
msgid "April"
msgstr "Aprilie"
#. module: sale_margin
#: field:report.account.invoice,amount:0
#: field:report.account.invoice.category,amount:0
#: field:report.account.invoice.partner,amount:0
#: field:report.account.invoice.partner.product,amount:0
#: field:report.account.invoice.product,amount:0
msgid "Amount"
msgstr "Valoarea"
#. module: sale_margin
#: selection:report.account.invoice,type:0
#: selection:report.account.invoice.category,type:0
#: selection:report.account.invoice.partner,type:0
#: selection:report.account.invoice.partner.product,type:0
#: selection:report.account.invoice.product,type:0
msgid "Supplier Refund"
msgstr "Restituire de la furnizor"
#. module: sale_margin
#: selection:report.account.invoice.product,month:0
msgid "March"
msgstr "Matrie"
#. module: sale_margin
#: field:report.account.invoice,margin:0
#: field:report.account.invoice.category,margin:0
#: field:report.account.invoice.partner,margin:0
#: field:report.account.invoice.partner.product,margin:0
#: field:report.account.invoice.product,margin:0
#: field:sale.order,margin:0
#: field:sale.order.line,margin:0
msgid "Margin"
msgstr "Marja"
#. module: sale_margin
#: selection:report.account.invoice.product,month:0
msgid "November"
msgstr "Noiembrie"
#. module: sale_margin
#: field:report.account.invoice,quantity:0
#: field:report.account.invoice.category,quantity:0
#: field:report.account.invoice.partner,quantity:0
#: field:report.account.invoice.partner.product,quantity:0
#: field:report.account.invoice.product,quantity:0
msgid "Quantity"
msgstr "Cantitate"
#. module: sale_margin
#: view:report.account.invoice.product:0
msgid "Invoices by product"
msgstr ""
#. module: sale_margin
#: selection:report.account.invoice,type:0
#: selection:report.account.invoice.category,type:0
#: selection:report.account.invoice.partner,type:0
#: selection:report.account.invoice.partner.product,type:0
#: selection:report.account.invoice.product,type:0
msgid "Supplier Invoice"
msgstr "Factură furnizor"
#. module: sale_margin
#: model:ir.ui.menu,name:sale_margin.menu_report_account_all_invoice_by_invoices
#: model:ir.ui.menu,name:sale_margin.menu_report_account_invoice_by_invoices
#: view:report.account.invoice:0
#: view:stock.picking:0
#: field:stock.picking,invoice_ids:0
msgid "Invoices"
msgstr "Facturi"
#. module: sale_margin
#: selection:report.account.invoice.product,month:0
msgid "December"
msgstr "Decembrie"
#. module: sale_margin
#: model:ir.model,name:sale_margin.model_account_invoice_line
msgid "Invoice Line"
msgstr "Linie factură"
#. module: sale_margin
#: field:report.account.invoice,name:0
#: field:report.account.invoice.category,name:0
#: field:report.account.invoice.partner,name:0
#: field:report.account.invoice.partner.product,name:0
#: field:report.account.invoice.product,name:0
msgid "Month"
msgstr "Lună"
#. module: sale_margin
#: selection:report.account.invoice,state:0
#: selection:report.account.invoice.category,state:0
#: selection:report.account.invoice.partner,state:0
#: selection:report.account.invoice.partner.product,state:0
#: selection:report.account.invoice.product,state:0
msgid "Canceled"
msgstr "Anulat"
#. module: sale_margin
#: model:ir.actions.act_window,help:sale_margin.action_report_account_invoice_report
msgid ""
"This report gives you an overview of all the invoices generated by the "
"system. You can sort and group your results by specific selection criteria "
"to quickly find what you are looking for."
msgstr ""
"Acest raport vă oferă o imagine de ansamblu a tuturor facturilor generate de "
"sistem. Aveţi posibilitatea să sortaţi şi sa grupați rezultatele după "
"criterii de selecţie specifice pentru a găsi rapid ceea ce căutaţi."
#. module: sale_margin
#: model:ir.ui.menu,name:sale_margin.menu_report_account_invoice_product
msgid "Invoice Report"
msgstr "Raport factură"
#. module: sale_margin
#: view:report.account.invoice.product:0
msgid "Done"
msgstr "Efectuat"
#. module: sale_margin
#: model:ir.ui.menu,name:sale_margin.menu_report_account_invoice_product
msgid "Invoice"
msgstr "Factură"
#. module: sale_margin
#: view:stock.picking:0
msgid "Customer Invoices"
msgstr "Facturi clienţi"
#. module: sale_margin
#: field:report.account.invoice.partner,partner_id:0
#: field:report.account.invoice.partner.product,partner_id:0
msgid "Partner"
msgstr "Partener"
#. module: sale_margin
#: model:ir.model,name:sale_margin.model_sale_order
msgid "Sales Order"
msgstr "Comandă de vânzare"
#. module: sale_margin
#: selection:report.account.invoice,state:0
#: selection:report.account.invoice.category,state:0
#: selection:report.account.invoice.partner,state:0
#: selection:report.account.invoice.partner.product,state:0
#: selection:report.account.invoice.product,state:0
msgid "Open"
msgstr "Deschis"
#. module: sale_margin
#: model:ir.actions.act_window,name:sale_margin.action_report_account_invoice_report
msgid "Invoice Analysis"
msgstr ""
#. module: sale_margin
#: model:ir.model,name:sale_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Linie comandă de vânzare"
+1
View File
@@ -499,6 +499,7 @@
<field name="name">survey_page_wizard_test</field>
<field name="model">survey.page</field>
<field name="type">form</field>
<field name="priority">20</field>
<field name="arch" type="xml">
<form string="Survey Pages">
<field name="title" colspan="4" select="1"/>