odoo-addon-openupgrade-scripts 17.0.1.0.1.223__py3-none-any.whl → 17.0.1.0.1.227__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/stock_dropshipping/17.0.1.0/post-migration.py +15 -0
- odoo/addons/openupgrade_scripts/scripts/stock_dropshipping/17.0.1.0/upgrade_analysis_work.txt +10 -0
- odoo/addons/openupgrade_scripts/scripts/stock_landed_costs/17.0.1.1/upgrade_analysis_work.txt +12 -0
- odoo/addons/openupgrade_scripts/scripts/website_event/17.0.1.4/upgrade_analysis_work.txt +1 -1
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.223.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.227.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.223.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.227.dist-info}/RECORD +8 -6
- odoo/addons/openupgrade_scripts/scripts/website_event/17.0.1.4/pre-migration.py +0 -30
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.223.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.227.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.223.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.227.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
2
|
+
# Copyright 2025 Tecnativa - Pedro M. Baeza
|
3
|
+
|
4
|
+
from openupgradelib import openupgrade
|
5
|
+
|
6
|
+
|
7
|
+
@openupgrade.migrate()
|
8
|
+
def migrate(env, version):
|
9
|
+
# Assign the new code to the existing picking types with these characteristics
|
10
|
+
env["stock.picking.type"].search(
|
11
|
+
[
|
12
|
+
("default_location_src_id.usage", "=", "supplier"),
|
13
|
+
("default_location_dest_id.usage", "=", "customer"),
|
14
|
+
]
|
15
|
+
).code = "dropship"
|
@@ -0,0 +1,10 @@
|
|
1
|
+
---Models in module 'stock_dropshipping'---
|
2
|
+
---Fields in module 'stock_dropshipping'---
|
3
|
+
stock_dropshipping / stock.picking.type / code (False) : NEW selection_keys: ['dropship', 'incoming', 'internal', 'mrp_operation', 'outgoing', 'repair_operation'], mode: modify
|
4
|
+
# DONE: post-migration: Assign the new code to the existing picking types that have default location source the suppliers one, and the target location the customer one.
|
5
|
+
|
6
|
+
---XML records in module 'stock_dropshipping'---
|
7
|
+
NEW ir.actions.act_window: stock_dropshipping.action_picking_tree_dropship
|
8
|
+
NEW ir.ui.menu: stock_dropshipping.dropship_picking
|
9
|
+
NEW ir.ui.view: stock_dropshipping.view_picking_internal_search_inherit_stock_dropshipping
|
10
|
+
# NOTHING TO DO: new ir records
|
@@ -0,0 +1,12 @@
|
|
1
|
+
---Models in module 'stock_landed_costs'---
|
2
|
+
---Fields in module 'stock_landed_costs'---
|
3
|
+
stock_landed_costs / stock.landed.cost / _order : _order is now 'date desc, id desc' ('id')
|
4
|
+
# NOTHING TO DO: There may be a different order in new version, but we shouldn't touch the date field. Anyway, the new order makes more sense.
|
5
|
+
|
6
|
+
stock_landed_costs / stock.landed.cost / activity_user_id (many2one) : not related anymore
|
7
|
+
stock_landed_costs / stock.landed.cost / activity_user_id (many2one) : now a function
|
8
|
+
stock_landed_costs / stock.landed.cost / message_main_attachment_id (many2one): DEL relation: ir.attachment
|
9
|
+
stock_landed_costs / stock.landed.cost / rating_ids (one2many) : NEW relation: rating.rating
|
10
|
+
# NOTHING TO DO: Fields that come from the mixin refactorings with no values
|
11
|
+
|
12
|
+
---XML records in module 'stock_landed_costs'---
|
@@ -66,7 +66,7 @@ DEL ir.rule: website_event_questions.ir_rule_event_question_answer_event_user [r
|
|
66
66
|
DEL ir.rule: website_event_questions.ir_rule_event_question_answer_published [renamed to website_event module] (noupdate)
|
67
67
|
DEL ir.rule: website_event_questions.ir_rule_event_question_event_user [renamed to website_event module] (noupdate)
|
68
68
|
DEL ir.rule: website_event_questions.ir_rule_event_question_published [renamed to website_event module] (noupdate)
|
69
|
-
#
|
69
|
+
# NOTHING TO DO: The merge of website_event_questions into website_event already performs the XML-IDs renaming
|
70
70
|
|
71
71
|
NEW ir.ui.view: website_event.event_empty_events_svg
|
72
72
|
NEW ir.ui.view: website_event.event_question_view_form
|
@@ -590,8 +590,11 @@ odoo/addons/openupgrade_scripts/scripts/stock_account/17.0.1.1/upgrade_analysis.
|
|
590
590
|
odoo/addons/openupgrade_scripts/scripts/stock_account/17.0.1.1/upgrade_analysis_work.txt,sha256=xLUEOeCNZCqiStCJfba65zuBTNd5ZabBRirAUZ9EIio,1567
|
591
591
|
odoo/addons/openupgrade_scripts/scripts/stock_delivery/17.0.1.0/upgrade_analysis.txt,sha256=CLgw08khF3b9hOisl8TGCFjl6B39MDMIimyNDq25AzA,6177
|
592
592
|
odoo/addons/openupgrade_scripts/scripts/stock_delivery/17.0.1.0/upgrade_analysis_work.txt,sha256=zUUwNTPPQBdnZuXLCy9TSA54Qo25It4DJsoMJ_9mg1E,6342
|
593
|
+
odoo/addons/openupgrade_scripts/scripts/stock_dropshipping/17.0.1.0/post-migration.py,sha256=XQAYnPtegmkETHedAyHwHdqkZZt2GCSSOzRfNpLuLQY,499
|
593
594
|
odoo/addons/openupgrade_scripts/scripts/stock_dropshipping/17.0.1.0/upgrade_analysis.txt,sha256=hcBfhjP7WZQKAPAP1YrQ27M7wowBjSoq3KdMomof7w8,555
|
595
|
+
odoo/addons/openupgrade_scripts/scripts/stock_dropshipping/17.0.1.0/upgrade_analysis_work.txt,sha256=9v9-7eTDtCuWs_ioy0Ag6apXhFfRWLnLkPvSLd0jhaI,757
|
594
596
|
odoo/addons/openupgrade_scripts/scripts/stock_landed_costs/17.0.1.1/upgrade_analysis.txt,sha256=Br1-ciAX9gqR-PM5ehCWgKjpsWUrtaJHYowwvZIzNik,677
|
597
|
+
odoo/addons/openupgrade_scripts/scripts/stock_landed_costs/17.0.1.1/upgrade_analysis_work.txt,sha256=lVn3mqulwfUugFJKa0Tw1B2viXFaiHl21cZ5R3pB8z8,899
|
595
598
|
odoo/addons/openupgrade_scripts/scripts/stock_landed_costs_company/17.0.1.0/upgrade_analysis.txt,sha256=gCAzd0WhYUClb548cJUaF2UGrlj4X0N1KGkmp9J1xNE,297
|
596
599
|
odoo/addons/openupgrade_scripts/scripts/stock_picking_batch/17.0.1.0/upgrade_analysis.txt,sha256=D5ga0lVXgepoip2hpy8IkAyPIUx9JK7S6rgegxP_Hq0,696
|
597
600
|
odoo/addons/openupgrade_scripts/scripts/stock_picking_batch/17.0.1.0/upgrade_analysis_work.txt,sha256=9OoxM5xzb2WoQx3_SFxSyYc7meCIx9putCwdm5JwWM8,872
|
@@ -628,9 +631,8 @@ odoo/addons/openupgrade_scripts/scripts/website_crm_partner_assign/17.0.1.2/upgr
|
|
628
631
|
odoo/addons/openupgrade_scripts/scripts/website_customer/17.0.1.0/upgrade_analysis.txt,sha256=ml1mfj5PM97j8y7LfCPPth7JblWYmkrfbyKGGTYkN8o,617
|
629
632
|
odoo/addons/openupgrade_scripts/scripts/website_event/17.0.1.4/noupdate_changes.xml,sha256=gGQrjDSSR2tbBNI1ZWxgjyyvhLXa6EY545sKlmZ-X4k,672
|
630
633
|
odoo/addons/openupgrade_scripts/scripts/website_event/17.0.1.4/post-migration.py,sha256=aIpppLlR8o0ijY2pOQa5zjWc_80e0ozzxymvwvsKoJo,279
|
631
|
-
odoo/addons/openupgrade_scripts/scripts/website_event/17.0.1.4/pre-migration.py,sha256=KFV52Y4M74OXIbNEVm77Np1pad_2TmB-VeGp78SlYEI,957
|
632
634
|
odoo/addons/openupgrade_scripts/scripts/website_event/17.0.1.4/upgrade_analysis.txt,sha256=abK1mxe_Fle97MXC33KuYTvk4H-ayf3QIot1gwHqtqY,6801
|
633
|
-
odoo/addons/openupgrade_scripts/scripts/website_event/17.0.1.4/upgrade_analysis_work.txt,sha256=
|
635
|
+
odoo/addons/openupgrade_scripts/scripts/website_event/17.0.1.4/upgrade_analysis_work.txt,sha256=9pg19jZDdnlNLhHBoXn55XofDkXtneSeWrEYGW1LlpE,6997
|
634
636
|
odoo/addons/openupgrade_scripts/scripts/website_event_booth/17.0.1.0/upgrade_analysis.txt,sha256=c6fXPFpRf4wBL-wo1LC_27EfLNr8mZHuCQ3qdcYz1G0,615
|
635
637
|
odoo/addons/openupgrade_scripts/scripts/website_event_booth_exhibitor/17.0.1.1/upgrade_analysis.txt,sha256=m61WjKd1Qbo78pNqEjrg0Oo8OQqMSjDRoSpC8JGM2Yk,210
|
636
638
|
odoo/addons/openupgrade_scripts/scripts/website_event_booth_sale/17.0.1.0/upgrade_analysis.txt,sha256=2jjCDZ4uHskU6CMZLdQvHJuaCbribCHOHiJKETHbE_I,297
|
@@ -677,7 +679,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/17.0.1.0/upgrade_analysi
|
|
677
679
|
odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
|
678
680
|
odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
679
681
|
odoo/addons/openupgrade_scripts/static/description/index.html,sha256=iV41-zYBM4uvZPuunpcr7bQeRgBaojVsKo_gkeyJyA4,12639
|
680
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
681
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
682
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
683
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
682
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.227.dist-info/METADATA,sha256=bHLIJqmo-N5I3vq8ZvCtE4PzwIC4J4H3kCE51h-0bEo,3786
|
683
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.227.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
684
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.227.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
685
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.227.dist-info/RECORD,,
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# Copyright 2024 Tecnativa - Pilar Vargas
|
2
|
-
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
3
|
-
from openupgradelib import openupgrade
|
4
|
-
|
5
|
-
_xmlids_renames = [
|
6
|
-
(
|
7
|
-
"website_event.constraint_event_registration_answer_value_check",
|
8
|
-
"website_event.constraint_event_registration_answer_value_check",
|
9
|
-
),
|
10
|
-
(
|
11
|
-
"website_event.ir_rule_event_question_answer_event_user",
|
12
|
-
"website_event.ir_rule_event_question_answer_event_user",
|
13
|
-
),
|
14
|
-
(
|
15
|
-
"website_event.ir_rule_event_question_answer_published",
|
16
|
-
"website_event.ir_rule_event_question_answer_published",
|
17
|
-
),
|
18
|
-
(
|
19
|
-
"website_event.ir_rule_event_question_event_user",
|
20
|
-
"website_event.ir_rule_event_question_event_user",
|
21
|
-
),
|
22
|
-
(
|
23
|
-
"website_event.ir_rule_event_question_published",
|
24
|
-
"website_event.ir_rule_event_question_published",
|
25
|
-
),
|
26
|
-
]
|
27
|
-
|
28
|
-
|
29
|
-
def migrate(cr, version):
|
30
|
-
openupgrade.rename_xmlids(cr, _xmlids_renames)
|
File without changes
|