[FIX] account: taxes on refunds were not computed
This commit is contained in:
committed by
Quentin De Paoli
parent
779859b466
commit
0ce3853c8c
@@ -47,6 +47,7 @@ class AccountInvoiceRefund(models.TransientModel):
|
||||
date = form.date or False
|
||||
description = form.description or inv.name
|
||||
refund = inv.refund(form.date_invoice, date, description, inv.journal_id.id)
|
||||
refund.compute_taxes()
|
||||
|
||||
created_inv.append(refund.id)
|
||||
if mode in ('cancel', 'modify'):
|
||||
|
||||
Reference in New Issue
Block a user