odoo/upgrade-util#313
Created by Upgrade, AgustÃn Castro Bugallo (agcb)
Blocked
- Merge method
- Review
-
CI
- ci/runbot: Test upgrades between stable versions
- ci/upgrade_enterprise: Test upgrades for enterprise master
- label
- odoo-dev:master-fields-allownocompanyfieldincompanydependent-agcb
- head
- f131338731d7eec34e0028feb6ae95568525d761
odoo/upgrade-util | |
---|---|
master | #313 missing r+ |
[IMP] util/fields: Convert to company dependent without company field
The current implementation of the function _convert_field_to_company_dependent
requires a field that stores the company value, but this field is not always available.
This change aims to allow that case by passing a falsy value as company_field, then it creates a json with the current value for all companies as the new value in the column