odoo-addon-openupgrade-scripts 18.0.1.0.0.200__py3-none-any.whl → 18.0.1.0.0.201__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/repair/18.0.1.0/post-migration.py +32 -0
- odoo/addons/openupgrade_scripts/scripts/repair/18.0.1.0/upgrade_analysis_work.txt +32 -0
- {odoo_addon_openupgrade_scripts-18.0.1.0.0.200.dist-info → odoo_addon_openupgrade_scripts-18.0.1.0.0.201.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-18.0.1.0.0.200.dist-info → odoo_addon_openupgrade_scripts-18.0.1.0.0.201.dist-info}/RECORD +6 -4
- {odoo_addon_openupgrade_scripts-18.0.1.0.0.200.dist-info → odoo_addon_openupgrade_scripts-18.0.1.0.0.201.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-18.0.1.0.0.200.dist-info → odoo_addon_openupgrade_scripts-18.0.1.0.0.201.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
# Copyright 2025 ForgeFlow S.L. (https://www.forgeflow.com)
|
2
|
+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
3
|
+
from openupgradelib import openupgrade
|
4
|
+
|
5
|
+
|
6
|
+
def fill_stock_warehouse_repair_mto_pull_id(env):
|
7
|
+
def _get_global_route_rules_values(self):
|
8
|
+
data = _get_global_route_rules_values._original_method(self)
|
9
|
+
data_return = {"repair_mto_pull_id": data["repair_mto_pull_id"]}
|
10
|
+
return data_return
|
11
|
+
|
12
|
+
# create hook
|
13
|
+
_get_global_route_rules_values._original_method = type(
|
14
|
+
env["stock.warehouse"]
|
15
|
+
)._get_global_route_rules_values
|
16
|
+
type(
|
17
|
+
env["stock.warehouse"]
|
18
|
+
)._get_global_route_rules_values = _get_global_route_rules_values
|
19
|
+
|
20
|
+
warehouses = env["stock.warehouse"].with_context(active_test=False).search([])
|
21
|
+
for warehouse in warehouses:
|
22
|
+
warehouse._create_or_update_global_routes_rules()
|
23
|
+
|
24
|
+
# delete hook
|
25
|
+
type(
|
26
|
+
env["stock.warehouse"]
|
27
|
+
)._get_global_route_rules_values = _get_global_route_rules_values._original_method
|
28
|
+
|
29
|
+
|
30
|
+
@openupgrade.migrate()
|
31
|
+
def migrate(env, version):
|
32
|
+
fill_stock_warehouse_repair_mto_pull_id(env)
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---Models in module 'repair'---
|
2
|
+
obsolete model repair.warn.uncomplete.move [transient]
|
3
|
+
# NOTHING TO DO
|
4
|
+
|
5
|
+
---Fields in module 'repair'---
|
6
|
+
repair / repair.order / product_location_dest_id (many2one): NEW relation: stock.location, required, hasdefault: compute
|
7
|
+
repair / repair.order / product_location_src_id (many2one): NEW relation: stock.location, required, hasdefault: compute
|
8
|
+
repair / stock.picking.type / default_product_location_dest_id (many2one): NEW relation: stock.location, hasdefault: compute
|
9
|
+
repair / stock.picking.type / default_product_location_src_id (many2one): NEW relation: stock.location, hasdefault: compute
|
10
|
+
# NOTHING TO DO: computed by ORM
|
11
|
+
|
12
|
+
repair / repair.order / repair_properties (properties): NEW hasdefault: compute
|
13
|
+
repair / stock.picking.type / repair_properties_definition (properties_definition): NEW
|
14
|
+
# NOTHING TO DO: computed by ORM
|
15
|
+
|
16
|
+
repair / repair.order / search_date_category (selection): NEW selection_keys: ['after', 'before', 'day_1', 'day_2', 'today', 'yesterday'], stored: False
|
17
|
+
# NOTHING TO DO: stored = False
|
18
|
+
|
19
|
+
repair / stock.warehouse / repair_mto_pull_id (many2one) : NEW relation: stock.rule
|
20
|
+
# DONE: post-migration: create rule for the warehouse that need it
|
21
|
+
|
22
|
+
---XML records in module 'repair'---
|
23
|
+
NEW ir.actions.act_window: repair.action_picking_repair_graph
|
24
|
+
NEW ir.actions.act_window: repair.action_repair_picking_type_kanban
|
25
|
+
NEW ir.actions.server: repair.action_repair_overview
|
26
|
+
DEL ir.model.access: repair.access_repair_warn_uncomplete_move
|
27
|
+
NEW ir.ui.menu: repair.repair_menu_product_product
|
28
|
+
NEW ir.ui.menu: repair.repair_menu_product_template
|
29
|
+
NEW ir.ui.menu: repair.repair_picking_type_menu
|
30
|
+
NEW ir.ui.view: repair.product_view_search_catalog
|
31
|
+
DEL ir.ui.view: repair.view_repair_warn_uncomplete_move
|
32
|
+
# NOTHING TO DO
|
@@ -494,7 +494,9 @@ odoo/addons/openupgrade_scripts/scripts/purchase_stock/18.0.1.2/upgrade_analysis
|
|
494
494
|
odoo/addons/openupgrade_scripts/scripts/purchase_stock/18.0.1.2/upgrade_analysis_work.txt,sha256=VNynpx2lCaa1blribMIHODB_e6Vl_WsZBse1qLngFtw,1287
|
495
495
|
odoo/addons/openupgrade_scripts/scripts/rating/18.0.1.1/upgrade_analysis.txt,sha256=qW5H3qcAfhOJGRtKOksLYVTMUWRwhEdz61oHa9nagi0,467
|
496
496
|
odoo/addons/openupgrade_scripts/scripts/rating/18.0.1.1/upgrade_analysis_work.txt,sha256=OeCuYPxiMWcK8zJnxwe99VhNUnJ_xEYFboxEHNpH7V0,526
|
497
|
+
odoo/addons/openupgrade_scripts/scripts/repair/18.0.1.0/post-migration.py,sha256=lctBqxcaMVrJpzd-PttN3-UkWXHm8ceEZhSmGSQSvRY,1112
|
497
498
|
odoo/addons/openupgrade_scripts/scripts/repair/18.0.1.0/upgrade_analysis.txt,sha256=AK-tIsgeIf2mAupSeih2oWn5KLMwR1zh5tFEwsmBDT0,1678
|
499
|
+
odoo/addons/openupgrade_scripts/scripts/repair/18.0.1.0/upgrade_analysis_work.txt,sha256=e3xxFzybw5XTdtot_vlkcXu1hsvUjxF-j9ZMt3UjLtY,1880
|
498
500
|
odoo/addons/openupgrade_scripts/scripts/resource/18.0.1.1/noupdate_changes.xml,sha256=S7tt5sHOk73ZZ37pDd3-u8zWp5Azisq0dp4MyDYdAso,184
|
499
501
|
odoo/addons/openupgrade_scripts/scripts/resource/18.0.1.1/post-migration.py,sha256=oHLhpXY8oeX6HQHUnTzVTOs8iRus5mAM80-juY9btpw,292
|
500
502
|
odoo/addons/openupgrade_scripts/scripts/resource/18.0.1.1/upgrade_analysis.txt,sha256=Ti0g-L6X-9Ixj67MzP2zYVYaM_asb7dUR__L9xvqu2Q,362
|
@@ -642,7 +644,7 @@ odoo/addons/openupgrade_scripts/scripts/website_slides_survey/18.0.1.0/upgrade_a
|
|
642
644
|
odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
|
643
645
|
odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
644
646
|
odoo/addons/openupgrade_scripts/static/description/index.html,sha256=Jc0qAThlH5WnoSq6vPamjC8WyMkdo_9zkhDuU1qW1VI,12722
|
645
|
-
odoo_addon_openupgrade_scripts-18.0.1.0.0.
|
646
|
-
odoo_addon_openupgrade_scripts-18.0.1.0.0.
|
647
|
-
odoo_addon_openupgrade_scripts-18.0.1.0.0.
|
648
|
-
odoo_addon_openupgrade_scripts-18.0.1.0.0.
|
647
|
+
odoo_addon_openupgrade_scripts-18.0.1.0.0.201.dist-info/METADATA,sha256=9nB_aTJ96dZthWXkEVvEQGoenXyqq5HSf1imp8xF9YQ,3812
|
648
|
+
odoo_addon_openupgrade_scripts-18.0.1.0.0.201.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
649
|
+
odoo_addon_openupgrade_scripts-18.0.1.0.0.201.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
650
|
+
odoo_addon_openupgrade_scripts-18.0.1.0.0.201.dist-info/RECORD,,
|
File without changes
|