Minor edits on generation of charts of accounts.

bzr revid: jvo@tinyerp.com-20081201133948-tlatigh8kg4bkht2
This commit is contained in:
Jay Vora 2008-12-01 19:09:48 +05:30
parent 7d8e5ee0e9
commit f4c0703b2d
1 changed files with 4 additions and 4 deletions

View File

@ -2002,12 +2002,12 @@ class wizard_multi_charts_accounts(osv.osv_memory):
'python_compute_inv': tax.python_compute_inv,
'python_applicable': tax.python_applicable,
'tax_group':tax.tax_group,
'base_code_id': tax.base_code_id and tax_code_template_ref[tax.base_code_id.id] or False,
'tax_code_id': tax.tax_code_id and tax_code_template_ref[tax.tax_code_id.id] or False,
'base_code_id': tax.base_code_id and ((tax.base_code_id.id in tax_code_template_ref) and tax_code_template_ref[tax.base_code_id.id]) or False,
'tax_code_id': tax.tax_code_id and ((tax.tax_code_id.id in tax_code_template_ref) and tax_code_template_ref[tax.tax_code_id.id]) or False,
'base_sign': tax.base_sign,
'tax_sign': tax.tax_sign,
'ref_base_code_id': tax.ref_base_code_id and tax_code_template_ref[tax.ref_base_code_id.id] or False,
'ref_tax_code_id': tax.ref_tax_code_id and tax_code_template_ref[tax.ref_tax_code_id.id] or False,
'ref_base_code_id': tax.ref_base_code_id and ((tax.ref_base_code_id.id in tax_code_template_ref) and tax_code_template_ref[tax.ref_base_code_id.id]) or False,
'ref_tax_code_id': tax.ref_tax_code_id and ((tax.ref_tax_code_id.id in tax_code_template_ref) and tax_code_template_ref[tax.ref_tax_code_id.id]) or False,
'ref_base_sign': tax.ref_base_sign,
'ref_tax_sign': tax.ref_tax_sign,
'include_base_amount': tax.include_base_amount,