odoo-addon-openupgrade-scripts 18.0.1.0.0.9__py3-none-any.whl → 18.0.1.0.0.14__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 +2 -0
- odoo/addons/openupgrade_scripts/scripts/html_editor/18.0.1.0/upgrade_analysis_work.txt +11 -0
- odoo/addons/openupgrade_scripts/scripts/web_tour/18.0.1.0/end-migration.py +21 -0
- odoo/addons/openupgrade_scripts/scripts/web_tour/18.0.1.0/pre-migration.py +17 -0
- odoo/addons/openupgrade_scripts/scripts/web_tour/18.0.1.0/upgrade_analysis_work.txt +42 -0
- {odoo_addon_openupgrade_scripts-18.0.1.0.0.9.dist-info → odoo_addon_openupgrade_scripts-18.0.1.0.0.14.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-18.0.1.0.0.9.dist-info → odoo_addon_openupgrade_scripts-18.0.1.0.0.14.dist-info}/RECORD +9 -5
- {odoo_addon_openupgrade_scripts-18.0.1.0.0.9.dist-info → odoo_addon_openupgrade_scripts-18.0.1.0.0.14.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-18.0.1.0.0.9.dist-info → odoo_addon_openupgrade_scripts-18.0.1.0.0.14.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
---Models in module 'html_editor'---
|
2
|
+
---Fields in module 'html_editor'---
|
3
|
+
html_editor / ir.attachment / image_height (integer) : previously in module web_editor
|
4
|
+
html_editor / ir.attachment / image_src (char) : previously in module web_editor
|
5
|
+
html_editor / ir.attachment / image_width (integer) : previously in module web_editor
|
6
|
+
html_editor / ir.attachment / local_url (char) : previously in module web_editor
|
7
|
+
html_editor / ir.attachment / original_id (many2one) : previously in module web_editor
|
8
|
+
|
9
|
+
# NOTHING TO DO: odoo handles this transition automatically
|
10
|
+
|
11
|
+
---XML records in module 'html_editor'---
|
@@ -0,0 +1,21 @@
|
|
1
|
+
from openupgradelib import openupgrade
|
2
|
+
|
3
|
+
|
4
|
+
@openupgrade.migrate()
|
5
|
+
def migrate(env, version=None):
|
6
|
+
"""
|
7
|
+
Set consumed tours from legacy table after migration
|
8
|
+
"""
|
9
|
+
openupgrade.logged_query(
|
10
|
+
env.cr,
|
11
|
+
f"""
|
12
|
+
INSERT INTO res_users_web_tour_tour_rel
|
13
|
+
(res_users_id, web_tour_tour_id)
|
14
|
+
SELECT legacy_table.user_id, web_tour_tour.id
|
15
|
+
FROM
|
16
|
+
{openupgrade.get_legacy_name('web_tour_tour')} legacy_table,
|
17
|
+
web_tour_tour
|
18
|
+
WHERE web_tour_tour.name=legacy_table.name
|
19
|
+
ON CONFLICT DO NOTHING
|
20
|
+
""",
|
21
|
+
)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
from openupgradelib import openupgrade
|
2
|
+
|
3
|
+
|
4
|
+
@openupgrade.migrate()
|
5
|
+
def migrate(env, version=None):
|
6
|
+
"""
|
7
|
+
web_tour.tour used to be just a marker which tour has been run for which user,
|
8
|
+
with a new record for every user who finished the tour.
|
9
|
+
In v18 tours are unique by name and have a many2many field for recording which
|
10
|
+
users have completed it.
|
11
|
+
Move the v17 table out of the way so that we can set tours as consumed in
|
12
|
+
end-migration (matched by tour name, if a tour name changes from v17 to v18,
|
13
|
+
the migration script will have to rename it in the legacy table - no core module
|
14
|
+
does this)
|
15
|
+
"""
|
16
|
+
openupgrade.remove_tables_fks(env.cr, ["web_tour_tour"])
|
17
|
+
openupgrade.rename_tables(env.cr, [("web_tour_tour", None)])
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---Models in module 'web_tour'---
|
2
|
+
new model web_tour.tour.step
|
3
|
+
---Fields in module 'web_tour'---
|
4
|
+
web_tour / res.users / tour_enabled (boolean) : NEW hasdefault: compute
|
5
|
+
web_tour / web_tour.tour / _order : _order is now 'sequence, name, id' ('id')
|
6
|
+
web_tour / web_tour.tour / custom (boolean) : NEW
|
7
|
+
web_tour / web_tour.tour / rainbow_man_message (html) : NEW hasdefault: default
|
8
|
+
web_tour / web_tour.tour / sequence (integer) : NEW hasdefault: default
|
9
|
+
web_tour / web_tour.tour / step_ids (one2many) : NEW relation: web_tour.tour.step
|
10
|
+
web_tour / web_tour.tour / url (char) : NEW hasdefault: default
|
11
|
+
|
12
|
+
NOTHING TO DO
|
13
|
+
|
14
|
+
web_tour / web_tour.tour / user_consumed_ids (many2many) : NEW relation: res.users
|
15
|
+
web_tour / web_tour.tour / user_id (many2one) : DEL relation: res.users
|
16
|
+
|
17
|
+
DONE: move old table aside in pre-migration, set user_consumed_ids from this table and delete it in end migration
|
18
|
+
|
19
|
+
web_tour / web_tour.tour.step / content (char) : NEW
|
20
|
+
web_tour / web_tour.tour.step / run (char) : NEW
|
21
|
+
web_tour / web_tour.tour.step / sequence (integer) : NEW
|
22
|
+
web_tour / web_tour.tour.step / tour_id (many2one) : NEW relation: web_tour.tour, required
|
23
|
+
web_tour / web_tour.tour.step / trigger (char) : NEW required
|
24
|
+
---XML records in module 'web_tour'---
|
25
|
+
NEW ir.actions.act_window: web_tour.tour_action
|
26
|
+
DEL ir.actions.act_window: web_tour.edit_tour_action
|
27
|
+
NEW ir.actions.server: web_tour.tour_export_js_action
|
28
|
+
NEW ir.model.access: web_tour.access_web_tour_tour_readonly
|
29
|
+
NEW ir.model.access: web_tour.access_web_tour_tour_step_admin
|
30
|
+
NEW ir.model.access: web_tour.access_web_tour_tour_step_readonly
|
31
|
+
DEL ir.model.access: web_tour.access_web_tour_tour
|
32
|
+
NEW ir.model.constraint: web_tour.constraint_web_tour_tour_uniq_name
|
33
|
+
DEL ir.rule: web_tour.own_tours
|
34
|
+
NEW ir.ui.view: web_tour.res_users_view_form
|
35
|
+
NEW ir.ui.view: web_tour.tour_form
|
36
|
+
NEW ir.ui.view: web_tour.tour_list
|
37
|
+
NEW ir.ui.view: web_tour.tour_search
|
38
|
+
DEL ir.ui.view: web_tour.edit_tour_form
|
39
|
+
DEL ir.ui.view: web_tour.edit_tour_list
|
40
|
+
DEL ir.ui.view: web_tour.edit_tour_search
|
41
|
+
|
42
|
+
NOTHING TO DO
|
@@ -1,7 +1,7 @@
|
|
1
1
|
odoo/addons/openupgrade_scripts/README.rst,sha256=RuTBUdBI9hVP6kr2WJenFV-0J5l2tgUfzuOEtG9MyKQ,3179
|
2
2
|
odoo/addons/openupgrade_scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
odoo/addons/openupgrade_scripts/__manifest__.py,sha256=fZVzjupYlcmfrTQtiBu7wlaAqO4JWQncNAdQPEnpaCY,614
|
4
|
-
odoo/addons/openupgrade_scripts/apriori.py,sha256=
|
4
|
+
odoo/addons/openupgrade_scripts/apriori.py,sha256=JO0wTNXoRTIrlpgZeTwYdVfR7Xkt_KB84MgZT_Ga_u0,670
|
5
5
|
odoo/addons/openupgrade_scripts/readme/CONFIGURE.md,sha256=rnx8ADTYzVUB93PIG3Lib0iWBrphSfVRs6RMikklf3M,238
|
6
6
|
odoo/addons/openupgrade_scripts/readme/DESCRIPTION.md,sha256=6hwHccovmE9cfaV7PQPvKUvNJa-f_Uc1wgXyL_SrYck,86
|
7
7
|
odoo/addons/openupgrade_scripts/readme/INSTALL.md,sha256=NDKVZRv0J8BTqcSTD7JwUXL_AY-cDJoegn5IUTbEOFk,113
|
@@ -125,6 +125,7 @@ odoo/addons/openupgrade_scripts/scripts/hr_work_entry/18.0.1.0/upgrade_analysis.
|
|
125
125
|
odoo/addons/openupgrade_scripts/scripts/hr_work_entry_contract/18.0.1.0/upgrade_analysis.txt,sha256=ci4PEjbKpDZr4lAikNgyQSjrVYKMRw-bXpm7DeZZJ6Y,189
|
126
126
|
odoo/addons/openupgrade_scripts/scripts/hr_work_entry_holidays/18.0.1.0/upgrade_analysis.txt,sha256=iScawuxdtuyagl1mMOXO_bnhwnTGj9UGzN7HfkDzH0A,226
|
127
127
|
odoo/addons/openupgrade_scripts/scripts/html_editor/18.0.1.0/upgrade_analysis.txt,sha256=yjRpKAuJcb6r0v_d8JXra5Lko1tipqJfuaXOs1y3DiY,646
|
128
|
+
odoo/addons/openupgrade_scripts/scripts/html_editor/18.0.1.0/upgrade_analysis_work.txt,sha256=Ex8yOknGgG7uN6qAhmapz0M9cR8gnzgOplOlONBPviE,708
|
128
129
|
odoo/addons/openupgrade_scripts/scripts/iap/18.0.1.1/upgrade_analysis.txt,sha256=MHYXORhCJ5f7T0ch_o4yNnjYfppJ8QT3oP-02_JQYBI,2027
|
129
130
|
odoo/addons/openupgrade_scripts/scripts/iap_crm/18.0.1.0/upgrade_analysis.txt,sha256=Qxdh9V6HQd4HpmXsmxEMxN3Vu7y8Q6v0NWL3ZrRK1oA,144
|
130
131
|
odoo/addons/openupgrade_scripts/scripts/iap_mail/18.0.1.0/upgrade_analysis.txt,sha256=g7RJbU2YvBYxo7L9iJFULEF3NKglvNQoI0SF7PFCe5U,359
|
@@ -403,7 +404,10 @@ odoo/addons/openupgrade_scripts/scripts/web/18.0.1.0/upgrade_analysis.txt,sha256
|
|
403
404
|
odoo/addons/openupgrade_scripts/scripts/web/18.0.1.0/upgrade_analysis_work.txt,sha256=H5hWDif6hhChIIQoewaH5rk_Gh0bmhRR3o0ncUCHyyw,468
|
404
405
|
odoo/addons/openupgrade_scripts/scripts/web_editor/18.0.1.0/upgrade_analysis.txt,sha256=XwWLr4ECjOl0-2rW3R4CgsJmj4QYYo0vY9kgk3ql6Rc,757
|
405
406
|
odoo/addons/openupgrade_scripts/scripts/web_hierarchy/18.0.1.0/upgrade_analysis.txt,sha256=XMF1MYAL4CZcW5-lcpiQd8TMEdf0_TN9FBF79siwF9g,664
|
407
|
+
odoo/addons/openupgrade_scripts/scripts/web_tour/18.0.1.0/end-migration.py,sha256=3a9vlJg7n_XYwsb-HWu9hec6gGNazxsRPMK-cjHUpKs,576
|
408
|
+
odoo/addons/openupgrade_scripts/scripts/web_tour/18.0.1.0/pre-migration.py,sha256=pMcHF6q-I4vEHS0XeYDKDBRiF4LprKYoM0OSqivhQMc,752
|
406
409
|
odoo/addons/openupgrade_scripts/scripts/web_tour/18.0.1.0/upgrade_analysis.txt,sha256=yXOfMk5BXOVBVAg6ROr3geQWUErfTrWcV0npI3aq1Zc,2226
|
410
|
+
odoo/addons/openupgrade_scripts/scripts/web_tour/18.0.1.0/upgrade_analysis_work.txt,sha256=ghNCJaPp5qyUZaw52zJ7W6YC0n6U0IbpUR0hPEOdamY,2373
|
407
411
|
odoo/addons/openupgrade_scripts/scripts/website/18.0.1.0/upgrade_analysis.txt,sha256=dTglvaoSlCVU3m8zMQITZ1hKKHqnMnFMJbSv-uFuh18,9903
|
408
412
|
odoo/addons/openupgrade_scripts/scripts/website_blog/18.0.1.1/upgrade_analysis.txt,sha256=qhbcPVY5UzFSgPey9shgJNHq4vSPYF_BKmIGrIk77IM,492
|
409
413
|
odoo/addons/openupgrade_scripts/scripts/website_crm/18.0.2.1/upgrade_analysis.txt,sha256=y6ZeGUo8Je1ompJpIV8Yn_mMeHTD4TtOGTAnwAArIHo,156
|
@@ -449,7 +453,7 @@ odoo/addons/openupgrade_scripts/scripts/website_slides_survey/18.0.1.0/upgrade_a
|
|
449
453
|
odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
|
450
454
|
odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
451
455
|
odoo/addons/openupgrade_scripts/static/description/index.html,sha256=Jc0qAThlH5WnoSq6vPamjC8WyMkdo_9zkhDuU1qW1VI,12722
|
452
|
-
odoo_addon_openupgrade_scripts-18.0.1.0.0.
|
453
|
-
odoo_addon_openupgrade_scripts-18.0.1.0.0.
|
454
|
-
odoo_addon_openupgrade_scripts-18.0.1.0.0.
|
455
|
-
odoo_addon_openupgrade_scripts-18.0.1.0.0.
|
456
|
+
odoo_addon_openupgrade_scripts-18.0.1.0.0.14.dist-info/METADATA,sha256=zsnCPEQOUWtW242QLFpaYYCLdAZLgnxzlE-a8hJAxHY,3774
|
457
|
+
odoo_addon_openupgrade_scripts-18.0.1.0.0.14.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
458
|
+
odoo_addon_openupgrade_scripts-18.0.1.0.0.14.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
459
|
+
odoo_addon_openupgrade_scripts-18.0.1.0.0.14.dist-info/RECORD,,
|
File without changes
|