odoo-addon-openupgrade-scripts 17.0.1.0.1.431__py3-none-any.whl → 17.0.1.0.1.432__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/account/17.0.1.2/post-migration.py +11 -1
- odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/pre-migration.py +1 -7
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.431.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.432.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.431.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.432.dist-info}/RECORD +6 -6
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.431.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.432.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.431.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.432.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
# Copyright 2024 Viindoo Technology Joint Stock Company (Viindoo)
|
2
2
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
3
3
|
|
4
|
-
from openupgradelib import openupgrade
|
4
|
+
from openupgradelib import openupgrade, openupgrade_160
|
5
5
|
|
6
6
|
from odoo import models
|
7
7
|
|
@@ -558,6 +558,15 @@ def _rename_coa_elements_xmlids(env):
|
|
558
558
|
)
|
559
559
|
|
560
560
|
|
561
|
+
def _convert_account_tax_description(env):
|
562
|
+
# Deliberately call migrate_translations_to_jsonb instead of
|
563
|
+
# convert_column_translatable to support the case you have translate=True on
|
564
|
+
# the field in v16 (l10n_multilang compatibility).
|
565
|
+
openupgrade_160.migrate_translations_to_jsonb(
|
566
|
+
env, [("account.tax", "invoice_label")]
|
567
|
+
)
|
568
|
+
|
569
|
+
|
561
570
|
@openupgrade.migrate()
|
562
571
|
def migrate(env, version):
|
563
572
|
_account_payment_term_migration(env)
|
@@ -583,3 +592,4 @@ def migrate(env, version):
|
|
583
592
|
_map_chart_template_id_to_chart_template(env, "res_company")
|
584
593
|
_map_chart_template_id_to_chart_template(env, "account_report")
|
585
594
|
_rename_coa_elements_xmlids(env)
|
595
|
+
_convert_account_tax_description(env)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# Copyright 2024 Viindoo Technology Joint Stock Company (Viindoo)
|
2
2
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
3
|
-
from openupgradelib import openupgrade
|
3
|
+
from openupgradelib import openupgrade
|
4
4
|
|
5
5
|
_fields_renames = [
|
6
6
|
(
|
@@ -71,12 +71,6 @@ def _convert_account_tax_description(env):
|
|
71
71
|
openupgrade.rename_columns(
|
72
72
|
env.cr, {"account_tax": [("description", "invoice_label")]}
|
73
73
|
)
|
74
|
-
# Deliberately call migrate_translations_to_jsonb instead of
|
75
|
-
# convert_column_translatable to support the case you have translate=True on
|
76
|
-
# the field in v16 (l10n_multilang compatibility).
|
77
|
-
openupgrade_160.migrate_translations_to_jsonb(
|
78
|
-
env, [("account_tax", "invoice_label")]
|
79
|
-
)
|
80
74
|
|
81
75
|
|
82
76
|
def _am_create_delivery_date_column(env):
|
@@ -8,8 +8,8 @@ odoo/addons/openupgrade_scripts/readme/INSTALL.md,sha256=NDKVZRv0J8BTqcSTD7JwUXL
|
|
8
8
|
odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/end-migration.py,sha256=G6OWCYdYG6u0MqwPDR7oOQKZr1MQshiO_90VvZYiXHA,1714
|
9
9
|
odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/noupdate_changes.xml,sha256=8s62iD--I0CEeBE1C3mAsS9LMCg7Uw3YNwK8WmSfAZw,8531
|
10
10
|
odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/noupdate_changes_work.xml,sha256=eIPxEPrqPOdaH4U2i0ttgP3xB_vLh_GEXqPPZx3lKVU,8751
|
11
|
-
odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/post-migration.py,sha256=
|
12
|
-
odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/pre-migration.py,sha256=
|
11
|
+
odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/post-migration.py,sha256=lQQAP1skFSITn76JxkUSBUu5yQUAmbeAqwUKhnFDhUQ,21570
|
12
|
+
odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/pre-migration.py,sha256=2SOSantpIKDxtOx0bvdmj9Nji_MWUuXQyLc0LltB2-8,8517
|
13
13
|
odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/upgrade_analysis.txt,sha256=hKMBi1_qDpYpzCmdjzh4E7OMIrtLN8ha97bqqK0FTvo,39700
|
14
14
|
odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/upgrade_analysis_work.txt,sha256=JYdR14ndafoDGFoCkaIv5E94MqwZ46nmG-IEtHg7YjY,44220
|
15
15
|
odoo/addons/openupgrade_scripts/scripts/account/tests/data_account_migration.py,sha256=X2PQ8HnArd9SDH-7VpYWmDpjmCs2tH_GkR7YLKnDoWA,491
|
@@ -808,7 +808,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/17.0.1.0/upgrade_analysi
|
|
808
808
|
odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
|
809
809
|
odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
810
810
|
odoo/addons/openupgrade_scripts/static/description/index.html,sha256=iV41-zYBM4uvZPuunpcr7bQeRgBaojVsKo_gkeyJyA4,12639
|
811
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
812
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
813
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
814
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
811
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.432.dist-info/METADATA,sha256=i0_pMsM4K48P7x9NYzCkiGZnFjeFyqH76ZbPR7g347A,3823
|
812
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.432.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
|
813
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.432.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
814
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.432.dist-info/RECORD,,
|
File without changes
|