odoo-addon-openupgrade-scripts 17.0.1.0.1.219__py3-none-any.whl → 17.0.1.0.1.223__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/survey/17.0.3.6/post-migration.py +5 -0
- odoo/addons/openupgrade_scripts/scripts/survey/17.0.3.6/upgrade_analysis_work.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/website/17.0.1.0/noupdate_changes.xml +2 -0
- odoo/addons/openupgrade_scripts/scripts/website/17.0.1.0/post-migration.py +0 -6
- odoo/addons/openupgrade_scripts/scripts/website_event/17.0.1.4/post-migration.py +8 -0
- odoo/addons/openupgrade_scripts/scripts/website_event/17.0.1.4/pre-migration.py +30 -0
- odoo/addons/openupgrade_scripts/scripts/website_event/17.0.1.4/upgrade_analysis_work.txt +96 -0
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.219.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.223.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.219.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.223.dist-info}/RECORD +11 -8
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.219.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.223.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.219.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.223.dist-info}/top_level.txt +0 -0
@@ -1,10 +1,15 @@
|
|
1
1
|
# Copyright 2025 ForgeFlow S.L. (https://www.forgeflow.com)
|
2
|
+
# Copyright 2025 Tecnativa - Pedro M. Baeza
|
2
3
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
3
4
|
|
4
5
|
from openupgradelib import openupgrade
|
5
6
|
|
6
7
|
|
7
8
|
def convert_triggering_answer_id_m2o_to_m2m(env):
|
9
|
+
openupgrade.logged_query(
|
10
|
+
env.cr,
|
11
|
+
"UPDATE survey_question SET triggering_answer_id=NULL WHERE NOT is_conditional",
|
12
|
+
)
|
8
13
|
openupgrade.m2o_to_x2m(
|
9
14
|
env.cr,
|
10
15
|
env["survey.question"],
|
@@ -3,7 +3,7 @@
|
|
3
3
|
survey / survey.question / is_conditional (boolean) : DEL
|
4
4
|
survey / survey.question / triggering_answer_id (many2one): DEL relation: survey.question.answer
|
5
5
|
survey / survey.question / triggering_answer_ids (many2many): NEW relation: survey.question.answer
|
6
|
-
# DONE: post-migration: transform many2one to many2many
|
6
|
+
# DONE: post-migration: empty triggering_answer_id when is_condition is not checked + transform many2one to many2many
|
7
7
|
|
8
8
|
survey / survey.question / triggering_question_id (many2one): DEL relation: survey.question
|
9
9
|
# NOTHING TO DO: there is a m2m non-stored computed instead
|
@@ -1,9 +1,11 @@
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
2
2
|
<odoo>
|
3
|
+
<!--
|
3
4
|
<record id="contactus_page" model="website.page">
|
4
5
|
<field name="website_meta_description">This is the contact us page of the website</field>
|
5
6
|
</record>
|
6
7
|
<record id="homepage_page" model="website.page">
|
7
8
|
<field name="website_meta_description">This is the homepage of the website</field>
|
8
9
|
</record>
|
10
|
+
-->
|
9
11
|
</odoo>
|
@@ -8,9 +8,3 @@ from openupgradelib import openupgrade
|
|
8
8
|
@openupgrade.migrate()
|
9
9
|
def migrate(env, version):
|
10
10
|
openupgrade.load_data(env, "website", "17.0.1.0/noupdate_changes.xml")
|
11
|
-
openupgrade.delete_record_translations(
|
12
|
-
env.cr,
|
13
|
-
"website",
|
14
|
-
["contactus_page", "homepage_page"],
|
15
|
-
["website_meta_description"],
|
16
|
-
)
|
@@ -0,0 +1,8 @@
|
|
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
|
+
|
6
|
+
@openupgrade.migrate()
|
7
|
+
def migrate(env, version):
|
8
|
+
openupgrade.load_data(env, "website_event", "17.0.1.4/noupdate_changes.xml")
|
@@ -0,0 +1,30 @@
|
|
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)
|
@@ -0,0 +1,96 @@
|
|
1
|
+
---Models in module 'website_event'---
|
2
|
+
---Fields in module 'website_event'---
|
3
|
+
website_event / event.registration / registration_answer_choice_ids (one2many): NEW relation: event.registration.answer
|
4
|
+
website_event / event.tag / is_published (boolean) : NEW hasdefault: default
|
5
|
+
website_event / event.tag / website_id (many2one) : NEW relation: website
|
6
|
+
website_event / event.tag.category / website_id (many2one) : NEW relation: website
|
7
|
+
website_event / event.tag.category / website_published (boolean) : not related anymore
|
8
|
+
website_event / event.tag.category / website_published (boolean) : now a function
|
9
|
+
website_event_questions / event.question / question_type (selection) : selection_keys is now '['company_name', 'email', 'name', 'phone', 'simple_choice', 'text_box']' ('['simple_choice', 'text_box']')
|
10
|
+
# NOTHING TO DO
|
11
|
+
|
12
|
+
---XML records in module 'website_event'---
|
13
|
+
NEW ir.actions.act_window: website_event.action_event_registration_report [renamed from website_event_questions module]
|
14
|
+
DEL ir.actions.act_window: website_event_questions.action_event_registration_report [renamed to website_event module]
|
15
|
+
# NOTHING TO DO
|
16
|
+
|
17
|
+
NEW ir.asset: website_event.s_searchbar_000_js
|
18
|
+
NEW ir.asset: website_event.s_searchbar_000_xml
|
19
|
+
# NOTHING TO DO
|
20
|
+
|
21
|
+
NEW ir.model.access: website_event.access_event_event_employee
|
22
|
+
NEW ir.model.access: website_event.access_event_event_portal
|
23
|
+
NEW ir.model.access: website_event.access_event_event_public
|
24
|
+
NEW ir.model.access: website_event.access_event_event_ticket_employee
|
25
|
+
NEW ir.model.access: website_event.access_event_event_ticket_portal
|
26
|
+
NEW ir.model.access: website_event.access_event_event_ticket_public
|
27
|
+
NEW ir.model.access: website_event.access_event_question_answer_employee
|
28
|
+
NEW ir.model.access: website_event.access_event_question_answer_portal
|
29
|
+
NEW ir.model.access: website_event.access_event_question_answer_public
|
30
|
+
NEW ir.model.access: website_event.access_event_question_answer_registration [renamed from website_event_questions module]
|
31
|
+
NEW ir.model.access: website_event.access_event_question_answer_user [renamed from website_event_questions module]
|
32
|
+
NEW ir.model.access: website_event.access_event_question_employee
|
33
|
+
NEW ir.model.access: website_event.access_event_question_portal
|
34
|
+
NEW ir.model.access: website_event.access_event_question_public
|
35
|
+
NEW ir.model.access: website_event.access_event_question_user [renamed from website_event_questions module]
|
36
|
+
NEW ir.model.access: website_event.access_event_registration_answer
|
37
|
+
NEW ir.model.access: website_event.access_event_tag_category_employee
|
38
|
+
NEW ir.model.access: website_event.access_event_tag_category_portal
|
39
|
+
NEW ir.model.access: website_event.access_event_tag_category_public
|
40
|
+
NEW ir.model.access: website_event.access_event_tag_employee
|
41
|
+
NEW ir.model.access: website_event.access_event_tag_portal
|
42
|
+
NEW ir.model.access: website_event.access_event_tag_public
|
43
|
+
NEW ir.model.access: website_event.access_website_event_menu_employee
|
44
|
+
NEW ir.model.access: website_event.access_website_event_menu_portal
|
45
|
+
NEW ir.model.access: website_event.access_website_event_menu_public
|
46
|
+
DEL ir.model.access: website_event.access_event_event
|
47
|
+
DEL ir.model.access: website_event.access_event_event_ticket
|
48
|
+
DEL ir.model.access: website_event.access_event_tag
|
49
|
+
DEL ir.model.access: website_event.access_event_tag_category
|
50
|
+
DEL ir.model.access: website_event.access_website_event_menu
|
51
|
+
DEL ir.model.access: website_event_questions.access_event_question
|
52
|
+
DEL ir.model.access: website_event_questions.access_event_question_answer
|
53
|
+
DEL ir.model.access: website_event_questions.access_event_question_answer_registration [renamed to website_event module]
|
54
|
+
DEL ir.model.access: website_event_questions.access_event_question_answer_user [renamed to website_event module]
|
55
|
+
DEL ir.model.access: website_event_questions.access_event_question_user [renamed to website_event module]
|
56
|
+
DEL ir.model.access: website_event_questions.access_event_registration_answer_registration
|
57
|
+
# NOTHING TO DO
|
58
|
+
|
59
|
+
NEW ir.model.constraint: website_event.constraint_event_registration_answer_value_check [renamed from website_event_questions module]
|
60
|
+
DEL ir.model.constraint: website_event_questions.constraint_event_registration_answer_value_check [renamed to website_event module]
|
61
|
+
NEW ir.rule: website_event.ir_rule_event_question_answer_event_user [renamed from website_event_questions module] (noupdate)
|
62
|
+
NEW ir.rule: website_event.ir_rule_event_question_answer_published [renamed from website_event_questions module] (noupdate)
|
63
|
+
NEW ir.rule: website_event.ir_rule_event_question_event_user [renamed from website_event_questions module] (noupdate)
|
64
|
+
NEW ir.rule: website_event.ir_rule_event_question_published [renamed from website_event_questions module] (noupdate)
|
65
|
+
DEL ir.rule: website_event_questions.ir_rule_event_question_answer_event_user [renamed to website_event module] (noupdate)
|
66
|
+
DEL ir.rule: website_event_questions.ir_rule_event_question_answer_published [renamed to website_event module] (noupdate)
|
67
|
+
DEL ir.rule: website_event_questions.ir_rule_event_question_event_user [renamed to website_event module] (noupdate)
|
68
|
+
DEL ir.rule: website_event_questions.ir_rule_event_question_published [renamed to website_event module] (noupdate)
|
69
|
+
# DONE: renamed in pre-migration
|
70
|
+
|
71
|
+
NEW ir.ui.view: website_event.event_empty_events_svg
|
72
|
+
NEW ir.ui.view: website_event.event_question_view_form
|
73
|
+
NEW ir.ui.view: website_event.event_registration_answer_view_graph
|
74
|
+
NEW ir.ui.view: website_event.event_registration_answer_view_pivot
|
75
|
+
NEW ir.ui.view: website_event.event_registration_answer_view_search
|
76
|
+
NEW ir.ui.view: website_event.event_registration_answer_view_tree
|
77
|
+
NEW ir.ui.view: website_event.event_registration_view_kanban
|
78
|
+
NEW ir.ui.view: website_event.event_registration_view_search
|
79
|
+
NEW ir.ui.view: website_event.event_tag_view_form_inherit
|
80
|
+
NEW ir.ui.view: website_event.modal_ticket_registration
|
81
|
+
NEW ir.ui.view: website_event.navbar
|
82
|
+
NEW ir.ui.view: website_event.registration_event_question
|
83
|
+
DEL ir.ui.view: website_event.fold_register_details
|
84
|
+
DEL ir.ui.view: website_event.res_config_settings_view_form
|
85
|
+
DEL ir.ui.view: website_event_questions.event_event_view_form
|
86
|
+
DEL ir.ui.view: website_event_questions.event_question_view_form
|
87
|
+
DEL ir.ui.view: website_event_questions.event_registration_answer_view_graph
|
88
|
+
DEL ir.ui.view: website_event_questions.event_registration_answer_view_pivot
|
89
|
+
DEL ir.ui.view: website_event_questions.event_registration_answer_view_search
|
90
|
+
DEL ir.ui.view: website_event_questions.event_registration_answer_view_tree
|
91
|
+
DEL ir.ui.view: website_event_questions.event_registration_view_form_inherit_question
|
92
|
+
DEL ir.ui.view: website_event_questions.event_registration_view_tree
|
93
|
+
DEL ir.ui.view: website_event_questions.event_type_view_form_inherit_question
|
94
|
+
DEL ir.ui.view: website_event_questions.registration_attendee_details_questions
|
95
|
+
DEL ir.ui.view: website_event_questions.registration_event_question
|
96
|
+
# NOTHING TO DO
|
@@ -596,9 +596,9 @@ odoo/addons/openupgrade_scripts/scripts/stock_landed_costs_company/17.0.1.0/upgr
|
|
596
596
|
odoo/addons/openupgrade_scripts/scripts/stock_picking_batch/17.0.1.0/upgrade_analysis.txt,sha256=D5ga0lVXgepoip2hpy8IkAyPIUx9JK7S6rgegxP_Hq0,696
|
597
597
|
odoo/addons/openupgrade_scripts/scripts/stock_picking_batch/17.0.1.0/upgrade_analysis_work.txt,sha256=9OoxM5xzb2WoQx3_SFxSyYc7meCIx9putCwdm5JwWM8,872
|
598
598
|
odoo/addons/openupgrade_scripts/scripts/stock_sms/17.0.1.0/upgrade_analysis.txt,sha256=WmtD-QRPZnTjNKvErYIFRz_n-t4C2ttxPz_9eYkTOrw,150
|
599
|
-
odoo/addons/openupgrade_scripts/scripts/survey/17.0.3.6/post-migration.py,sha256=
|
599
|
+
odoo/addons/openupgrade_scripts/scripts/survey/17.0.3.6/post-migration.py,sha256=bZsnyEJ7RY73h8gjBOISK0Cn2cjFH1HI95x8L6Xzltg,681
|
600
600
|
odoo/addons/openupgrade_scripts/scripts/survey/17.0.3.6/upgrade_analysis.txt,sha256=4pKxvlMav-PO7Hd44Bp1rW-EavfQpql6aNw_ugn6fwk,2379
|
601
|
-
odoo/addons/openupgrade_scripts/scripts/survey/17.0.3.6/upgrade_analysis_work.txt,sha256=
|
601
|
+
odoo/addons/openupgrade_scripts/scripts/survey/17.0.3.6/upgrade_analysis_work.txt,sha256=vFqDRXLF4rv2Vg4BM0G9d_sBIwDYcKJ2Ki67aMLbbZo,2479
|
602
602
|
odoo/addons/openupgrade_scripts/scripts/transifex/17.0.1.0/upgrade_analysis.txt,sha256=9js2BMOhvgwKRc7amc1kIms0LLC9u6-SmqbXAl4MlUk,150
|
603
603
|
odoo/addons/openupgrade_scripts/scripts/uom/17.0.1.0/upgrade_analysis.txt,sha256=QNpF0ZKtfvAQ5CYA-S7iCVvfMBnNQZXwNhgtA6am5JM,132
|
604
604
|
odoo/addons/openupgrade_scripts/scripts/utm/17.0.1.1/upgrade_analysis.txt,sha256=_OOLVSiucvspEHo_3R5b5ikUC1Fbrsf8Xek6KUgUs5c,230
|
@@ -612,8 +612,8 @@ odoo/addons/openupgrade_scripts/scripts/web_hierarchy/17.0.1.0/upgrade_analysis.
|
|
612
612
|
odoo/addons/openupgrade_scripts/scripts/web_hierarchy/17.0.1.0/upgrade_analysis_work.txt,sha256=cvj484RpKyj4O34WmBIjnNyPvWDJuK7jicBiHVLtW9I,447
|
613
613
|
odoo/addons/openupgrade_scripts/scripts/web_tour/17.0.0.1/upgrade_analysis.txt,sha256=s140_WtORGtzpb8A4VHm0LTT8XbotPX7DvT_9-6GWto,147
|
614
614
|
odoo/addons/openupgrade_scripts/scripts/web_tour/17.0.0.1/upgrade_analysis_work.txt,sha256=NOBievntBLSAFC9ukXfy8JG2j2updWkORSmMJwsPJdw,189
|
615
|
-
odoo/addons/openupgrade_scripts/scripts/website/17.0.1.0/noupdate_changes.xml,sha256=
|
616
|
-
odoo/addons/openupgrade_scripts/scripts/website/17.0.1.0/post-migration.py,sha256=
|
615
|
+
odoo/addons/openupgrade_scripts/scripts/website/17.0.1.0/noupdate_changes.xml,sha256=CmsT7Yk5580T0mYKtTh_tUA_2SxRVKtyegO-QO3N0xA,375
|
616
|
+
odoo/addons/openupgrade_scripts/scripts/website/17.0.1.0/post-migration.py,sha256=FXCUfXvOXytigTkFoPUXr1gG8dITTeGb3yQK3lmcm18,362
|
617
617
|
odoo/addons/openupgrade_scripts/scripts/website/17.0.1.0/pre-migration.py,sha256=G1nzlkP_njLYfwAnSk8k-4PY8aKudSrq2adzxjDV9Lw,5262
|
618
618
|
odoo/addons/openupgrade_scripts/scripts/website/17.0.1.0/upgrade_analysis.txt,sha256=f1VN1XwAxqYpqk9j_zDA5Fpo0UsduG3hsuOJIRfMhq8,23040
|
619
619
|
odoo/addons/openupgrade_scripts/scripts/website/17.0.1.0/upgrade_analysis_work.txt,sha256=XbZnVSDR6kH3G4VWsGV98RgcODYiG3VEKp2mXfO5U6Q,23252
|
@@ -627,7 +627,10 @@ odoo/addons/openupgrade_scripts/scripts/website_crm_livechat/17.0.1.0/upgrade_an
|
|
627
627
|
odoo/addons/openupgrade_scripts/scripts/website_crm_partner_assign/17.0.1.2/upgrade_analysis.txt,sha256=Y3DLpC8wNPscsQj-3XGZB2kGiktdZWkKCCYgmJFnvAE,300
|
628
628
|
odoo/addons/openupgrade_scripts/scripts/website_customer/17.0.1.0/upgrade_analysis.txt,sha256=ml1mfj5PM97j8y7LfCPPth7JblWYmkrfbyKGGTYkN8o,617
|
629
629
|
odoo/addons/openupgrade_scripts/scripts/website_event/17.0.1.4/noupdate_changes.xml,sha256=gGQrjDSSR2tbBNI1ZWxgjyyvhLXa6EY545sKlmZ-X4k,672
|
630
|
+
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
|
630
632
|
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=5SHYx0dh-d9uU0L3Kwr6CJyF9AFOHR37ojPjdBEnz6k,6919
|
631
634
|
odoo/addons/openupgrade_scripts/scripts/website_event_booth/17.0.1.0/upgrade_analysis.txt,sha256=c6fXPFpRf4wBL-wo1LC_27EfLNr8mZHuCQ3qdcYz1G0,615
|
632
635
|
odoo/addons/openupgrade_scripts/scripts/website_event_booth_exhibitor/17.0.1.1/upgrade_analysis.txt,sha256=m61WjKd1Qbo78pNqEjrg0Oo8OQqMSjDRoSpC8JGM2Yk,210
|
633
636
|
odoo/addons/openupgrade_scripts/scripts/website_event_booth_sale/17.0.1.0/upgrade_analysis.txt,sha256=2jjCDZ4uHskU6CMZLdQvHJuaCbribCHOHiJKETHbE_I,297
|
@@ -674,7 +677,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/17.0.1.0/upgrade_analysi
|
|
674
677
|
odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
|
675
678
|
odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
676
679
|
odoo/addons/openupgrade_scripts/static/description/index.html,sha256=iV41-zYBM4uvZPuunpcr7bQeRgBaojVsKo_gkeyJyA4,12639
|
677
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
678
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
679
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
680
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
680
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.223.dist-info/METADATA,sha256=muHlZ7SxqMwevJ76gKnxC4stoDr0LOJT9D36IZSyvS0,3786
|
681
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.223.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
682
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.223.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
683
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.223.dist-info/RECORD,,
|
File without changes
|