upgrade-util
upgrade-util copied to clipboard
Utility helpers to write better upgrade scripts.
Commits 5b944f7cad5512d90938a28b6db93efb9231a5d8 and 1d9e20e5e8838664ccfb025580a2e0f3ec1d535a did not consider the case of empty paths, what was fixed in a05df6682b5d72c8d059872755e75c80d44d32c2. Due to its urgent nature, no tests were added with the fix's commit....
`delete_unused`, in spite of its name, deletes records even if they are used, provided they are not part of a foreign key with `restrict` ondelete clause.
**Issue:** When exporting data using the existing export template, a traceback error occurs. ```python Traceback (most recent call last): File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1783, in _serve_db return service_model.retrying(self._serve_ir_http, self.env) File "/home/odoo/src/odoo/17.0/odoo/service/model.py",...
If the class does not have the correct name, it is possible to force the model name using `_name`. In order to minimize changes for migration scripts, the solution of...
The goal is to warn users that have just upgraded and get them curious about the new features. TaskID: 3950689
During module uninstall, we should remove some groups, which is prohibited when a rule is linked to it (ON DELETE RESTRICT).
db have record rule which are created from interface or either standard record rule external_id is missing got disable during neturlize(run_sanitizer) this can block the upgrade process due to access...
In `convert_html_columns()`, we select 100MiB worth of DB tuples and pass them to a ProcessPoolExecutor together with a converter callable. So far, the converter returns all tuples, changed or unchanged...
odoo/odoo#182371
… formatting The usage of `str.format` to inject the parallel filter used to explode queries is not robust to the presence of other curly braces. Examples: 1. `JSON` strings (typically...