odoo-addon-openupgrade-scripts 15.0.1.0.0.546__py3-none-any.whl → 15.0.1.0.0.553__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/apriori.py +4 -0
- odoo/addons/openupgrade_scripts/scripts/mail/15.0.1.5/pre-migration.py +20 -7
- odoo/addons/openupgrade_scripts/scripts/repair/15.0.1.0/post-migration.py +21 -0
- odoo/addons/openupgrade_scripts/scripts/repair/15.0.1.0/pre-migration.py +14 -0
- odoo/addons/openupgrade_scripts/scripts/repair/15.0.1.0/upgrade_analysis_work.txt +25 -0
- {odoo_addon_openupgrade_scripts-15.0.1.0.0.546.dist-info → odoo_addon_openupgrade_scripts-15.0.1.0.0.553.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-15.0.1.0.0.546.dist-info → odoo_addon_openupgrade_scripts-15.0.1.0.0.553.dist-info}/RECORD +9 -6
- {odoo_addon_openupgrade_scripts-15.0.1.0.0.546.dist-info → odoo_addon_openupgrade_scripts-15.0.1.0.0.553.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-15.0.1.0.0.546.dist-info → odoo_addon_openupgrade_scripts-15.0.1.0.0.553.dist-info}/top_level.txt +0 -0
@@ -76,6 +76,9 @@ merged_modules = {
|
|
76
76
|
# OCA/e-commerce
|
77
77
|
"website_sale_attribute_filter_price": "website_sale",
|
78
78
|
"website_sale_stock_available_display": "website_sale_stock",
|
79
|
+
# OCA/fleet
|
80
|
+
"fleet_vehicle_notebook": "fleet",
|
81
|
+
"fleet_vehicle_pivot_graph": "fleet",
|
79
82
|
# OCA/hr-attendance
|
80
83
|
"hr_attendance_user_list": "hr_attendance",
|
81
84
|
# OCA/l10n-germany
|
@@ -83,6 +86,7 @@ merged_modules = {
|
|
83
86
|
# OCA/l10n-spain
|
84
87
|
"l10n_es_extra_data": "l10n_es",
|
85
88
|
# OCA/manufacture
|
89
|
+
"mrp_production_byproduct_cost_share": "mrp_account",
|
86
90
|
"mrp_subcontracting_resupply_link": "mrp_subcontracting_purchase",
|
87
91
|
# OCA/pos
|
88
92
|
"pos_invoicing": "point_of_sale",
|
@@ -170,13 +170,12 @@ def migration_to_mail_group(env):
|
|
170
170
|
("mail_channel_moderator_rel", "mail_group_moderator_rel"),
|
171
171
|
],
|
172
172
|
)
|
173
|
-
openupgrade.
|
173
|
+
openupgrade.logged_query(
|
174
174
|
env.cr,
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
},
|
175
|
+
"""
|
176
|
+
ALTER TABLE mail_group_moderator_rel
|
177
|
+
ADD COLUMN mail_group_id integer
|
178
|
+
""",
|
180
179
|
)
|
181
180
|
# fill mail_group table
|
182
181
|
sql.create_model_table(
|
@@ -234,7 +233,21 @@ def migration_to_mail_group(env):
|
|
234
233
|
UPDATE mail_group_moderator_rel rel
|
235
234
|
SET mail_group_id = mg.id
|
236
235
|
FROM mail_group mg
|
237
|
-
WHERE mg.old_channel_id = rel.
|
236
|
+
WHERE mg.old_channel_id = rel.mail_channel_id""",
|
237
|
+
)
|
238
|
+
openupgrade.logged_query(
|
239
|
+
env.cr,
|
240
|
+
"""
|
241
|
+
ALTER TABLE mail_group_moderator_rel
|
242
|
+
DROP COLUMN mail_channel_id
|
243
|
+
""",
|
244
|
+
)
|
245
|
+
openupgrade.logged_query(
|
246
|
+
env.cr,
|
247
|
+
"""
|
248
|
+
DELETE FROM mail_group_moderator_rel
|
249
|
+
WHERE mail_group_id IS NULL
|
250
|
+
""",
|
238
251
|
)
|
239
252
|
# fill mail_group_moderation.mail_group_id (field is required)
|
240
253
|
openupgrade.logged_query(
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Copyright 2025 Tecnativa - Carlos Lopez
|
2
|
+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
3
|
+
|
4
|
+
from openupgradelib import openupgrade
|
5
|
+
|
6
|
+
|
7
|
+
@openupgrade.migrate()
|
8
|
+
def migrate(env, version):
|
9
|
+
openupgrade.load_data(env.cr, "repair", "15.0.1.0/noupdate_changes.xml")
|
10
|
+
openupgrade.delete_record_translations(
|
11
|
+
env.cr,
|
12
|
+
"repair",
|
13
|
+
["mail_template_repair_quotation"],
|
14
|
+
)
|
15
|
+
openupgrade.map_values(
|
16
|
+
env.cr,
|
17
|
+
"state",
|
18
|
+
"state",
|
19
|
+
[("invoice_except", "2binvoiced")],
|
20
|
+
table="repair_order",
|
21
|
+
)
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Copyright 2025 Tecnativa - Carlos Lopez
|
2
|
+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
3
|
+
|
4
|
+
from openupgradelib import openupgrade
|
5
|
+
|
6
|
+
|
7
|
+
@openupgrade.migrate()
|
8
|
+
def migrate(env, version):
|
9
|
+
openupgrade.convert_field_to_html(
|
10
|
+
env.cr, "repair_order", "internal_notes", "internal_notes"
|
11
|
+
)
|
12
|
+
openupgrade.convert_field_to_html(
|
13
|
+
env.cr, "repair_order", "quotation_notes", "quotation_notes"
|
14
|
+
)
|
@@ -0,0 +1,25 @@
|
|
1
|
+
---Models in module 'repair'---
|
2
|
+
---Fields in module 'repair'---
|
3
|
+
repair / repair.order / _order : _order is now 'priority desc, create_date desc' ('create_date desc')
|
4
|
+
# NOTHING TO DO: the default value for priority is coherent and preserves the behavior of the previous version, so the order is unaltered
|
5
|
+
|
6
|
+
repair / repair.order / description (char) : NEW
|
7
|
+
repair / repair.order / sale_order_id (many2one) : NEW relation: sale.order
|
8
|
+
repair / repair.order / schedule_date (date) : NEW
|
9
|
+
# NOTHING TO DO: new fields for new feature
|
10
|
+
|
11
|
+
repair / repair.order / priority (selection) : NEW selection_keys: ['0', '1'], hasdefault: default
|
12
|
+
# NOTHING TO DO: new field for a new feature. The default value is coherent and preserves the behavior of the previous version
|
13
|
+
|
14
|
+
repair / repair.order / internal_notes (text) : type is now 'html' ('text')
|
15
|
+
repair / repair.order / quotation_notes (text) : type is now 'html' ('text')
|
16
|
+
# DONE: pre-migration: convert text to html
|
17
|
+
|
18
|
+
repair / repair.order / state (selection) : selection_keys is now '['2binvoiced', 'cancel', 'confirmed', 'done', 'draft', 'ready', 'under_repair']' ('['2binvoiced', 'cancel', 'confirmed', 'done', 'draft', 'invoice_except', 'ready', 'under_repair']')
|
19
|
+
# DONE: post-migration: Map value from invoice_except to 2binvoiced.
|
20
|
+
|
21
|
+
---XML records in module 'repair'---
|
22
|
+
NEW ir.actions.act_window: repair.action_repair_move_lines
|
23
|
+
DEL ir.model.access: repair.access_stock_production_lot_user
|
24
|
+
NEW ir.ui.view: repair.stock_production_lot_view_form
|
25
|
+
# NOTHING TO DO: Handled by ORM
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: odoo-addon-openupgrade_scripts
|
3
|
-
Version: 15.0.1.0.0.
|
3
|
+
Version: 15.0.1.0.0.553
|
4
4
|
Summary: Module that contains all the migrations analysis and scripts for migrate Odoo SA modules.
|
5
5
|
Home-page: https://github.com/OCA/OpenUpgrade
|
6
6
|
Author: Odoo Community Association (OCA)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
odoo/addons/openupgrade_scripts/README.rst,sha256=TFoeSTQ1dga9OiOaWPPw6VjE4FXLq6kAMfvg3HDTW3I,3185
|
2
2
|
odoo/addons/openupgrade_scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
odoo/addons/openupgrade_scripts/__manifest__.py,sha256=Bg1odtEI40Tp3WWqRv_MMkuERgls81FORzrUAzezsxg,553
|
4
|
-
odoo/addons/openupgrade_scripts/apriori.py,sha256=
|
4
|
+
odoo/addons/openupgrade_scripts/apriori.py,sha256=muRRu4Xuz1AKhhJYgP5cPcwwGg63-5JIeqNY6AGx_pw,5152
|
5
5
|
odoo/addons/openupgrade_scripts/readme/CONFIGURE.rst,sha256=cy1swpDkuqi9-6q8L1M1QD058QyfBvAE2PN_mmdxvwI,255
|
6
6
|
odoo/addons/openupgrade_scripts/readme/DESCRIPTION.rst,sha256=elLk0eys-xy60z5KMgqlCKySJWT_k2gTUoOiArMJkWc,86
|
7
7
|
odoo/addons/openupgrade_scripts/readme/INSTALL.rst,sha256=tXbOmw3QIhO1KLIziMpXzuuY0tOhI8IGT2ktCArwfGM,115
|
@@ -409,7 +409,7 @@ odoo/addons/openupgrade_scripts/scripts/link_tracker/15.0.1.1/upgrade_analysis.t
|
|
409
409
|
odoo/addons/openupgrade_scripts/scripts/lunch/15.0.1.0/upgrade_analysis.txt,sha256=YgvkxCZ8V959zAOfxf1dPzUga0vy3-1jSOAUcnkfPYI,6095
|
410
410
|
odoo/addons/openupgrade_scripts/scripts/mail/15.0.1.5/noupdate_changes.xml,sha256=mSFqMrPDjZxwCYbmhe6exCyciL3rTu3w2KzWvShS-nc,1530
|
411
411
|
odoo/addons/openupgrade_scripts/scripts/mail/15.0.1.5/post-migration.py,sha256=tzbQGOum8sL-EIOv24X7z7LsMgRE0qlKH1Xy8Hgp2WY,8676
|
412
|
-
odoo/addons/openupgrade_scripts/scripts/mail/15.0.1.5/pre-migration.py,sha256=
|
412
|
+
odoo/addons/openupgrade_scripts/scripts/mail/15.0.1.5/pre-migration.py,sha256=K0UNUNl3PAmUW9rv178d_8b5iML6AhzJ6eFrVuEIGbk,11134
|
413
413
|
odoo/addons/openupgrade_scripts/scripts/mail/15.0.1.5/upgrade_analysis.txt,sha256=31oUo4dhCV2f9bS5_khq1Zpy86kMfjbdm6DzMJ6cqEQ,15672
|
414
414
|
odoo/addons/openupgrade_scripts/scripts/mail/15.0.1.5/upgrade_analysis_work.txt,sha256=8Epm-t7TAcD5gYDOytEDOWEDWEsGJzGoYHBps-ESeWI,17944
|
415
415
|
odoo/addons/openupgrade_scripts/scripts/mail_bot/15.0.1.2/upgrade_analysis.txt,sha256=HnwiaLBRalQvp2n-9ZWkFPKbwvVJSPlVbmjoH6jc3Pg,222
|
@@ -601,7 +601,10 @@ odoo/addons/openupgrade_scripts/scripts/rating/15.0.1.0/pre-migration.py,sha256=
|
|
601
601
|
odoo/addons/openupgrade_scripts/scripts/rating/15.0.1.0/upgrade_analysis.txt,sha256=3Zjl03w3-ItvvI02a8N5OFrF4V3a3IBzuybeDVGoHYg,337
|
602
602
|
odoo/addons/openupgrade_scripts/scripts/rating/15.0.1.0/upgrade_analysis_work.txt,sha256=4LxywIXJjk8d1fypRdB9mLrE4623zRC8zTV3xfLLLDs,524
|
603
603
|
odoo/addons/openupgrade_scripts/scripts/repair/15.0.1.0/noupdate_changes.xml,sha256=tgqNerkSBObU9exuz1pLwlSAAEvTpo9ZXtzHveac2n4,1466
|
604
|
+
odoo/addons/openupgrade_scripts/scripts/repair/15.0.1.0/post-migration.py,sha256=GWk9k1Z0gCWc_4cKFsdUxUoim1ziRLclV_U_ZY5EGXQ,566
|
605
|
+
odoo/addons/openupgrade_scripts/scripts/repair/15.0.1.0/pre-migration.py,sha256=tj0t_MOfHdwxXAR15CeC2Ot4aP3gmJUZRDMJDACeUkY,429
|
604
606
|
odoo/addons/openupgrade_scripts/scripts/repair/15.0.1.0/upgrade_analysis.txt,sha256=DYejKkBh8LL2lDIgr3hRxQHo5Q9wBbtlVRjOmfjdLXI,1283
|
607
|
+
odoo/addons/openupgrade_scripts/scripts/repair/15.0.1.0/upgrade_analysis_work.txt,sha256=up7VhcKlluTqX6OM1g80DzaPgpUx-2pt6oegeuFlYKY,1741
|
605
608
|
odoo/addons/openupgrade_scripts/scripts/resource/15.0.1.1/upgrade_analysis.txt,sha256=XIxvG1E3gXqU2TBaoNPeSPxUO3t6wYp8AjQRGBEHOIY,574
|
606
609
|
odoo/addons/openupgrade_scripts/scripts/resource/15.0.1.1/upgrade_analysis_work.txt,sha256=qFh_fQMMvdSmg7nXswe4oUswB64cDN5yVCuECORPRzo,607
|
607
610
|
odoo/addons/openupgrade_scripts/scripts/sale/15.0.1.2/end-migration.py,sha256=5JTFx8e2AInoYLtmVJlPMz_0enITcIVEPPUaA-1WfW8,374
|
@@ -842,7 +845,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/15.0.1.0/upgrade_analysi
|
|
842
845
|
odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
|
843
846
|
odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
844
847
|
odoo/addons/openupgrade_scripts/static/description/index.html,sha256=Q6Orf6ynZuFFVbDWUruBEsSY4uaFaTiVYvLYU1tcCnc,12678
|
845
|
-
odoo_addon_openupgrade_scripts-15.0.1.0.0.
|
846
|
-
odoo_addon_openupgrade_scripts-15.0.1.0.0.
|
847
|
-
odoo_addon_openupgrade_scripts-15.0.1.0.0.
|
848
|
-
odoo_addon_openupgrade_scripts-15.0.1.0.0.
|
848
|
+
odoo_addon_openupgrade_scripts-15.0.1.0.0.553.dist-info/METADATA,sha256=blPGuPBSf76RrJ82FUz_ATWWNmCJDFspOj--mnt3FoU,3758
|
849
|
+
odoo_addon_openupgrade_scripts-15.0.1.0.0.553.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
850
|
+
odoo_addon_openupgrade_scripts-15.0.1.0.0.553.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
851
|
+
odoo_addon_openupgrade_scripts-15.0.1.0.0.553.dist-info/RECORD,,
|
File without changes
|