Fix search on ir.model.data for new inherit field for issue394
This commit is contained in:
1 parent
145ce35b1b
commit
822fd528b3
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user