diff --git a/addons/account/account.py b/addons/account/account.py
index 4d9baf36a17..3537c4f4c55 100644
--- a/addons/account/account.py
+++ b/addons/account/account.py
@@ -30,7 +30,7 @@ from openerp import SUPERUSER_ID
from openerp import tools
from openerp.osv import fields, osv, expression
from openerp.tools.translate import _
-from openerp.tools.float_utils import float_round
+from openerp.tools.float_utils import float_round as round
import openerp.addons.decimal_precision as dp
@@ -1937,15 +1937,15 @@ class account_tax(osv.osv):
#
'base_code_id': fields.many2one('account.tax.code', 'Account Base Code', help="Use this code for the tax declaration."),
'tax_code_id': fields.many2one('account.tax.code', 'Account Tax Code', help="Use this code for the tax declaration."),
- 'base_sign': fields.float('Base Code Sign', help="Usually 1 or -1."),
- 'tax_sign': fields.float('Tax Code Sign', help="Usually 1 or -1."),
+ 'base_sign': fields.float('Base Code Sign', help="Usually 1 or -1.", digits_compute=get_precision_tax()),
+ 'tax_sign': fields.float('Tax Code Sign', help="Usually 1 or -1.", digits_compute=get_precision_tax()),
# Same fields for refund invoices
'ref_base_code_id': fields.many2one('account.tax.code', 'Refund Base Code', help="Use this code for the tax declaration."),
'ref_tax_code_id': fields.many2one('account.tax.code', 'Refund Tax Code', help="Use this code for the tax declaration."),
- 'ref_base_sign': fields.float('Refund Base Code Sign', help="Usually 1 or -1."),
- 'ref_tax_sign': fields.float('Refund Tax Code Sign', help="Usually 1 or -1."),
+ 'ref_base_sign': fields.float('Refund Base Code Sign', help="Usually 1 or -1.", digits_compute=get_precision_tax()),
+ 'ref_tax_sign': fields.float('Refund Tax Code Sign', help="Usually 1 or -1.", digits_compute=get_precision_tax()),
'include_base_amount': fields.boolean('Included in base amount', help="Indicates if the amount of tax must be included in the base amount for the computation of the next taxes"),
'company_id': fields.many2one('res.company', 'Company', required=True),
'description': fields.char('Tax Code'),
@@ -2143,7 +2143,7 @@ class account_tax(osv.osv):
tax_compute_precision = precision
if taxes and taxes[0].company_id.tax_calculation_rounding_method == 'round_globally':
tax_compute_precision += 5
- totalin = totalex = float_round(price_unit * quantity, precision)
+ totalin = totalex = round(price_unit * quantity, precision)
tin = []
tex = []
for tax in taxes:
diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml
index faa2aaee3be..e58cf7721c7 100644
--- a/addons/account/account_invoice_view.xml
+++ b/addons/account/account_invoice_view.xml
@@ -168,7 +168,7 @@
on_change="onchange_partner_id(type,partner_id,date_invoice,payment_term, partner_bank_id,company_id)"
context="{'default_customer': 0, 'search_default_supplier': 1, 'default_supplier': 1}"
domain="[('supplier', '=', True)]"/>
- \n"
" 点击创建一个客户退款. \n"
" \n"
-" 退款是全部或部分借记销售传票的证明。\n"
+" 退款是全部或部分借记销售发票的证明。\n"
" \n"
-" 可以直接从与客户相关联的传票直接生成退款,以代替手工创建客户退款。.\n"
+" 可以直接从与客户相关联的发票直接生成退款,以代替手工创建客户退款。.\n"
"
\n" +"银行对账单是一个银行帐户在一定会计期间所发生的全部交易往来的汇总。你可以从银行周期性获得。\n" +"
\n"
+"OpenERP允许对账单行直接和相关的销售或采购发票进行核销。\n"
+" "
#. module: account
#: field:account.config.settings,currency_id:0
@@ -2437,7 +2442,7 @@ msgstr "检查供应商发票合计"
#: selection:account.invoice.report,state:0
#: selection:report.invoice.created,state:0
msgid "Pro-forma"
-msgstr "形式传票"
+msgstr "形式发票"
#. module: account
#: help:account.account.template,type:0
@@ -2593,7 +2598,7 @@ msgstr "当账目记录有数据时,您将不能把它由关闭状态改变到
#. module: account
#: field:account.invoice.report,account_line_id:0
msgid "Account Line"
-msgstr "传票明细"
+msgstr "发票明细"
#. module: account
#: view:account.addtmpl.wizard:0
@@ -2609,8 +2614,8 @@ msgid ""
"amount greater than the total invoiced amount. In order to avoid rounding "
"issues, the latest line of your payment term must be of type 'balance'."
msgstr ""
-"无法创建传票。\n"
-"相关的支付记录可能未确认核实,因为合计的总额大于传票的开票总额。为避免统计错误,请您确认最新的支付记录都在平衡状态。"
+"无法创建发票。\n"
+"相关的支付记录可能未确认核实,因为合计的总额大于发票的开票总额。为避免统计错误,请您确认最新的支付记录都在平衡状态。"
#. module: account
#: view:account.move:0
@@ -3329,7 +3334,7 @@ msgstr "搜寻会计周期"
#. module: account
#: view:account.change.currency:0
msgid "Invoice Currency"
-msgstr "发票币别"
+msgstr "发票币种"
#. module: account
#: field:accounting.report,account_report_id:0
@@ -4005,7 +4010,7 @@ msgstr "如果您不选择会计期间,它将取所有开启的会计期间"
#. module: account
#: model:ir.model,name:account.model_account_journal_cashbox_line
msgid "account.journal.cashbox.line"
-msgstr ""
+msgstr "account.journal.cashbox.line"
#. module: account
#: model:ir.model,name:account.model_account_partner_reconcile_process
@@ -4186,7 +4191,7 @@ msgstr "应付账"
#: code:addons/account/wizard/account_fiscalyear_close.py:88
#, python-format
msgid "The periods to generate opening entries cannot be found."
-msgstr ""
+msgstr "要生成分录的 会计区间没有找到。"
#. module: account
#: model:process.node,name:account.process_node_supplierpaymentorder0
@@ -4251,7 +4256,7 @@ msgstr "还没有配置好公司"
#. module: account
#: field:res.company,expects_chart_of_accounts:0
msgid "Expects a Chart of Accounts"
-msgstr ""
+msgstr "预计一个会计科目表"
#. module: account
#: field:account.move.line,date:0
@@ -4472,7 +4477,7 @@ msgstr "辅助核算余额"
msgid ""
"This payment term will be used instead of the default one for sale orders "
"and customer invoices"
-msgstr ""
+msgstr "该付款方式将代替销售记录和客户发票的默认值。"
#. module: account
#: view:account.config.settings:0
@@ -4496,7 +4501,7 @@ msgstr "已记账分录明细"
#. module: account
#: field:account.move.line,blocked:0
msgid "No Follow-up"
-msgstr ""
+msgstr "未跟进"
#. module: account
#: view:account.tax.template:0
@@ -4583,6 +4588,8 @@ msgid ""
"Error!\n"
"You cannot create recursive Tax Codes."
msgstr ""
+"错误!\n"
+"你不能循环创建税代码"
#. module: account
#: constraint:account.period:0
@@ -4590,6 +4597,8 @@ msgid ""
"Error!\n"
"The duration of the Period(s) is/are invalid."
msgstr ""
+"错误!\n"
+"这个会计期间的持续时间不合法。"
#. module: account
#: field:account.entries.report,month:0
@@ -4606,7 +4615,7 @@ msgstr "月份"
#: code:addons/account/account.py:668
#, python-format
msgid "You cannot change the code of account which contains journal items!"
-msgstr ""
+msgstr "你不能改变已经包含了账簿项目的 科目代码!"
#. module: account
#: field:account.config.settings,purchase_sequence_prefix:0
@@ -4627,7 +4636,7 @@ msgstr ""
#: view:analytic.entries.report:0
#: field:analytic.entries.report,product_uom_id:0
msgid "Product Unit of Measure"
-msgstr ""
+msgstr "产品计量单位"
#. module: account
#: field:res.company,paypal_account:0
@@ -4682,7 +4691,7 @@ msgstr "税基编码"
#, python-format
msgid ""
"You have to provide an account for the write off/exchange difference entry."
-msgstr ""
+msgstr "你必须提供一个科目来勾销/兑换凭证差异。"
#. module: account
#: help:res.company,paypal_account:0
@@ -4736,7 +4745,7 @@ msgstr ""
#. module: account
#: selection:account.move.line,state:0
msgid "Balanced"
-msgstr ""
+msgstr "已平衡"
#. module: account
#: model:process.node,note:account.process_node_importinvoice0
@@ -4749,7 +4758,7 @@ msgstr "发票或付款清单"
msgid ""
"There is currently no company without chart of account. The wizard will "
"therefore not be executed."
-msgstr ""
+msgstr "目前还没有公司缺少科目表。因此,该向导不会被执行。"
#. module: account
#: model:ir.actions.act_window,name:account.action_wizard_multi_chart
@@ -4764,7 +4773,7 @@ msgstr "科目一览表"
#. module: account
#: field:account.invoice,reference_type:0
msgid "Payment Reference"
-msgstr ""
+msgstr "付款参考"
#. module: account
#: selection:account.financial.report,style_overwrite:0
@@ -4833,7 +4842,7 @@ msgstr "欠款单据"
#: view:account.move.line:0
#: model:ir.actions.act_window,name:account.action_account_manual_reconcile
msgid "Journal Items to Reconcile"
-msgstr ""
+msgstr "待调整日记账"
#. module: account
#: model:ir.model,name:account.model_account_tax_template
@@ -5771,7 +5780,7 @@ msgstr "税编码"
#: selection:account.invoice.report,type:0
#: selection:report.invoice.created,type:0
msgid "Customer Refund"
-msgstr "客户红字传票"
+msgstr "客户红字发票"
#. module: account
#: field:account.tax,ref_tax_sign:0
@@ -6295,7 +6304,7 @@ msgstr "无"
#: model:ir.actions.act_window,name:account.action_invoice_tree3
#: model:ir.ui.menu,name:account.menu_action_invoice_tree3
msgid "Customer Refunds"
-msgstr "客户红字传票"
+msgstr "客户红字发票"
#. module: account
#: field:account.account,foreign_balance:0
@@ -6806,7 +6815,7 @@ msgstr "你不能修改已经存在凭证的公司帐户。"
#: selection:report.invoice.created,type:0
#, python-format
msgid "Supplier Refund"
-msgstr "供应商红字传票"
+msgstr "供应商红字发票"
#. module: account
#: field:account.bank.statement,move_line_ids:0
@@ -7367,7 +7376,7 @@ msgstr ""
#. module: account
#: model:process.transition,note:account.process_transition_invoicemanually0
msgid "A statement with manual entries becomes a draft statement."
-msgstr "手工输入的传票是草稿状态"
+msgstr "手工输入的发票是草稿状态"
#. module: account
#: view:account.aged.trial.balance:0
@@ -7723,7 +7732,7 @@ msgstr "发票明细"
#. module: account
#: view:account.invoice.report:0
msgid "Customer And Supplier Refunds"
-msgstr "客户和供应商红字传票"
+msgstr "客户和供应商红字发票"
#. module: account
#: field:account.financial.report,sign:0
@@ -7766,7 +7775,7 @@ msgstr "OPEJ"
#: report:account.invoice:0
#: view:account.invoice:0
msgid "PRO-FORMA"
-msgstr "形式传票"
+msgstr "形式发票"
#. module: account
#: selection:account.entries.report,move_line_state:0
@@ -8381,7 +8390,7 @@ msgstr "如果在计算未来的税前这税额必须包含在税基金额里,
#: code:addons/account/account.py:3196
#, python-format
msgid "Purchase Refund Journal"
-msgstr "采购红字传票账簿"
+msgstr "采购红字发票账簿"
#. module: account
#: code:addons/account/account.py:1333
@@ -8698,7 +8707,7 @@ msgstr "关闭一个会计年度"
#. module: account
#: field:account.invoice.refund,journal_id:0
msgid "Refund Journal"
-msgstr "红字传票账簿"
+msgstr "红字发票账簿"
#. module: account
#: report:account.account.balance:0
@@ -8937,7 +8946,7 @@ msgstr ""
#. module: account
#: model:res.groups,name:account.group_account_invoice
msgid "Invoicing & Payments"
-msgstr "传票与付款"
+msgstr "发票与付款"
#. module: account
#: help:account.invoice,internal_number:0
@@ -9182,7 +9191,7 @@ msgstr ""
#: code:addons/account/account.py:3195
#, python-format
msgid "Sales Refund Journal"
-msgstr "销售红字传票账簿"
+msgstr "销售红字发票账簿"
#. module: account
#: view:account.move:0
diff --git a/addons/account/report/account_invoice_report_view.xml b/addons/account/report/account_invoice_report_view.xml
index 24723d7fb12..eebc95ae0e2 100644
--- a/addons/account/report/account_invoice_report_view.xml
+++ b/addons/account/report/account_invoice_report_view.xml
@@ -25,7 +25,7 @@
[[ format(get_text(o,data['form']['followup_id'])) ]]+
[[ format(get_text(o,data['form']['followup_id'])) ]]