From e92fc06a2c759861b268f7f9102f81ca0cb48100 Mon Sep 17 00:00:00 2001 From: "ron@tinyerp.com" <> Date: Fri, 5 Aug 2011 18:21:45 +0530 Subject: [PATCH] [ADD]: account: l10n fullness and inheritancy: improvement PEP statndard and company_id bzr revid: ron@tinyerp.com-20110805125145-npom8tyh5c6ol62t --- addons/account/account.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index e3406aa83a5..13ccf1c7ab4 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -2736,10 +2736,10 @@ class wizard_multi_charts_accounts(osv.osv_memory): vals_tax = { 'name':tax.name, 'sequence': tax.sequence, - 'amount':tax.amount, - 'type':tax.type, + 'amount': tax.amount, + 'type': tax.type, 'applicable_type': tax.applicable_type, - 'domain':tax.domain, + 'domain': tax.domain, 'parent_id': tax.parent_id and ((tax.parent_id.id in tax_template_ref) and tax_template_ref[tax.parent_id.id]) or False, 'child_depend': tax.child_depend, 'python_compute': tax.python_compute, @@ -2754,8 +2754,8 @@ class wizard_multi_charts_accounts(osv.osv_memory): 'ref_base_sign': tax.ref_base_sign, 'ref_tax_sign': tax.ref_tax_sign, 'include_base_amount': tax.include_base_amount, - 'description':tax.description, - 'company_id': self.pool.get('res.users').browse(cr, uid, uid, context=context).company_id.id, + 'description': tax.description, + 'company_id': company_id, 'type_tax_use': tax.type_tax_use, 'price_include': tax.price_include }