From 822fd528b37bb62e5faafe7619f2ef475ab1c6e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 23 Sep 2008 20:13:20 +0200 Subject: [PATCH] Fix search on ir.model.data for new inherit field for issue394 --- invoice.py | 1 + 1 file changed, 1 insertion(+) 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)