diff --git a/addons/account/account_analytic_line.py b/addons/account/account_analytic_line.py index 280b813380f..06de5a3e43e 100644 --- a/addons/account/account_analytic_line.py +++ b/addons/account/account_analytic_line.py @@ -34,8 +34,8 @@ class account_analytic_line(osv.osv): 'journal_id': fields.many2one('account.analytic.journal', 'Analytic Journal', required=True, ondelete='restrict', select=True), 'code': fields.char('Code', size=8), 'ref': fields.char('Ref.', size=64), - 'currency_id': fields.related('move_id', 'currency_id', type='many2one', relation='res.currency', string='Account currency', store=True, help="The related account currency if not equal to the company one.", readonly=True), - 'amount_currency': fields.related('move_id', 'amount_currency', type='float', string='Amount currency', store=True, help="The amount expressed in the related account currency if not equal to the company one.", readonly=True), + 'currency_id': fields.related('move_id', 'currency_id', type='many2one', relation='res.currency', string='Account Currency', store=True, help="The related account currency if not equal to the company one.", readonly=True), + 'amount_currency': fields.related('move_id', 'amount_currency', type='float', string='Amount Currency', store=True, help="The amount expressed in the related account currency if not equal to the company one.", readonly=True), } _defaults = { diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py index 5e27a2e3663..23ad28dcb83 100644 --- a/addons/account/account_invoice.py +++ b/addons/account/account_invoice.py @@ -1002,7 +1002,7 @@ class account_invoice(osv.osv): 'quantity': x.get('quantity',1.00), 'product_id': x.get('product_id', False), 'product_uom_id': x.get('uos_id', False), - 'analytic_account_id': x.get('analytic_account_id', False), + 'analytic_account_id': x.get('account_analytic_id', False), } def action_number(self, cr, uid, ids, context=None): @@ -1691,7 +1691,7 @@ class account_invoice_tax(osv.osv): 'account_id': t['account_id'], 'tax_code_id': t['tax_code_id'], 'tax_amount': t['tax_amount'], - 'analytic_account_id': t['account_analytic_id'], + 'account_analytic_id': t['account_analytic_id'], }) return res diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml index bc964b787c7..78cdea764f3 100644 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -271,9 +271,9 @@ - + @@ -406,9 +406,9 @@ - + diff --git a/addons/account/i18n/zh_CN.po b/addons/account/i18n/zh_CN.po index 37fe86db46b..96edc80159f 100644 --- a/addons/account/i18n/zh_CN.po +++ b/addons/account/i18n/zh_CN.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: 2012-07-11 05:15+0000\n" +"X-Launchpad-Export-Date: 2012-07-12 04:41+0000\n" "X-Generator: Launchpad (build 15593)\n" #. module: account diff --git a/addons/account/project/project_view.xml b/addons/account/project/project_view.xml index 7658ab111d9..492ab249a39 100644 --- a/addons/account/project/project_view.xml +++ b/addons/account/project/project_view.xml @@ -241,19 +241,33 @@ form
- - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/addons/account_voucher/account_voucher_view.xml b/addons/account_voucher/account_voucher_view.xml index 2c294fa628c..74da5ac4836 100644 --- a/addons/account_voucher/account_voucher_view.xml +++ b/addons/account_voucher/account_voucher_view.xml @@ -111,9 +111,9 @@ -
- -
+
+ +
diff --git a/addons/account_voucher/voucher_payment_receipt_view.xml b/addons/account_voucher/voucher_payment_receipt_view.xml index c3291fb3bc3..98693a3f531 100644 --- a/addons/account_voucher/voucher_payment_receipt_view.xml +++ b/addons/account_voucher/voucher_payment_receipt_view.xml @@ -257,9 +257,9 @@ -
+
-
+
@@ -430,9 +430,9 @@ -
+
-
+
diff --git a/addons/account_voucher/voucher_sales_purchase_view.xml b/addons/account_voucher/voucher_sales_purchase_view.xml index adb078fac22..f26dd3ae38d 100644 --- a/addons/account_voucher/voucher_sales_purchase_view.xml +++ b/addons/account_voucher/voucher_sales_purchase_view.xml @@ -167,9 +167,9 @@ -
+
-
+
@@ -320,9 +320,9 @@ -
+
-
+
diff --git a/addons/analytic/analytic_view.xml b/addons/analytic/analytic_view.xml index 0c06c90150c..6d6a38b4b44 100644 --- a/addons/analytic/analytic_view.xml +++ b/addons/analytic/analytic_view.xml @@ -43,9 +43,9 @@ -
+
-
+
diff --git a/addons/analytic_contract_expense_project/analytic_contract_expense_project_view.xml b/addons/analytic_contract_expense_project/analytic_contract_expense_project_view.xml index d4350c7325f..3e892d5940f 100644 --- a/addons/analytic_contract_expense_project/analytic_contract_expense_project_view.xml +++ b/addons/analytic_contract_expense_project/analytic_contract_expense_project_view.xml @@ -15,13 +15,13 @@ - + - + - + - +