fix create_tax for child taxes for issue 668
This commit is contained in:
1 parent
99046bba62
commit
335c6759a9
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user