upgrade-util
upgrade-util copied to clipboard
Utility helpers to write better upgrade scripts.
In such domain, the right-hand term is domain that should also be adatped. See https://github.com/odoo/odoo/commit/5a998694a6f353da05d7f69e4c59b9e7dd139e27
Properly handle ir.exports, especially on model/fields removal. See commits for additional details.
- Remove multiple calls and number of calls mechanism. COM: odoo/odoo#151628 ENT: odoo/enterprise#58157 UP: https://github.com/odoo/upgrade/pull/5786 task-id: 3687442
When utilizing 'def remove_inherit_from_model' method, it removes fields to disconnect two models, eliminating all custom fields created by customers. To prevent this, adding one condition. Recentally i saw that issue...
The implementation of the python inheritance mechanism between the base class `ir.actions.actions` and its child classes (eg. `ir.actions.act_window`) does not allow the creation of foreign keys when `ir.actions.actions` is a...
Overview of changes (see commits for details): - refactored BootstrapConverter code, separating conversion code and operations from bootstrap-specific code. This way other kind of converters can be implemented, reusing pre-defined...
Context ======= `safe_eval` is Odoo's sandbox, this mechanism allows users and developpers to write templates, server actions, and more without worrying about the security risks associated with arbitrary code execution....
The `convert_html_content` tool writes XML values if a change happened. This is a problem for the fields of `mailing.mailing` because they strictly expect HTML content. E.g. if `` becomes ``,...
See odoo/upgrade#2208 See odoo/enterprise#16084
This commit aims to make views compatible which are generated when a search filter is created using studio, view looks like ```xml ``` Currently after upgrade this view will be...