odoo-addon-openupgrade-scripts 18.0.1.0.0.15__py3-none-any.whl → 18.0.1.0.0.17__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.
@@ -4,8 +4,11 @@ to help the matching process
4
4
 
5
5
  # Renamed modules is a mapping from old module name to new module name
6
6
  renamed_modules = {
7
- "account_accountant": "accountant",
8
7
  # odoo
8
+ "l10n_es_pos_tbai": "l10n_es_edi_tbai_pos",
9
+ "mrp_subonctracting_landed_costs": "mrp_subcontracting_landed_costs",
10
+ "website_sale_picking": "website_sale_collect",
11
+ "website_form_project": "website_project",
9
12
  # odoo/enterprise
10
13
  # OCA/...
11
14
  }
@@ -14,7 +17,30 @@ renamed_modules = {
14
17
  # preexisting module names
15
18
  merged_modules = {
16
19
  # odoo
20
+ "account_audit_trail": "account",
21
+ "account_lock": "account",
22
+ "account_payment_term": "account",
23
+ "l10n_br_pix": "l10n_br",
24
+ "l10n_de_audit_trail": "l10n_de",
25
+ "l10n_dk_audit_trail": "l10n_dk",
26
+ "l10n_dk_bookkeeping": "account",
27
+ "l10n_es_edi_facturae_adm_centers": "l10n_es_edi_facturae",
28
+ "l10n_es_edi_facturae_invoice_period": "l10n_es_edi_facturae",
29
+ "l10n_es_edi_tbai_multi_refund": "l10n_es_edi_tbai",
30
+ "l10n_fr_fec": "l10n_fr",
31
+ "l10n_fr_invoice_addr": "l10n_fr_account",
32
+ "l10n_ro_efactura": "l10n_ro_edi",
33
+ "im_livechat_mail_bot": "mail_bot",
34
+ "payment_ogone": "payment_worldline",
35
+ "payment_sips": "payment_worldline",
36
+ "pos_sale_product_configurator": "pos_sale",
37
+ "sale_product_configurator": "sale",
38
+ "spreadsheet_dashboard_purchase": "spreadsheet_dashboard_purchase_stock",
39
+ "stock_landed_costs_company": "stock_landed_costs",
40
+ "website_sale_product_configurator": "website_sale",
17
41
  # odoo/enterprise
42
+ # OCA/l10n-france
43
+ "l10n_fr_pos_cert_update_draft_order_line": "l10n_fr_pos_cert",
18
44
  # OCA/sale-workflow
19
45
  "sale_order_qty_change_no_recompute": "sale",
20
46
  # OCA/...
@@ -23,10 +49,13 @@ merged_modules = {
23
49
  # only used here for upgrade_analysis
24
50
  renamed_models = {
25
51
  # odoo
26
- # mail
52
+ "l10n_es_edi_facturae_adm_centers.ac_role_type": ""
53
+ "l10n_es_edi_facturae.ac_role_type",
27
54
  "mail.notification.web.push": "web.push",
28
55
  "mail.partner.device": "mail.push.device",
29
56
  "mail.shortcode": "mail.canned.response",
57
+ "pos.combo": "product.combo",
58
+ "pos.combo.line": "product.combo.item",
30
59
  # OCA/...
31
60
  }
32
61
 
@@ -11,3 +11,10 @@ def migrate(env, version):
11
11
  openupgrade.delete_records_safely_by_xml_id(
12
12
  env, ["base.module_sale_ebay", "base.module_website_twitter_wall"]
13
13
  )
14
+ enterprise_old = env.ref("base.module_account_accountant")
15
+ env["ir.model.data"].search(
16
+ [("module", "=", "base"), ("name", "=", "module_account_accountant")]
17
+ ).unlink()
18
+ enterprise_new = env.ref("base.module_accountant")
19
+ if enterprise_old.state in ("to install", "to upgrade"):
20
+ enterprise_new.state = "to install"
@@ -49,7 +49,6 @@ def migrate(cr, version):
49
49
  openupgrade.update_module_names(cr, merged_modules.items(), merge_modules=True)
50
50
  openupgrade.clean_transient_models(cr)
51
51
  openupgrade.rename_xmlids(cr, _renamed_xmlids)
52
-
53
52
  _fix_list_view_type(cr)
54
53
  _fix_serbian_res_lang_record(cr)
55
54
  _fix_company_layout_background(cr)
@@ -170,7 +170,7 @@ NEW ir.model.constraint: base.constraint_res_groups_check_api_key_duration
170
170
  NEW ir.module.module: base.module_accountant (noupdate)
171
171
  DEL ir.module.module: base.module_account_accountant (noupdate)
172
172
 
173
- # DONE: added to renamed_modules in apriori.py
173
+ # DONE: post-migration: if enterprise module was installed, then install new one and remove old xmlid
174
174
 
175
175
  DEL ir.module.module: base.module_sale_ebay (noupdate)
176
176
  DEL ir.module.module: base.module_website_twitter_wall (noupdate)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-openupgrade_scripts
3
- Version: 18.0.1.0.0.15
3
+ Version: 18.0.1.0.0.17
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo==18.0.*
6
6
  Requires-Dist: openupgradelib
@@ -1,7 +1,7 @@
1
1
  odoo/addons/openupgrade_scripts/README.rst,sha256=RuTBUdBI9hVP6kr2WJenFV-0J5l2tgUfzuOEtG9MyKQ,3179
2
2
  odoo/addons/openupgrade_scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  odoo/addons/openupgrade_scripts/__manifest__.py,sha256=fZVzjupYlcmfrTQtiBu7wlaAqO4JWQncNAdQPEnpaCY,614
4
- odoo/addons/openupgrade_scripts/apriori.py,sha256=Ebwrni7lDbZRqIj8JudynXDpf8Y3UIyCkBvZZ2Lx0FU,820
4
+ odoo/addons/openupgrade_scripts/apriori.py,sha256=98AFv18nuvQoJ6Q8QFOH-Xy446RKHIV0t5LwUyOwyKE,2215
5
5
  odoo/addons/openupgrade_scripts/readme/CONFIGURE.md,sha256=rnx8ADTYzVUB93PIG3Lib0iWBrphSfVRs6RMikklf3M,238
6
6
  odoo/addons/openupgrade_scripts/readme/DESCRIPTION.md,sha256=6hwHccovmE9cfaV7PQPvKUvNJa-f_Uc1wgXyL_SrYck,86
7
7
  odoo/addons/openupgrade_scripts/readme/INSTALL.md,sha256=NDKVZRv0J8BTqcSTD7JwUXL_AY-cDJoegn5IUTbEOFk,113
@@ -33,10 +33,10 @@ odoo/addons/openupgrade_scripts/scripts/barcodes/18.0.2.0/upgrade_analysis.txt,s
33
33
  odoo/addons/openupgrade_scripts/scripts/barcodes_gs1_nomenclature/18.0.1.0/upgrade_analysis.txt,sha256=M2_LcBV8IPACyjPo3ecgVy7GSuyFITBZRojGfi37HM4,198
34
34
  odoo/addons/openupgrade_scripts/scripts/base/18.0.1.3/end-migration.py,sha256=95Xpwk74luLI0w2LYpf_L5bW8lTVmY_ExvlZoZ2VIYA,1210
35
35
  odoo/addons/openupgrade_scripts/scripts/base/18.0.1.3/noupdate_changes.xml,sha256=zUXe0wLMoaCObZK9m8wnhTuXEUOMNs0zs04WIZx3T_w,16740
36
- odoo/addons/openupgrade_scripts/scripts/base/18.0.1.3/post-migration.py,sha256=9iDwG_iK8j_i6lqFmAsnGSNlUO74-stbPCNA1OzWwC4,491
37
- odoo/addons/openupgrade_scripts/scripts/base/18.0.1.3/pre-migration.py,sha256=SqwVtolaJF8wPC36VldkRpzJxpmVUpVdzG-Z-yY0iP8,1519
36
+ odoo/addons/openupgrade_scripts/scripts/base/18.0.1.3/post-migration.py,sha256=T9RbmhHjbXKeELR74o322RYhYZQjHXkcSNXX1lU3ku0,840
37
+ odoo/addons/openupgrade_scripts/scripts/base/18.0.1.3/pre-migration.py,sha256=U29sUkoIjl5Kl1gqgsm7a9MQq5IgLTkx-KandMU3sK8,1518
38
38
  odoo/addons/openupgrade_scripts/scripts/base/18.0.1.3/upgrade_analysis.txt,sha256=1bzcM5QrEqYY1OZeGdtnYiQlngL1yi4E-VfoMy03AZY,22307
39
- odoo/addons/openupgrade_scripts/scripts/base/18.0.1.3/upgrade_analysis_work.txt,sha256=KgIPq6Z8ANt-pw_igcPvuHVgZLMMhsbjaV0F6lej1Ms,23177
39
+ odoo/addons/openupgrade_scripts/scripts/base/18.0.1.3/upgrade_analysis_work.txt,sha256=DtjRkyr9Xu9MZt-NvAOmUYdd9kgJErm-KOfzZOriBXc,23232
40
40
  odoo/addons/openupgrade_scripts/scripts/base/18.0.1.3/upgrade_general_log.txt,sha256=V0Bru_iSmjE146pvTVlRx-lriuswc7jB4RUSJrsr3pE,31649
41
41
  odoo/addons/openupgrade_scripts/scripts/base/tests/data_base_migration.py,sha256=G4qE5if25WvkEBxDp3S9QfVRFiD4MV7bZFeagvp5qL8,302
42
42
  odoo/addons/openupgrade_scripts/scripts/base/tests/test_base_migration.py,sha256=jj1GMmV4SX_5q9t-PvIlD1pSR6_swUcpcKKe3r2ZT4E,703
@@ -458,7 +458,7 @@ odoo/addons/openupgrade_scripts/scripts/website_slides_survey/18.0.1.0/upgrade_a
458
458
  odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
459
459
  odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
460
460
  odoo/addons/openupgrade_scripts/static/description/index.html,sha256=Jc0qAThlH5WnoSq6vPamjC8WyMkdo_9zkhDuU1qW1VI,12722
461
- odoo_addon_openupgrade_scripts-18.0.1.0.0.15.dist-info/METADATA,sha256=nWtk2E7FutkZnTxmESD4-AdzSA624ksocu8PNjfzkOM,3774
462
- odoo_addon_openupgrade_scripts-18.0.1.0.0.15.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
463
- odoo_addon_openupgrade_scripts-18.0.1.0.0.15.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
464
- odoo_addon_openupgrade_scripts-18.0.1.0.0.15.dist-info/RECORD,,
461
+ odoo_addon_openupgrade_scripts-18.0.1.0.0.17.dist-info/METADATA,sha256=v6WdlkfN8S3gji0Qwz7-z3uEI_v8npccHRws_2d6msc,3774
462
+ odoo_addon_openupgrade_scripts-18.0.1.0.0.17.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
463
+ odoo_addon_openupgrade_scripts-18.0.1.0.0.17.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
464
+ odoo_addon_openupgrade_scripts-18.0.1.0.0.17.dist-info/RECORD,,