fix create_tax for child taxes for issue 668

This commit is contained in:
Korbinian Preisler committed 2008-12-13 11:05:22 +01:00
1 parent 99046bba62
commit 335c6759a9
1 file changed
+1 -1
+1 -1
View File
@@ -476,7 +476,7 @@ class TaxTemplate(OSV):
new_childs = []
for child in template.childs:
new_childs.append(self.create_tax(cursor, user, child,
template2tax_code, template2account, company_id,
company_id, template2tax_code, template2account,
context=context, template2tax=template2tax, parent_id=new_id))
return new_id