dbkosky
authored
The issue is that the config param is data, which means that when the module is updated, the config parameter will be updated (i.e. reset to the 'demo' state), which will cause havoc on client databases. Even if we set the record to 'noupdate=1', the existing clients will have the record updated. The solution is to remove the config param from the data entirely, thus preventing it from being updated when updating the module, and instead have a 'post_init_hook' that sets the parameter to 'demo' (this will only happen when the module is installed, and never again). closes odoo/odoo#86607 X-original-commit: 1d3cd7ee Signed-off-by:Josse Colpaert <jco@odoo.com>
Name | Last commit | Last update |
---|---|---|
.. | ||
i18n | ||
i18n_extra | ||
models | ||
security | ||
__init__.py | ||
__manifest__.py |