diff --git a/trytond/ir/module/module.py b/trytond/ir/module/module.py index 0e5e0f7665..cf19a5bbb6 100644 --- a/trytond/ir/module/module.py +++ b/trytond/ir/module/module.py @@ -679,10 +679,23 @@ class ModuleInstallUpgrade(Wizard): 'type': 'form', 'object': 'ir.module.module.install_upgrade.start', 'state': [ - ('end', 'Close', 'gtk-close', True), + ('config', 'Ok', 'gtk-ok', True), ], }, }, + 'config': { + 'result': { + 'type': 'action', + 'action': '_config', + 'state': 'end', + }, + }, } + def _config(self, cursor, user, data, context=None): + return { + 'type': 'ir.action.wizard', + 'wiz_name': 'ir.module.module.config_wizard', + } + ModuleInstallUpgrade() diff --git a/trytond/osv/orm.py b/trytond/osv/orm.py index d008e05a6d..a656a58840 100644 --- a/trytond/osv/orm.py +++ b/trytond/osv/orm.py @@ -1903,6 +1903,8 @@ class ORM(object): xml = '''''' \ '''
''' % (self._description,) for i in res: + if i in ('create_uid', 'create_date', 'write_uid', 'write_date'): + continue if res[i]['type'] not in ('one2many', 'many2many'): xml += '