diff --git a/rma_account/wizards/rma_refund.py b/rma_account/wizards/rma_refund.py index b4347fc4..cd1af2ec 100644 --- a/rma_account/wizards/rma_refund.py +++ b/rma_account/wizards/rma_refund.py @@ -108,9 +108,9 @@ class RmaRefund(models.TransientModel): def prepare_refund_line(self, item): accounts = item.product.product_tmpl_id._get_product_accounts() if item.line_id.type == "customer": - account = accounts["stock_output"] + account = accounts["income"] else: - account = accounts["stock_input"] + account = accounts["expense"] if not account: raise ValidationError(_("Accounts are not configured for this product."))