From 08bc8b89ebfee6b36366a3e0697e5d0f856c75a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 23 Sep 2008 20:14:05 +0200 Subject: [PATCH] Fix search on ir.model.data for new inherit field for issue394 --- purchase.py | 1 + 1 file changed, 1 insertion(+) diff --git a/purchase.py b/purchase.py index d81e209d8c..38ee041609 100644 --- a/purchase.py +++ b/purchase.py @@ -1411,6 +1411,7 @@ class OpenSupplier(Wizard): model_data_ids = model_data_obj.search(cursor, user, [ ('fs_id', '=', 'act_party_form'), ('module', '=', 'relationship'), + ('inherit', '=', False), ], limit=1, context=context) model_data = model_data_obj.browse(cursor, user, model_data_ids[0], context=context)