[IMP] account: adding the invoice.tax.line id in tax_line_move_line_get() to allow inheritance.
Was PR #12576. Courtesy from sbidoul
This commit is contained in:
committed by
qdp-odoo
parent
0a6afa1ff1
commit
e30ea5647d
@@ -672,6 +672,7 @@ class AccountInvoice(models.Model):
|
||||
for tax_line in self.tax_line_ids:
|
||||
if tax_line.amount:
|
||||
res.append({
|
||||
'invoice_tax_line_id': tax_line.id,
|
||||
'tax_line_id': tax_line.tax_id.id,
|
||||
'type': 'tax',
|
||||
'name': tax_line.name,
|
||||
|
||||
Reference in New Issue
Block a user