From 67a94c57f4d32cfbada045757155055e9f8d489d Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Tue, 17 Mar 2009 12:54:41 +0530 Subject: [PATCH] [FIX] 343743:Corrected Fiscal position creation(ref:Dukai) bzr revid: jvo@tinyerp.com-20090317072441-9xxn9ml3qa76n0dm --- addons/account/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account.py b/addons/account/account.py index 449a58f136d..823d07df175 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -2275,7 +2275,7 @@ class wizard_multi_charts_accounts(osv.osv_memory): for tax in position.tax_ids: vals_tax = { 'tax_src_id' : tax_template_ref[tax.tax_src_id.id], - 'tax_dest_id' : tax_template_ref[tax.tax_dest_id.id], + 'tax_dest_id' : tax.tax_dest_id and tax_template_ref[tax.tax_dest_id.id] or False, 'position_id' : new_fp, } obj_tax_fp.create(cr, uid, vals_tax)