odoo-addon-openupgrade-scripts 16.0.1.0.3.246__py3-none-any.whl → 16.0.1.0.3.249__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/16.0.1.2/pre-migration.py +12 -0
- odoo/addons/openupgrade_scripts/scripts/sale_purchase/16.0.1.0/post-migration.py +0 -5
- odoo/addons/openupgrade_scripts/scripts/sale_purchase/16.0.1.0/upgrade_analysis_work.txt +1 -1
- {odoo_addon_openupgrade_scripts-16.0.1.0.3.246.dist-info → odoo_addon_openupgrade_scripts-16.0.1.0.3.249.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-16.0.1.0.3.246.dist-info → odoo_addon_openupgrade_scripts-16.0.1.0.3.249.dist-info}/RECORD +7 -7
- {odoo_addon_openupgrade_scripts-16.0.1.0.3.246.dist-info → odoo_addon_openupgrade_scripts-16.0.1.0.3.249.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-16.0.1.0.3.246.dist-info → odoo_addon_openupgrade_scripts-16.0.1.0.3.249.dist-info}/top_level.txt +0 -0
@@ -215,6 +215,18 @@ def _account_move_fast_fill_display_type(env):
|
|
215
215
|
WHERE aml.id = sub.id;
|
216
216
|
""",
|
217
217
|
)
|
218
|
+
# Extra actions: set quantity = 0 for lines of type tax or payment_term according
|
219
|
+
# https://github.com/odoo/odoo/blob/666229a0046e2d0e8331115e0247ad41734fb6e3/
|
220
|
+
# addons/account/tests/test_account_move_out_invoice.py#L69
|
221
|
+
# and
|
222
|
+
# https://github.com/odoo/odoo/blob/666229a0046e2d0e8331115e0247ad41734fb6e3/
|
223
|
+
# addons/account/tests/test_account_move_out_invoice.py#L107
|
224
|
+
openupgrade.logged_query(
|
225
|
+
env.cr,
|
226
|
+
"UPDATE account_move_line SET quantity = 0.00 "
|
227
|
+
"WHERE display_type IN ('tax', 'payment_term') "
|
228
|
+
"AND quantity IS DISTINCT FROM 0",
|
229
|
+
)
|
218
230
|
|
219
231
|
|
220
232
|
def _account_move_auto_post_boolean_to_selection(env):
|
@@ -76,11 +76,6 @@ def convert_service_to_purchase_to_company_dependent(env):
|
|
76
76
|
@openupgrade.migrate()
|
77
77
|
def migrate(env, version):
|
78
78
|
convert_service_to_purchase_to_company_dependent(env)
|
79
|
-
constraint = env.ref(
|
80
|
-
"sale_purchase.constraint_product_template_service_to_purchase", False
|
81
|
-
)
|
82
|
-
if constraint:
|
83
|
-
constraint._module_data_uninstall()
|
84
79
|
openupgrade.delete_records_safely_by_xml_id(
|
85
80
|
env, ["sale_purchase.constraint_product_template_service_to_purchase"]
|
86
81
|
)
|
@@ -5,7 +5,7 @@ sale_purchase / product.template / service_to_purchase (boolean) : not s
|
|
5
5
|
|
6
6
|
---XML records in module 'sale_purchase'---
|
7
7
|
DEL ir.model.constraint: sale_purchase.constraint_product_template_service_to_purchase
|
8
|
-
#
|
8
|
+
# NOTHING TO DO: Handled in ORM since https://github.com/odoo/odoo/commit/3fd308981d077bd9b93394d45defaa990d9c7acd
|
9
9
|
|
10
10
|
NEW ir.ui.view: sale_purchase.sale_order_cancel_view_form
|
11
11
|
# NOTHING TO DO
|
@@ -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.249
|
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)
|
@@ -7,7 +7,7 @@ odoo/addons/openupgrade_scripts/readme/DESCRIPTION.rst,sha256=ckrM5YlY8awluPWIV7
|
|
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=jSns2GZbTBhXw1_npAB1I0x4KK0FIpx_kXkIHPtttf0,14853
|
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
|
@@ -536,9 +536,9 @@ odoo/addons/openupgrade_scripts/scripts/sale_product_matrix/16.0.1.0/upgrade_ana
|
|
536
536
|
odoo/addons/openupgrade_scripts/scripts/sale_project/16.0.1.0/upgrade_analysis.txt,sha256=3_MabDi3INHUQI9b0qYLPEAgQ-FiMBVyz6cf3eoldlU,1618
|
537
537
|
odoo/addons/openupgrade_scripts/scripts/sale_project/16.0.1.0/upgrade_analysis_work.txt,sha256=XzPdzthCMjGri6-BgxmrLPf1ctXo1i-k8VXdsc80xKg,1648
|
538
538
|
odoo/addons/openupgrade_scripts/scripts/sale_project_stock/16.0.1.0/upgrade_analysis.txt,sha256=CvydNXFLRJ3UyF1j1fW0FMiIYjMGFaA-KI8t4nPXekM,221
|
539
|
-
odoo/addons/openupgrade_scripts/scripts/sale_purchase/16.0.1.0/post-migration.py,sha256=
|
539
|
+
odoo/addons/openupgrade_scripts/scripts/sale_purchase/16.0.1.0/post-migration.py,sha256=jE3_wgMKNsR4vYb46eDAJNa9HezRvVb1dVIixSgAC24,2697
|
540
540
|
odoo/addons/openupgrade_scripts/scripts/sale_purchase/16.0.1.0/upgrade_analysis.txt,sha256=KICfQiqiyfFj1kfW0VXF0zyk8wnik_0APGVT0JdU9lY,361
|
541
|
-
odoo/addons/openupgrade_scripts/scripts/sale_purchase/16.0.1.0/upgrade_analysis_work.txt,sha256=
|
541
|
+
odoo/addons/openupgrade_scripts/scripts/sale_purchase/16.0.1.0/upgrade_analysis_work.txt,sha256=ttfZve14lRjW8ZZHmie4A0ziCkTnTqMxbbUc3_7WGdo,553
|
542
542
|
odoo/addons/openupgrade_scripts/scripts/sale_quotation_builder/16.0.1.0/noupdate_changes.xml,sha256=rgaGcEPiWrUftrz6BetgECgDqG3M3Nygj3XmTBVMvbo,3497
|
543
543
|
odoo/addons/openupgrade_scripts/scripts/sale_quotation_builder/16.0.1.0/upgrade_analysis.txt,sha256=06ej-ps7VMDzYrQl7Hdd6uR_V_uhY2mtKQniOHUwmtA,351
|
544
544
|
odoo/addons/openupgrade_scripts/scripts/sale_stock/16.0.1.0/pre-migration.py,sha256=HokoL5uhqtcBIZFSGMGiH215GZGHnLqXs7q7ko5lKLc,1606
|
@@ -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.249.dist-info/METADATA,sha256=vYWMT7WUSYsiA-qIAYUXVUgm8-Yr_rKitjprmSajz2k,3810
|
696
|
+
odoo_addon_openupgrade_scripts-16.0.1.0.3.249.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
697
|
+
odoo_addon_openupgrade_scripts-16.0.1.0.3.249.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
698
|
+
odoo_addon_openupgrade_scripts-16.0.1.0.3.249.dist-info/RECORD,,
|
File without changes
|