Browse Source

publish muk_web_utils - 12.0

pull/35/head
MuK IT GmbH 6 years ago
parent
commit
a067fe407e
  1. 1
      muk_web_utils/models/res_config_settings.py

1
muk_web_utils/models/res_config_settings.py

@ -40,7 +40,6 @@ class ResConfigSettings(models.TransientModel):
ret_val = super(ResConfigSettings, self).fields_view_get(
view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)
modules = self.env['ir.module.module'].sudo().search([]).mapped('name')
print(modules)
document = etree.XML(ret_val['arch'])
for field in ret_val['fields']:
if field.startswith("module_") and field[len("module_"):] not in modules:

Loading…
Cancel
Save