odoo-addon-openupgrade-scripts 17.0.1.0.1.62__py3-none-any.whl → 17.0.1.0.1.65__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/event/17.0.1.8/post-migration.py +12 -1
- odoo/addons/openupgrade_scripts/scripts/event/17.0.1.8/upgrade_analysis_work.txt +20 -3
- odoo/addons/openupgrade_scripts/scripts/spreadsheet/17.0.1.0/upgrade_analysis_work.txt +8 -0
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.62.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.65.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.62.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.65.dist-info}/RECORD +7 -6
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.62.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.65.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.62.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.65.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2024 Tecnativa - Víctor Martínez
|
1
|
+
# Copyright 2024-2025 Tecnativa - Víctor Martínez
|
2
2
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
3
3
|
from openupgradelib import openupgrade
|
4
4
|
|
@@ -11,7 +11,18 @@ _deleted_xml_records = [
|
|
11
11
|
@openupgrade.migrate()
|
12
12
|
def migrate(env, version):
|
13
13
|
openupgrade.load_data(env, "event", "17.0.1.8/noupdate_changes.xml")
|
14
|
+
openupgrade.delete_record_translations(
|
15
|
+
env.cr,
|
16
|
+
"event",
|
17
|
+
[
|
18
|
+
"event_registration_mail_template_badge",
|
19
|
+
"event_reminder",
|
20
|
+
"event_subscription",
|
21
|
+
],
|
22
|
+
)
|
14
23
|
openupgrade.delete_records_safely_by_xml_id(
|
15
24
|
env,
|
16
25
|
_deleted_xml_records,
|
17
26
|
)
|
27
|
+
openupgrade.logged_query(env.cr, "UPDATE event_event_ticket SET sequence = id")
|
28
|
+
openupgrade.logged_query(env.cr, "UPDATE event_type_ticket SET sequence = id")
|
@@ -4,42 +4,59 @@ event / event.event / _order : _order
|
|
4
4
|
event / event.event / activity_user_id (many2one) : not related anymore
|
5
5
|
event / event.event / activity_user_id (many2one) : now a function
|
6
6
|
# NOTHING TO DO
|
7
|
+
|
7
8
|
event / event.event / auto_confirm (boolean) : DEL
|
8
9
|
# NOTHING TO DO: Attendees are now created confirmed (state=open)
|
10
|
+
|
9
11
|
event / event.event / badge_format (selection) : NEW required, selection_keys: ['A4_french_fold', 'A6', 'four_per_sheet'], hasdefault: default
|
12
|
+
# NOTHING TO DO: Default value is the same as the previous behavior.
|
13
|
+
|
10
14
|
event / event.event / badge_image (binary) : NEW attachment: True
|
11
15
|
# NOTHING TO DO
|
16
|
+
|
12
17
|
event / event.event / lang (selection) : NEW selection_keys: function
|
13
18
|
# NOTHING TO DO: It is not required, it can be empty, we do not set the value of the old records
|
19
|
+
|
14
20
|
event / event.event / message_main_attachment_id (many2one): DEL relation: ir.attachment
|
15
21
|
event / event.event / rating_ids (one2many) : NEW relation: rating.rating
|
16
22
|
event / event.event / registration_properties_definition (properties_definition): NEW
|
17
23
|
# NOTHING TO DO
|
24
|
+
|
18
25
|
event / event.event.ticket / _order : _order is now 'event_id, sequence, name, id' ('id')
|
19
26
|
event / event.event.ticket / color (char) : NEW hasdefault: default
|
20
|
-
event / event.event.ticket / sequence (integer) : NEW hasdefault: default
|
21
27
|
# NOTHING TO DO
|
28
|
+
|
29
|
+
event / event.event.ticket / sequence (integer) : NEW hasdefault: default
|
30
|
+
# DONE: post-migration: We define the value as the id to respect the same ordering as before
|
31
|
+
|
22
32
|
event / event.registration / activity_user_id (many2one) : not related anymore
|
23
33
|
event / event.registration / activity_user_id (many2one) : now a function
|
24
34
|
# NOTHING TO DO
|
35
|
+
|
25
36
|
event / event.registration / barcode (char) : NEW
|
26
37
|
# NOTHING TO DO: There is no correct way to do it in postgres, we let the ORM set the value of the old records
|
38
|
+
|
27
39
|
event / event.registration / company_name (char) : NEW hasdefault: compute
|
28
|
-
# DONE:
|
40
|
+
# DONE: pre-migration: Pre-create and fill the column for avoiding the ORM computation
|
41
|
+
|
29
42
|
event / event.registration / message_main_attachment_id (many2one): DEL relation: ir.attachment
|
30
43
|
event / event.registration / mobile (char) : DEL
|
31
44
|
event / event.registration / rating_ids (one2many) : NEW relation: rating.rating
|
32
45
|
event / event.registration / registration_properties (properties): NEW hasdefault: compute
|
33
46
|
# NOTHING TO DO
|
47
|
+
|
34
48
|
event / event.type / auto_confirm (boolean) : DEL
|
35
49
|
# NOTHING TO DO: Explained in auto_confirm field of event.event
|
50
|
+
|
36
51
|
event / event.type.ticket / _order : _order is now 'sequence, name, id' ('id')
|
37
52
|
event / event.type.ticket / sequence (integer) : NEW hasdefault: default
|
38
|
-
#
|
53
|
+
# DONE: post-migration: We define the value as the id to respect the same ordering as before
|
54
|
+
|
39
55
|
---XML records in module 'event'---
|
40
56
|
DEL event.type: event.event_type_data_conference (noupdate)
|
41
57
|
DEL event.type: event.event_type_data_ticket (noupdate)
|
42
58
|
# DONE: removed in post-migration
|
59
|
+
|
43
60
|
NEW ir.actions.client: event.event_barcode_action_main_view
|
44
61
|
NEW ir.actions.report: event.action_report_event_event_attendee_list
|
45
62
|
NEW ir.actions.report: event.action_report_event_event_badge
|
@@ -0,0 +1,8 @@
|
|
1
|
+
---Models in module 'spreadsheet'---
|
2
|
+
new model spreadsheet.mixin [abstract]
|
3
|
+
# Abstract model. Nothing to do.
|
4
|
+
|
5
|
+
---Fields in module 'spreadsheet'---
|
6
|
+
---XML records in module 'spreadsheet'---
|
7
|
+
NEW ir.ui.view: spreadsheet.public_spreadsheet_layout
|
8
|
+
# New view. Nothing to do
|
@@ -84,10 +84,10 @@ odoo/addons/openupgrade_scripts/scripts/digest/17.0.1.1/pre-migration.py,sha256=
|
|
84
84
|
odoo/addons/openupgrade_scripts/scripts/digest/17.0.1.1/upgrade_analysis.txt,sha256=oPv4iPppLTf4jX6IovBfLVYGjqEvmWix7HiIjgeSkao,396
|
85
85
|
odoo/addons/openupgrade_scripts/scripts/digest/17.0.1.1/upgrade_analysis_work.txt,sha256=jiHe3jMCLNJJ1cZvVVpq3cV4ggEbyFI7dRL8rJu6nYY,439
|
86
86
|
odoo/addons/openupgrade_scripts/scripts/event/17.0.1.8/noupdate_changes.xml,sha256=LEEyj94Yk0Sr5EyKRglu0OXM2r-LLt1BWcYAqfgi-NQ,52136
|
87
|
-
odoo/addons/openupgrade_scripts/scripts/event/17.0.1.8/post-migration.py,sha256=
|
87
|
+
odoo/addons/openupgrade_scripts/scripts/event/17.0.1.8/post-migration.py,sha256=nfXrBctzNW3P9z9CMQ3aSnB-XRVnYYSixrfGH4UQrU8,876
|
88
88
|
odoo/addons/openupgrade_scripts/scripts/event/17.0.1.8/pre-migration.py,sha256=y-uLS0KuyCZ-pefOdcKAJ22jSYx2E-Zdkcfex2KWU2Y,1120
|
89
89
|
odoo/addons/openupgrade_scripts/scripts/event/17.0.1.8/upgrade_analysis.txt,sha256=5FaEY5kMt6XA2T3VzU8F5u2CTmh7WZchRjKHl-keSew,4154
|
90
|
-
odoo/addons/openupgrade_scripts/scripts/event/17.0.1.8/upgrade_analysis_work.txt,sha256=
|
90
|
+
odoo/addons/openupgrade_scripts/scripts/event/17.0.1.8/upgrade_analysis_work.txt,sha256=bdc7HjFYwds3t8aaUuYJr9oIhIjuD8slTCc4H3gAaps,4995
|
91
91
|
odoo/addons/openupgrade_scripts/scripts/event_booth/17.0.1.1/noupdate_changes.xml,sha256=iipsblz99fuanBEY661nPirN39O3eOGjW1bT2JwiWss,2381
|
92
92
|
odoo/addons/openupgrade_scripts/scripts/event_booth/17.0.1.1/upgrade_analysis.txt,sha256=sF-T-vRsKVL8z6zOaXX1EzIZa7WJ1hL9-dlN5wq5mEk,588
|
93
93
|
odoo/addons/openupgrade_scripts/scripts/event_booth_sale/17.0.1.2/upgrade_analysis.txt,sha256=93zxvY5pNeVDm0H25cv9YJmV45VQ0rN12h9uAqabxzU,552
|
@@ -455,6 +455,7 @@ odoo/addons/openupgrade_scripts/scripts/snailmail/17.0.0.4/upgrade_analysis.txt,
|
|
455
455
|
odoo/addons/openupgrade_scripts/scripts/snailmail_account/17.0.0.1/upgrade_analysis.txt,sha256=2X6KuuAqhblfZlcMDpqkn9LJCyVniu2kXxgKdtRdZvc,412
|
456
456
|
odoo/addons/openupgrade_scripts/scripts/social_media/17.0.0.1/upgrade_analysis.txt,sha256=o56bAP5vcYlwtDp-xJocqYHfOUU8mQ0ct6Gl0GQPG-8,197
|
457
457
|
odoo/addons/openupgrade_scripts/scripts/spreadsheet/17.0.1.0/upgrade_analysis.txt,sha256=7dsZj4-m8gQEWWfZBaMz7CZoS21LXopdR49H9qd9pr8,209
|
458
|
+
odoo/addons/openupgrade_scripts/scripts/spreadsheet/17.0.1.0/upgrade_analysis_work.txt,sha256=5jXbmD5Tvv4TGq9xa65PBYX3lIbuGAMUZP2nLLbvil8,269
|
458
459
|
odoo/addons/openupgrade_scripts/scripts/spreadsheet_dashboard/17.0.1.0/upgrade_analysis.txt,sha256=Avy6tI5qUcLVzk5YxyfHLpNU0bVgVnUs4NxvNByZo_I,1397
|
459
460
|
odoo/addons/openupgrade_scripts/scripts/spreadsheet_dashboard_website_sale/17.0.1.0/upgrade_analysis.txt,sha256=AlqrVVhJ3H_Flt1BmWCRt9LzKtsOKuIqf5Bl8LR6H8A,279
|
460
461
|
odoo/addons/openupgrade_scripts/scripts/stock/17.0.1.1/noupdate_changes.xml,sha256=YGDqhBLeLXWAemP0jvJnpOH5A-v2dz4UYkjqESa2NHs,358
|
@@ -532,7 +533,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/17.0.1.0/upgrade_analysi
|
|
532
533
|
odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
|
533
534
|
odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
534
535
|
odoo/addons/openupgrade_scripts/static/description/index.html,sha256=iV41-zYBM4uvZPuunpcr7bQeRgBaojVsKo_gkeyJyA4,12639
|
535
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
536
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
537
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
538
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
536
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.65.dist-info/METADATA,sha256=WSsV-PLiluiQVjs_GaQkcv-f6C9iEKgt9LLjb92KJy8,3785
|
537
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.65.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
538
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.65.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
539
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.65.dist-info/RECORD,,
|
File without changes
|