Fix search on ir.model.data for new inherit field for issue394

This commit is contained in:
Cédric Krier committed 2008-09-23 20:13:20 +02:00
1 parent 145ce35b1b
commit 822fd528b3
1 file changed
+1
+1
View File
@@ -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)