fix tax calculation after inserting invoice.line for global- or dealer-discount
parent
10d0b855af
commit
96e40b52da
|
|
@ -59,4 +59,7 @@ class Invoice(models.Model):
|
|||
'invoice_line_tax_ids': [(6, 0, taxes_ids)],
|
||||
'sequence': 100,
|
||||
})
|
||||
|
||||
super()._onchange_invoice_line_ids()
|
||||
|
||||
return True
|
||||
|
|
|
|||
|
|
@ -91,4 +91,7 @@ class Invoice(models.Model):
|
|||
'layout_category_id':layout_category_id.id,
|
||||
'sequence': 99999,
|
||||
})
|
||||
|
||||
super()._onchange_invoice_line_ids()
|
||||
|
||||
return True
|
||||
|
|
|
|||
Loading…
Reference in New Issue