Fix search on ir.model.data for new inherit field for issue394
This commit is contained in:
1 parent
c52f1883ce
commit
fa2b28b514
2 files changed
+2
No files matched your search
@@ -185,6 +185,7 @@ class OpenProduct(Wizard):
|
||||
model_data_ids = model_data_obj.search(cursor, user, [
|
||||
('fs_id', '=', 'act_product_by_location'),
|
||||
('module', '=', 'stock'),
|
||||
('inherit', '=', False),
|
||||
], limit=1, context=context)
|
||||
model_data = model_data_obj.browse(cursor, user, model_data_ids[0],
|
||||
context=context)
|
||||
|
||||
@@ -363,6 +363,7 @@ class OpenLocation(Wizard):
|
||||
model_data_ids = model_data_obj.search(cursor, user, [
|
||||
('fs_id', '=', 'act_location_quantity_tree'),
|
||||
('module', '=', 'stock'),
|
||||
('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