odoo-addon-openupgrade-scripts 15.0.1.0.0.512__py3-none-any.whl → 15.0.1.0.0.513__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.
@@ -79,6 +79,7 @@ merged_modules = {
79
79
  "mrp_subcontracting_resupply_link": "mrp_subcontracting_purchase",
80
80
  # OCA/pos
81
81
  "pos_invoicing": "point_of_sale",
82
+ "pos_order_line_note": "point_of_sale",
82
83
  "pos_order_mgmt": "point_of_sale",
83
84
  "pos_order_return": "point_of_sale",
84
85
  "pos_sale_order_load": "pos_sale",
@@ -28,9 +28,29 @@ def merge_pos_order_return_module(env):
28
28
  )
29
29
 
30
30
 
31
+ def merge_pos_order_line_module(env):
32
+ """
33
+ The OCA/pos_order_line_note module (V12) is now merged into point_of_sale. We can hook into
34
+ the new core functionality just renaming the proper field.
35
+ """
36
+ if openupgrade.column_exists(env.cr, "pos_order_line", "note"):
37
+ openupgrade.rename_fields(
38
+ env,
39
+ [
40
+ (
41
+ "pos.order.line",
42
+ "pos_order_line",
43
+ "note",
44
+ "customer_note",
45
+ ),
46
+ ],
47
+ )
48
+
49
+
31
50
  @openupgrade.migrate()
32
51
  def migrate(env, version):
33
52
  merge_pos_order_return_module(env)
53
+ merge_pos_order_line_module(env)
34
54
  openupgrade.rename_fields(
35
55
  env,
36
56
  [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-openupgrade_scripts
3
- Version: 15.0.1.0.0.512
3
+ Version: 15.0.1.0.0.513
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)
@@ -11,7 +11,7 @@ Classifier: Framework :: Odoo
11
11
  Classifier: Framework :: Odoo :: 15.0
12
12
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
13
13
  Requires-Python: >=3.8
14
- Requires-Dist: odoo <15.1dev,>=15.0a
14
+ Requires-Dist: odoo<15.1dev,>=15.0a
15
15
 
16
16
  ===================
17
17
  Openupgrade Scripts
@@ -1,7 +1,7 @@
1
1
  odoo/addons/openupgrade_scripts/README.rst,sha256=TFoeSTQ1dga9OiOaWPPw6VjE4FXLq6kAMfvg3HDTW3I,3185
2
2
  odoo/addons/openupgrade_scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  odoo/addons/openupgrade_scripts/__manifest__.py,sha256=Bg1odtEI40Tp3WWqRv_MMkuERgls81FORzrUAzezsxg,553
4
- odoo/addons/openupgrade_scripts/apriori.py,sha256=eEzc4BDXD3zDg13dHSL8_rHcpcS5vasX0ncZyShqqJY,4674
4
+ odoo/addons/openupgrade_scripts/apriori.py,sha256=l4Gni_a8u2hlcDg1XVHpa9ivGjLE1gNwoFmwaj6Cu5Y,4718
5
5
  odoo/addons/openupgrade_scripts/readme/CONFIGURE.rst,sha256=cy1swpDkuqi9-6q8L1M1QD058QyfBvAE2PN_mmdxvwI,255
6
6
  odoo/addons/openupgrade_scripts/readme/DESCRIPTION.rst,sha256=elLk0eys-xy60z5KMgqlCKySJWT_k2gTUoOiArMJkWc,86
7
7
  odoo/addons/openupgrade_scripts/readme/INSTALL.rst,sha256=tXbOmw3QIhO1KLIziMpXzuuY0tOhI8IGT2ktCArwfGM,115
@@ -489,7 +489,7 @@ odoo/addons/openupgrade_scripts/scripts/payment_transfer/15.0.2.0/upgrade_analys
489
489
  odoo/addons/openupgrade_scripts/scripts/payment_transfer/15.0.2.0/upgrade_analysis_work.txt,sha256=vrUWFcV-jmpcGiAXnbxwYySSS5SgXF7X4m0hELy38BA,1026
490
490
  odoo/addons/openupgrade_scripts/scripts/phone_validation/15.0.2.1/upgrade_analysis.txt,sha256=YbxCg-4Tfc9R44jlmyuTQEFtFNtgl1l7lCaHDxDbq8Y,180
491
491
  odoo/addons/openupgrade_scripts/scripts/phone_validation/15.0.2.1/upgrade_analysis_work.txt,sha256=7KehuhfF_NlsU7UAHsa8DLKepZDfvlqzQ8LNeaqrKQA,301
492
- odoo/addons/openupgrade_scripts/scripts/point_of_sale/15.0.1.0.1/pre-migration.py,sha256=Q9LRo0gf44qEVlcx65-t_ApvBIJqvu9MV5UBTuK8G1k,1618
492
+ odoo/addons/openupgrade_scripts/scripts/point_of_sale/15.0.1.0.1/pre-migration.py,sha256=ZPXznTC4Mr6CLUAe6VEd9bWHrIlcnDFbZopnFeF7S6g,2207
493
493
  odoo/addons/openupgrade_scripts/scripts/point_of_sale/15.0.1.0.1/upgrade_analysis.txt,sha256=JW0fHqC0rJ55cAKKyh-QCguOXhzrc-Bl1M_qcIGTs1k,7323
494
494
  odoo/addons/openupgrade_scripts/scripts/point_of_sale/15.0.1.0.1/upgrade_analysis_work.txt,sha256=3hVzZrTJ6QgWSWUYMUzxYQhliXpwDPExI7HEY2wpKvI,8130
495
495
  odoo/addons/openupgrade_scripts/scripts/portal/15.0.1.0/noupdate_changes.xml,sha256=WAyp4JiMPXFNkxlsbf3XLEQRX-UWdyulTWdbDnKV5Sw,6944
@@ -807,7 +807,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/15.0.1.0/upgrade_analysi
807
807
  odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
808
808
  odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
809
809
  odoo/addons/openupgrade_scripts/static/description/index.html,sha256=Q6Orf6ynZuFFVbDWUruBEsSY4uaFaTiVYvLYU1tcCnc,12678
810
- odoo_addon_openupgrade_scripts-15.0.1.0.0.512.dist-info/METADATA,sha256=IlBLflG2oU3_Lg8oAF4lggpOpkfXbyRC4UDOWh_7ksY,3759
811
- odoo_addon_openupgrade_scripts-15.0.1.0.0.512.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
812
- odoo_addon_openupgrade_scripts-15.0.1.0.0.512.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
813
- odoo_addon_openupgrade_scripts-15.0.1.0.0.512.dist-info/RECORD,,
810
+ odoo_addon_openupgrade_scripts-15.0.1.0.0.513.dist-info/METADATA,sha256=vYRqb-BOuk2Tc0BF8V23pdRW3nzaIbhFzurUnhKxleg,3758
811
+ odoo_addon_openupgrade_scripts-15.0.1.0.0.513.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
812
+ odoo_addon_openupgrade_scripts-15.0.1.0.0.513.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
813
+ odoo_addon_openupgrade_scripts-15.0.1.0.0.513.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: bdist_wheel (0.44.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5