Fix key construct in get_invoice_taxes
This commit is contained in:
1 parent
6c7c13bf0b
commit
574c33d039
1 file changed
+1
-1
+1
-1
@@ -1516,7 +1516,7 @@ class InvoiceLine(ModelSQL, ModelView):
|
||||
continue
|
||||
key = (tax.base_code.id, tax.base_sign,
|
||||
tax.tax_code.id, tax.tax_sign,
|
||||
tax.account.id, tax.id)
|
||||
tax.account.id, tax.tax.id)
|
||||
if key in taxes_keys:
|
||||
res[line.id].append(tax.id)
|
||||
return res
|
||||
|
||||
Reference in new issue
Block a user