summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-05-14 08:42:25 +0000
committerChristophe Simonis <chs@odoo.com>2019-06-20 10:01:31 +0000
commit7b16abbae1d3af0e57730be872cef6b1f7d7a244 (patch)
tree896bd389606b85223b7d23ebbd0f6fa6d1233f85 /addons/web/static/src/js/fields/basic_fields.js
parentea4ddff117ef5015c7e8c2db551a9399930177b7 (diff)
[IMP] core: add support for multi-version migration scripts
A special folder named `0.0.0` can contain scripts that are run on upgrade of any version. They are useful to make some sanity checks or other verifications to ensure database consistency. The first version of this patch used the more eye-catching `any` for the migration folder, but it was problematic for upgrading from an older version that doesn't contain this patch. Using a version "number" containing two dots is required to avoid it being prefixed with the server version (see `convert_version` method) and resulting in a version like `10.0.any`. Such version would have been executed, even without this patch, when upgrading from an older major server version (9.0.1.0 < 10.0.any). closes odoo/odoo#34268 Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions