odoo-addon-openupgrade-scripts 16.0.1.0.3.249__py3-none-any.whl → 16.0.1.0.3.251__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/apriori.py +2 -0
- odoo/addons/openupgrade_scripts/scripts/account/16.0.1.2/pre-migration.py +21 -0
- {odoo_addon_openupgrade_scripts-16.0.1.0.3.249.dist-info → odoo_addon_openupgrade_scripts-16.0.1.0.3.251.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-16.0.1.0.3.249.dist-info → odoo_addon_openupgrade_scripts-16.0.1.0.3.251.dist-info}/RECORD +6 -6
- {odoo_addon_openupgrade_scripts-16.0.1.0.3.249.dist-info → odoo_addon_openupgrade_scripts-16.0.1.0.3.251.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-16.0.1.0.3.249.dist-info → odoo_addon_openupgrade_scripts-16.0.1.0.3.251.dist-info}/top_level.txt +0 -0
@@ -29,6 +29,8 @@ renamed_modules = {
|
|
29
29
|
"crm_project": "crm_lead_to_task",
|
30
30
|
# OCA/knowledge
|
31
31
|
"knowledge": "document_knowledge",
|
32
|
+
# OCA/project
|
33
|
+
"project_stage_mgmt": "project_task_stage_mgmt",
|
32
34
|
# OCA/sale-promotion
|
33
35
|
"coupon_incompatibility": "loyalty_incompatibility",
|
34
36
|
"coupon_limit": "loyalty_limit",
|
@@ -387,6 +387,26 @@ def _account_journal_payment_sequence(env):
|
|
387
387
|
)
|
388
388
|
|
389
389
|
|
390
|
+
def _fill_repartition_line_use_in_tax_closing(env):
|
391
|
+
"""This field was introduced in v14, but it was not impacting in anything noticeable
|
392
|
+
till this version, where not having this marked in the taxes lines makes that the
|
393
|
+
tax lines take the analytic dimensions no matter if the analytic field is marked or
|
394
|
+
not.
|
395
|
+
|
396
|
+
As a compromise solution, let's assign this as True for those that have no value,
|
397
|
+
which are those coming from old versions.
|
398
|
+
"""
|
399
|
+
openupgrade.logged_query(
|
400
|
+
env.cr,
|
401
|
+
"""
|
402
|
+
UPDATE account_tax_repartition_line
|
403
|
+
SET use_in_tax_closing = True
|
404
|
+
WHERE repartition_type = 'tax'
|
405
|
+
AND use_in_tax_closing IS NULL;
|
406
|
+
""",
|
407
|
+
)
|
408
|
+
|
409
|
+
|
390
410
|
@openupgrade.migrate()
|
391
411
|
def migrate(env, version):
|
392
412
|
openupgrade.rename_xmlids(env.cr, _xmlids_renames)
|
@@ -416,3 +436,4 @@ def migrate(env, version):
|
|
416
436
|
)
|
417
437
|
_fast_fill_account_payment_amount_company_currency_signed(env)
|
418
438
|
_account_journal_payment_sequence(env)
|
439
|
+
_fill_repartition_line_use_in_tax_closing(env)
|
@@ -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.251
|
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)
|
@@ -1,13 +1,13 @@
|
|
1
1
|
odoo/addons/openupgrade_scripts/README.rst,sha256=tNIgN-fE7UT1K-zMaK80ewZZOUaxzqYgufpYk2PHckU,3185
|
2
2
|
odoo/addons/openupgrade_scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
odoo/addons/openupgrade_scripts/__manifest__.py,sha256=pE4R-JQdRitStZ2m2AN39foAoEfLWmwuL9nhHP1i3r8,614
|
4
|
-
odoo/addons/openupgrade_scripts/apriori.py,sha256=
|
4
|
+
odoo/addons/openupgrade_scripts/apriori.py,sha256=MA41ynO_7jHX8tYUVyFQQzmIZvUoyQKnKsDHva9FBR0,5442
|
5
5
|
odoo/addons/openupgrade_scripts/readme/CONFIGURE.rst,sha256=cy1swpDkuqi9-6q8L1M1QD058QyfBvAE2PN_mmdxvwI,255
|
6
6
|
odoo/addons/openupgrade_scripts/readme/DESCRIPTION.rst,sha256=ckrM5YlY8awluPWIV7WOBynTOG_QKOjXrCsXD_RhmyU,86
|
7
7
|
odoo/addons/openupgrade_scripts/readme/INSTALL.rst,sha256=tXbOmw3QIhO1KLIziMpXzuuY0tOhI8IGT2ktCArwfGM,115
|
8
8
|
odoo/addons/openupgrade_scripts/scripts/account/16.0.1.2/noupdate_changes.xml,sha256=dQ5BuaiRxlN_swXTEwFBLUdIW87wJBaol5qeGcoiYgw,8353
|
9
9
|
odoo/addons/openupgrade_scripts/scripts/account/16.0.1.2/post-migration.py,sha256=g05FDRVwXVnKOoiqHV6RXQe1pyb7JnXts2eW_sjcC00,2085
|
10
|
-
odoo/addons/openupgrade_scripts/scripts/account/16.0.1.2/pre-migration.py,sha256=
|
10
|
+
odoo/addons/openupgrade_scripts/scripts/account/16.0.1.2/pre-migration.py,sha256=6dAqaVQJZ5uNohNb-lMWKf3HFNTRx_kQKyqobBSe6-Q,15609
|
11
11
|
odoo/addons/openupgrade_scripts/scripts/account/16.0.1.2/upgrade_analysis.txt,sha256=LAGIn64-_mvvep8AfaPBS8qqo8O3dzw4wNA-5FgyQ0k,39201
|
12
12
|
odoo/addons/openupgrade_scripts/scripts/account/16.0.1.2/upgrade_analysis_work.txt,sha256=QOmM5TAbcJtQmdVxlIfyUpCkL4DMlKjmPJ7ZMUWFIrM,41750
|
13
13
|
odoo/addons/openupgrade_scripts/scripts/account_check_printing/16.0.1.0/upgrade_analysis.txt,sha256=LLJ88stlAeeCNgxAIiORZjQjbY-Sir138GI_FBpjIeE,189
|
@@ -692,7 +692,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/16.0.1.0/upgrade_analysi
|
|
692
692
|
odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
|
693
693
|
odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
694
694
|
odoo/addons/openupgrade_scripts/static/description/index.html,sha256=IOWtZdzr_jN_Dja8HYIfzIxrO8NE5pFgazKJtPsLKw0,12678
|
695
|
-
odoo_addon_openupgrade_scripts-16.0.1.0.3.
|
696
|
-
odoo_addon_openupgrade_scripts-16.0.1.0.3.
|
697
|
-
odoo_addon_openupgrade_scripts-16.0.1.0.3.
|
698
|
-
odoo_addon_openupgrade_scripts-16.0.1.0.3.
|
695
|
+
odoo_addon_openupgrade_scripts-16.0.1.0.3.251.dist-info/METADATA,sha256=rWn9F8oOJulHQASJ2QK8JwkpSYKaSma61fJ9P_6qbvc,3810
|
696
|
+
odoo_addon_openupgrade_scripts-16.0.1.0.3.251.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
697
|
+
odoo_addon_openupgrade_scripts-16.0.1.0.3.251.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
698
|
+
odoo_addon_openupgrade_scripts-16.0.1.0.3.251.dist-info/RECORD,,
|
File without changes
|