Fix search on ir.model.data for new inherit field for issue394
This commit is contained in:
1 parent
aaaccf2df5
commit
c46da89763
2 files changed
+2
No files matched your search
@@ -343,6 +343,7 @@ class OpenChartAccount(Wizard):
|
||||
model_data_ids = model_data_obj.search(cursor, user, [
|
||||
('fs_id', '=', 'act_account_tree2'),
|
||||
('module', '=', 'analytic_account'),
|
||||
('inherit', '=', False),
|
||||
], limit=1, context=context)
|
||||
model_data = model_data_obj.browse(cursor, user, model_data_ids[0],
|
||||
context=context)
|
||||
|
||||
@@ -117,6 +117,7 @@ class OpenAccount(Wizard):
|
||||
model_data_ids = model_data_obj.search(cursor, user, [
|
||||
('fs_id', '=', 'act_line_form'),
|
||||
('module', '=', 'analytic_account'),
|
||||
('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