diff --git a/invoice.py b/invoice.py index 37162d4d49..4471f79dea 100644 --- a/invoice.py +++ b/invoice.py @@ -2399,6 +2399,7 @@ class RefundInvoice(Wizard): model_data_ids = model_data_obj.search(cursor, user, [ ('fs_id', '=', 'act_invoice_form'), ('module', '=', 'account_invoice'), + ('inherit', '=', False), ], limit=1, context=context) model_data = model_data_obj.browse(cursor, user, model_data_ids[0], context=context)