[ADD]: account: l10n fullness and inheritancy: improvement PEP statndard and company_id

bzr revid: ron@tinyerp.com-20110805125145-npom8tyh5c6ol62t
This commit is contained in:
ron@tinyerp.com
2011-08-05 18:21:45 +05:30
parent c8e3c1adae
commit e92fc06a2c
+5 -5
View File
@@ -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
}