odoo-addon-openupgrade-scripts 16.0.1.0.3.258__py3-none-any.whl → 16.0.1.0.3.259__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/openupgrade_scripts/scripts/website/16.0.1.0/end-migration.py +5 -0
- {odoo_addon_openupgrade_scripts-16.0.1.0.3.258.dist-info → odoo_addon_openupgrade_scripts-16.0.1.0.3.259.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-16.0.1.0.3.258.dist-info → odoo_addon_openupgrade_scripts-16.0.1.0.3.259.dist-info}/RECORD +5 -5
- {odoo_addon_openupgrade_scripts-16.0.1.0.3.258.dist-info → odoo_addon_openupgrade_scripts-16.0.1.0.3.259.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-16.0.1.0.3.258.dist-info → odoo_addon_openupgrade_scripts-16.0.1.0.3.259.dist-info}/top_level.txt +0 -0
@@ -1,9 +1,13 @@
|
|
1
|
+
import logging
|
2
|
+
|
1
3
|
from openupgradelib import openupgrade
|
2
4
|
from openupgradelib.openupgrade_160 import (
|
3
5
|
_convert_field_bootstrap_4to5_sql,
|
4
6
|
convert_field_bootstrap_4to5,
|
5
7
|
)
|
6
8
|
|
9
|
+
logger = logging.getLogger(__name__)
|
10
|
+
|
7
11
|
|
8
12
|
def convert_custom_qweb_templates_bootstrap_4to5(env):
|
9
13
|
"""Convert customized website views to Bootstrap 5."""
|
@@ -46,6 +50,7 @@ def convert_field_html_string_bootstrap_4to5(env):
|
|
46
50
|
model = field.model_id.model
|
47
51
|
if model in exclusions:
|
48
52
|
continue
|
53
|
+
logger.info(f"Converting from BS4 to BS5 field {field} in model {model}")
|
49
54
|
if env.get(model, False) is not False and env[model]._auto:
|
50
55
|
if openupgrade.table_exists(env.cr, env[model]._table):
|
51
56
|
if field.name in env[model]._fields and openupgrade.column_exists(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: odoo-addon-openupgrade-scripts
|
3
|
-
Version: 16.0.1.0.3.
|
3
|
+
Version: 16.0.1.0.3.259
|
4
4
|
Summary: Module that contains all the migrations analysis and scripts for migrate Odoo SA modules.
|
5
5
|
Home-page: https://github.com/OCA/OpenUpgrade
|
6
6
|
Author: Odoo Community Association (OCA)
|
@@ -606,7 +606,7 @@ odoo/addons/openupgrade_scripts/scripts/web_editor/16.0.1.0/upgrade_analysis.txt
|
|
606
606
|
odoo/addons/openupgrade_scripts/scripts/web_editor/16.0.1.0/upgrade_analysis_work.txt,sha256=0aFLxiZZm2pddnvepo7jSIJ3Iek3mnH4oLV7rnG0jRE,213
|
607
607
|
odoo/addons/openupgrade_scripts/scripts/web_tour/16.0.0.1/upgrade_analysis.txt,sha256=_dVyBxQ-ck0iyHgRd6mifxeSsMCRxdpCQcCDVn-lvMk,147
|
608
608
|
odoo/addons/openupgrade_scripts/scripts/web_tour/16.0.0.1/upgrade_analysis_work.txt,sha256=OFVVLWaIounkcVq_mmX4DP7on6of6oG3NFVgMQ2KEZc,163
|
609
|
-
odoo/addons/openupgrade_scripts/scripts/website/16.0.1.0/end-migration.py,sha256=
|
609
|
+
odoo/addons/openupgrade_scripts/scripts/website/16.0.1.0/end-migration.py,sha256=ZKQ7260nW_OZqCzXNYkLjIVzukKzCM8SC0ej_r4youc,3005
|
610
610
|
odoo/addons/openupgrade_scripts/scripts/website/16.0.1.0/noupdate_changes.xml,sha256=L-3aiHxRTaP4bwEAnpCcb5PmP1DF4HXNTGb70cgsnb0,218
|
611
611
|
odoo/addons/openupgrade_scripts/scripts/website/16.0.1.0/post-migration.py,sha256=o6fuzgKXOoamlXNMm9UYMGrWJ7xEnvyNzRNiK-h-ZWA,169
|
612
612
|
odoo/addons/openupgrade_scripts/scripts/website/16.0.1.0/pre-migration.py,sha256=Invtw62qgK3tIwp8vcjNueh9b5pnztTXfmuMsWiyoBU,4709
|
@@ -699,7 +699,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/16.0.1.0/upgrade_analysi
|
|
699
699
|
odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
|
700
700
|
odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
701
701
|
odoo/addons/openupgrade_scripts/static/description/index.html,sha256=IOWtZdzr_jN_Dja8HYIfzIxrO8NE5pFgazKJtPsLKw0,12678
|
702
|
-
odoo_addon_openupgrade_scripts-16.0.1.0.3.
|
703
|
-
odoo_addon_openupgrade_scripts-16.0.1.0.3.
|
704
|
-
odoo_addon_openupgrade_scripts-16.0.1.0.3.
|
705
|
-
odoo_addon_openupgrade_scripts-16.0.1.0.3.
|
702
|
+
odoo_addon_openupgrade_scripts-16.0.1.0.3.259.dist-info/METADATA,sha256=3oBQdV209jHrWred6hGkAom2g58d7FWn4iZ1oVXy2AU,3810
|
703
|
+
odoo_addon_openupgrade_scripts-16.0.1.0.3.259.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
704
|
+
odoo_addon_openupgrade_scripts-16.0.1.0.3.259.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
705
|
+
odoo_addon_openupgrade_scripts-16.0.1.0.3.259.dist-info/RECORD,,
|
File without changes
|