odoo-addon-openupgrade-scripts 17.0.1.0.1.258__py3-none-any.whl → 17.0.1.0.1.263__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.
@@ -28,19 +28,25 @@ def _pre_create_and_fill_l10n_es_is_simplified(env):
28
28
 
29
29
 
30
30
  def _xml_id_renaming_account_tax_template(env):
31
- # In 17.0 the tax template xml_id of Intra-Community (Goods) is changed. With
32
- # this method the xml_id is set correctly.
33
- imds = env["ir.model.data"].search(
34
- [
35
- ("module", "=", "account"),
36
- ("model", "=", "account.tax"),
37
- ("name", "=like", "%_account_tax_template_s_iva0_ic"),
38
- ]
39
- )
40
- for imd in imds:
41
- imd.name = imd.name.replace(
42
- "account_tax_template_s_iva0_ic", "account_tax_template_s_iva0_g_i"
31
+ """In 17.0, some tax templates XML-ID have been changed. With this method, the
32
+ XML-IDs are set correctly.
33
+ """
34
+ for src, dest in [
35
+ ("s_iva0_e", "s_iva0_g_e"),
36
+ ("s_iva0_ic", "s_iva0_g_i"),
37
+ ("s_iva0", "s_iva0_nsd"),
38
+ ]:
39
+ imds = env["ir.model.data"].search(
40
+ [
41
+ ("module", "=", "account"),
42
+ ("model", "=", "account.tax"),
43
+ ("name", "=like", f"%_account_tax_template_{src}"),
44
+ ]
43
45
  )
46
+ for imd in imds:
47
+ imd.name = imd.name.replace(
48
+ f"account_tax_template_{src}", f"account_tax_template_{dest}"
49
+ )
44
50
 
45
51
 
46
52
  def _remove_xml_id_account_fiscal_position(env):
@@ -0,0 +1,5 @@
1
+ ---Models in module 'purchase_mrp'---
2
+ ---Fields in module 'purchase_mrp'---
3
+ ---XML records in module 'purchase_mrp'---
4
+ NEW ir.ui.view: purchase_mrp.view_warehouse_orderpoint_tree_editable
5
+ # NOTHING TO DO
@@ -0,0 +1,18 @@
1
+ # Copyright 2025 ForgeFlow S.L. (https://www.forgeflow.com)
2
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3
+
4
+ from openupgradelib import openupgrade
5
+
6
+ _field_renames = [
7
+ (
8
+ "spreadsheet.dashboard",
9
+ "spreadsheet_dashboard",
10
+ "data",
11
+ "spreadsheet_binary_data",
12
+ ),
13
+ ]
14
+
15
+
16
+ @openupgrade.migrate()
17
+ def migrate(env, version):
18
+ openupgrade.rename_fields(env, _field_renames)
@@ -0,0 +1,21 @@
1
+ ---Models in module 'spreadsheet_dashboard'---
2
+ new model spreadsheet.dashboard.share
3
+ ---Fields in module 'spreadsheet_dashboard'---
4
+ spreadsheet_dashboard / spreadsheet.dashboard / data (binary) : DEL required, attachment: True
5
+ spreadsheet_dashboard / spreadsheet.dashboard / spreadsheet_binary_data (binary): NEW required, attachment: True, hasdefault: default
6
+ # DONE: pre-migration: renamed field
7
+
8
+ spreadsheet_dashboard / spreadsheet.dashboard.share / access_token (char) : NEW required, hasdefault: default
9
+ spreadsheet_dashboard / spreadsheet.dashboard.share / dashboard_id (many2one) : NEW relation: spreadsheet.dashboard, required
10
+ spreadsheet_dashboard / spreadsheet.dashboard.share / excel_export (binary) : NEW attachment: True
11
+ spreadsheet_dashboard / spreadsheet.dashboard.share / spreadsheet_binary_data (binary): NEW required, attachment: True, hasdefault: default
12
+ spreadsheet_dashboard / spreadsheet.dashboard.share / thumbnail (binary) : NEW attachment: True
13
+ # NOTHING TO DO: new model
14
+
15
+ ---XML records in module 'spreadsheet_dashboard'---
16
+ NEW ir.model.access: spreadsheet_dashboard.access_spreadsheet_dashboard_share
17
+ NEW ir.module.category: spreadsheet_dashboard.dashboard_management
18
+ NEW ir.rule: spreadsheet_dashboard.spreadsheet_dashboard_share_create_uid_rule
19
+ NEW ir.ui.view: spreadsheet_dashboard.spreadsheet_dashboard_view_form
20
+ NEW res.groups: spreadsheet_dashboard.group_dashboard_manager
21
+ # NOTHING TO DO
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-openupgrade_scripts
3
- Version: 17.0.1.0.1.258
3
+ Version: 17.0.1.0.1.263
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo>=17.0a,<17.1dev
6
6
  Requires-Dist: openupgradelib
@@ -252,7 +252,7 @@ odoo/addons/openupgrade_scripts/scripts/l10n_ee/17.0.1.1/upgrade_analysis.txt,sh
252
252
  odoo/addons/openupgrade_scripts/scripts/l10n_ee/17.0.1.2/upgrade_analysis.txt,sha256=OspILI0pGdaCtliHD7DIINmbLfuYc8xx9K5fAp_xKRg,22728
253
253
  odoo/addons/openupgrade_scripts/scripts/l10n_eg/17.0.1.0/upgrade_analysis.txt,sha256=BOXJ8pdDnI9ZxtPq7AowVTrPmpvYHAXq55AYrRJP5CA,13603
254
254
  odoo/addons/openupgrade_scripts/scripts/l10n_eg_edi_eta/17.0.0.2/upgrade_analysis.txt,sha256=f2AaXZRdCljxh7HjEHarlfgonOcm-NqVuLmhfAR_y4c,168
255
- odoo/addons/openupgrade_scripts/scripts/l10n_es/17.0.5.4/pre-migration.py,sha256=Izn4wABJy9D5NRcNa4KKD8hUJOxFImLxey067ODkzks,3997
255
+ odoo/addons/openupgrade_scripts/scripts/l10n_es/17.0.5.4/pre-migration.py,sha256=BUJ6ZXM9gs_wK3UfaoZZdnBUxw2xeMLc6u3PtSwTqnw,4162
256
256
  odoo/addons/openupgrade_scripts/scripts/l10n_es/17.0.5.4/upgrade_analysis.txt,sha256=ARdPh3f2RBr26G_jLtuRq8wiMMcNNq-sk-DOnWCWzHw,233091
257
257
  odoo/addons/openupgrade_scripts/scripts/l10n_es/17.0.5.4/upgrade_analysis_work.txt,sha256=5R_7NmEcy-Fz1-37mV0XUvXcua1umb7w3cRgiXdYrBY,225343
258
258
  odoo/addons/openupgrade_scripts/scripts/l10n_es_edi_facturae/17.0.1.0/upgrade_analysis.txt,sha256=7Qv71rXs6ax9Du2w339UQ5_pDbOwcRrEQczmwcKQMJo,3975
@@ -528,6 +528,7 @@ odoo/addons/openupgrade_scripts/scripts/purchase/17.0.1.2/pre-migration.py,sha25
528
528
  odoo/addons/openupgrade_scripts/scripts/purchase/17.0.1.2/upgrade_analysis.txt,sha256=7vrkEXHsIHCBV6UsAas9uNx_2wxnMVrdvgRPLXYe71s,1198
529
529
  odoo/addons/openupgrade_scripts/scripts/purchase/17.0.1.2/upgrade_analysis_work.txt,sha256=I2UxUF-cPsTBFePdFNu61jW4eviELtpWM4zkZvObyUU,1111
530
530
  odoo/addons/openupgrade_scripts/scripts/purchase_mrp/17.0.1.0/upgrade_analysis.txt,sha256=E4pgWF7i8oHH6mklWCxmWBkBx8TymHlxBQeYemt09p0,188
531
+ odoo/addons/openupgrade_scripts/scripts/purchase_mrp/17.0.1.0/upgrade_analysis_work.txt,sha256=dWj4L7Vm7UMkdfj8rezXOa7QLV2zewT7gJKCSlJ6POE,204
531
532
  odoo/addons/openupgrade_scripts/scripts/purchase_product_matrix/17.0.1.0/upgrade_analysis.txt,sha256=ziZfZQGATL_2VPdgw-7hgS7661nkDbbYuT_SgMrpFmw,192
532
533
  odoo/addons/openupgrade_scripts/scripts/purchase_product_matrix/17.0.1.0/upgrade_analysis_work.txt,sha256=sIszLO8a-iwZxbi3KvMV4JOfs1YB1u-lVC8XGB_Ef9k,208
533
534
  odoo/addons/openupgrade_scripts/scripts/purchase_requisition/17.0.0.1/upgrade_analysis.txt,sha256=-3eCb_nikz-NG3FR7NH6RanmKPBFiTxMVuQXI-aNkcM,642
@@ -594,7 +595,9 @@ odoo/addons/openupgrade_scripts/scripts/social_media/17.0.0.1/upgrade_analysis.t
594
595
  odoo/addons/openupgrade_scripts/scripts/social_media/17.0.0.1/upgrade_analysis_work.txt,sha256=-_wXZKmt2A58AHlTfFyTOz2k8NlSshmYBskJF__U6ug,214
595
596
  odoo/addons/openupgrade_scripts/scripts/spreadsheet/17.0.1.0/upgrade_analysis.txt,sha256=7dsZj4-m8gQEWWfZBaMz7CZoS21LXopdR49H9qd9pr8,209
596
597
  odoo/addons/openupgrade_scripts/scripts/spreadsheet/17.0.1.0/upgrade_analysis_work.txt,sha256=5jXbmD5Tvv4TGq9xa65PBYX3lIbuGAMUZP2nLLbvil8,269
598
+ odoo/addons/openupgrade_scripts/scripts/spreadsheet_dashboard/17.0.1.0/pre-migration.py,sha256=UCwjegCp8LskqCcknMcbG2lFViz54xtMA3bGllpbu-U,424
597
599
  odoo/addons/openupgrade_scripts/scripts/spreadsheet_dashboard/17.0.1.0/upgrade_analysis.txt,sha256=Avy6tI5qUcLVzk5YxyfHLpNU0bVgVnUs4NxvNByZo_I,1397
600
+ odoo/addons/openupgrade_scripts/scripts/spreadsheet_dashboard/17.0.1.0/upgrade_analysis_work.txt,sha256=AG4ZHzdl14XuU6usu7yu9PylcBaauTmPAR05RtO34dY,1479
598
601
  odoo/addons/openupgrade_scripts/scripts/spreadsheet_dashboard_website_sale/17.0.1.0/upgrade_analysis.txt,sha256=AlqrVVhJ3H_Flt1BmWCRt9LzKtsOKuIqf5Bl8LR6H8A,279
599
602
  odoo/addons/openupgrade_scripts/scripts/stock/17.0.1.1/noupdate_changes.xml,sha256=YGDqhBLeLXWAemP0jvJnpOH5A-v2dz4UYkjqESa2NHs,358
600
603
  odoo/addons/openupgrade_scripts/scripts/stock/17.0.1.1/post-migration.py,sha256=xinw_oNunMRyig8ZXJA28N6GhShK-VP7pBldfajknjg,2638
@@ -705,7 +708,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/17.0.1.0/upgrade_analysi
705
708
  odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
706
709
  odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
707
710
  odoo/addons/openupgrade_scripts/static/description/index.html,sha256=iV41-zYBM4uvZPuunpcr7bQeRgBaojVsKo_gkeyJyA4,12639
708
- odoo_addon_openupgrade_scripts-17.0.1.0.1.258.dist-info/METADATA,sha256=L6HyUOSMIjVXsYMPhvdJ0NrGgw0_mvbMPJ1ekWgVr9I,3786
709
- odoo_addon_openupgrade_scripts-17.0.1.0.1.258.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
710
- odoo_addon_openupgrade_scripts-17.0.1.0.1.258.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
711
- odoo_addon_openupgrade_scripts-17.0.1.0.1.258.dist-info/RECORD,,
711
+ odoo_addon_openupgrade_scripts-17.0.1.0.1.263.dist-info/METADATA,sha256=vwC5ZKyyb9dtUDLAEhP_sc6XDqENrZJF80tg7qoNUjU,3786
712
+ odoo_addon_openupgrade_scripts-17.0.1.0.1.263.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
713
+ odoo_addon_openupgrade_scripts-17.0.1.0.1.263.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
714
+ odoo_addon_openupgrade_scripts-17.0.1.0.1.263.dist-info/RECORD,,