odoo-addon-openupgrade-scripts 15.0.1.0.0.510__py3-none-any.whl → 15.0.1.0.0.512__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.
@@ -93,7 +93,7 @@ account / account.payment / payment_method_id (many2one) : now re
93
93
  # NOTHING TO DO
94
94
 
95
95
  account / account.payment / payment_method_line_id (many2one): NEW relation: account.payment.method.line, isfunction: function, stored
96
- # DONE: pre-migration: fast filled value for payment_method_line_id
96
+ # DONE: pre-migration, end-migration: fast filled value for payment_method_line_id
97
97
 
98
98
  account / account.payment.method / _order : _order is now 'id' ('sequence')
99
99
  account / account.payment.method / sequence (integer) : DEL
@@ -110,6 +110,15 @@ def update_contact_form_company_description(env):
110
110
  website_contactus_view.with_context(website_id=website.id).arch = new_arch
111
111
 
112
112
 
113
+ def handle_domain_protocol(env):
114
+ """We need to ensure the website protocol prefix to ensure each site correct
115
+ redirection"""
116
+ for website in env["website"].search([("domain", "!=", False)]):
117
+ if website.domain.startswith("http"):
118
+ continue
119
+ website.domain = f"https://{website.domain.rstrip('/')}"
120
+
121
+
113
122
  @openupgrade.migrate()
114
123
  def migrate(env, version):
115
124
  openupgrade.logged_query(env.cr, "UPDATE website SET configurator_done = True")
@@ -118,3 +127,4 @@ def migrate(env, version):
118
127
  update_website_form_call(env)
119
128
  extract_footer_copyright_company_name(env)
120
129
  update_contact_form_company_description(env)
130
+ handle_domain_protocol(env)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-openupgrade_scripts
3
- Version: 15.0.1.0.0.510
3
+ Version: 15.0.1.0.0.512
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)
@@ -10,7 +10,7 @@ odoo/addons/openupgrade_scripts/scripts/account/15.0.1.2/noupdate_changes.xml,sh
10
10
  odoo/addons/openupgrade_scripts/scripts/account/15.0.1.2/post-migration.py,sha256=7ShgRlqcVeSlmgi8mBwBCQslfTgBJ8fhux1s0HrxhhQ,3361
11
11
  odoo/addons/openupgrade_scripts/scripts/account/15.0.1.2/pre-migration.py,sha256=f11oCPl9qri_PcNBp6xyfhoGKowI7wRweBqPrJjP4hc,14184
12
12
  odoo/addons/openupgrade_scripts/scripts/account/15.0.1.2/upgrade_analysis.txt,sha256=RgZfP638Lh0_D9b4pl3AqO_3minW-OcBBqJ1egipT7I,12460
13
- odoo/addons/openupgrade_scripts/scripts/account/15.0.1.2/upgrade_analysis_work.txt,sha256=xQxrJV3Ii0P9zycBeRSb6Cc90aEIzO-LzC_juGOedJw,15003
13
+ odoo/addons/openupgrade_scripts/scripts/account/15.0.1.2/upgrade_analysis_work.txt,sha256=SMem_uplLN9m2wAxeRoq4-0o38KrqoNmiNwA40juWHE,15018
14
14
  odoo/addons/openupgrade_scripts/scripts/account_check_printing/15.0.1.0/post-migration.py,sha256=4_Ct1QOXe1x4qhywmFBh2nI-ksJVtcLgb3DyfiOVT1E,1016
15
15
  odoo/addons/openupgrade_scripts/scripts/account_check_printing/15.0.1.0/upgrade_analysis.txt,sha256=LLJ88stlAeeCNgxAIiORZjQjbY-Sir138GI_FBpjIeE,189
16
16
  odoo/addons/openupgrade_scripts/scripts/account_check_printing/15.0.1.0/upgrade_analysis_work.txt,sha256=m3ChdoEw4ie0I10dgf75mhTt7n49sd-Ph04Xsh-ZWyA,205
@@ -697,7 +697,7 @@ odoo/addons/openupgrade_scripts/scripts/web_tour/15.0.0.1/upgrade_analysis_work.
697
697
  odoo/addons/openupgrade_scripts/scripts/web_unsplash/15.0.1.1/upgrade_analysis.txt,sha256=kxLVUiwnzMAbx2K0SVGHjnPAOfaL6UxHAhJ-4ucPvxQ,213
698
698
  odoo/addons/openupgrade_scripts/scripts/web_unsplash/15.0.1.1/upgrade_analysis_work.txt,sha256=WNs80voYwUMGaEk1UTLCO7pjOTrj1-RH7tzI-7H7s38,228
699
699
  odoo/addons/openupgrade_scripts/scripts/website/15.0.1.0/noupdate_changes.xml,sha256=x4IAmdgjCs2l7nWTjsUlSlkki1av36Y--2rPKB1s64g,1032
700
- odoo/addons/openupgrade_scripts/scripts/website/15.0.1.0/post-migration.py,sha256=4ql766IjhHSnzdF08zGl86EZQAQkPOIsYk0hJV9fLNA,5029
700
+ odoo/addons/openupgrade_scripts/scripts/website/15.0.1.0/post-migration.py,sha256=f91cxPwqN1meRsTtinKz_zivg9wyVqR96xs46MubfKk,5397
701
701
  odoo/addons/openupgrade_scripts/scripts/website/15.0.1.0/pre-migration.py,sha256=5UxjwjmvFlHU2m1Q1bJ4k3Tb20r75JKK1XSQIg5E8cU,177
702
702
  odoo/addons/openupgrade_scripts/scripts/website/15.0.1.0/upgrade_analysis.txt,sha256=7qv5G63ToHQK9RaPsmdYCK4yc5NT7FpQKBFzO6vHbmQ,19019
703
703
  odoo/addons/openupgrade_scripts/scripts/website/15.0.1.0/upgrade_analysis_work.txt,sha256=lOSre2m42TJLCvz9C2CTFkGAt-fUVpRV1FOKdh4lD4s,19485
@@ -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.510.dist-info/METADATA,sha256=TX3mngGQH7CqN0dH7kRU8KIXf8LdvozCDO0zriKAQ6Q,3759
811
- odoo_addon_openupgrade_scripts-15.0.1.0.0.510.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
812
- odoo_addon_openupgrade_scripts-15.0.1.0.0.510.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
813
- odoo_addon_openupgrade_scripts-15.0.1.0.0.510.dist-info/RECORD,,
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,,