From 0ce3853c8c117c2d6149a0304863132ff191f1db Mon Sep 17 00:00:00 2001 From: qdp-odoo Date: Wed, 10 Jun 2015 11:23:51 +0200 Subject: [PATCH] [FIX] account: taxes on refunds were not computed --- addons/account/wizard/account_invoice_refund.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account/wizard/account_invoice_refund.py b/addons/account/wizard/account_invoice_refund.py index cb6645739a4..29a4fdf1b41 100644 --- a/addons/account/wizard/account_invoice_refund.py +++ b/addons/account/wizard/account_invoice_refund.py @@ -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'):