Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---Models in module 'base_setup'---
---Fields in module 'base_setup'---
---XML records in module 'base_setup'---
DEL ir.actions.client: web_settings_dashboard.web_settings_dashboard_action
# NOTHING TO DO
DEL ir.ui.menu: web_settings_dashboard.web_dashboard_menu
# DONE: Post-migration
NEW ir.ui.view: base_setup.assets_backend
DEL ir.ui.view: web_settings_dashboard.assets_backend
# NOTHING TO DO
DEL ir.ui.view: web_settings_dashboard.dashboard_qunit_suite
# DONE: Post-migration
13 changes: 13 additions & 0 deletions addons/base_setup/migrations/13.0.1.0/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openupgradelib import openupgrade

unlink_by_xmlid = [
'base_setup.web_dashboard_menu',
'base_setup.dashboard_qunit_suite',
]


@openupgrade.migrate(use_env=True)
def migrate(env, version):
openupgrade.delete_records_safely_by_xml_id(env, unlink_by_xmlid)
36 changes: 36 additions & 0 deletions addons/web/migrations/13.0.1.0/openupgrade_analysis_work.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---Models in module 'web'---
model report.layout (moved to base)
# NOTHING TO DO

---Fields in module 'web'---
web / ir.actions.act_window.view / view_mode (False) : NEW selection_keys: ['calendar', 'form', 'gantt', 'graph', 'kanban', 'pivot', 'qweb', 'tree'], mode: modify
web / report.layout / __last_update (datetime) : module is now 'base' ('web')
web / report.layout / display_name (char) : module is now 'base' ('web')
web / report.layout / image (char) : module is now 'base' ('web')
web / report.layout / pdf (char) : module is now 'base' ('web')
web / report.layout / view_id (many2one) : module is now 'base' ('web')
# NOTHING TO DO

---XML records in module 'web'---
DEL ir.model.access: web.access_report_layout [renamed to base module]
# DONE: in base module

NEW ir.ui.view: web._assets_common_minimal_js
NEW ir.ui.view: web._assets_frontend_minimal_js
NEW ir.ui.view: web.assets_common_lazy
NEW ir.ui.view: web.assets_common_minimal_js
NEW ir.ui.view: web.assets_frontend_lazy
NEW ir.ui.view: web.assets_frontend_minimal_js
NEW ir.ui.view: web.assets_tests
NEW ir.ui.view: web.brand_promotion
NEW ir.ui.view: web.brand_promotion_message
NEW ir.ui.view: web.conditional_assets_tests
NEW ir.ui.view: web.debug_icon
NEW ir.ui.view: web.frontend_layout
# NOTHING TO DO

DEL ir.ui.view: web.report_assets_editor
# DONE: Post-migration

DEL res.company: base.main_company (noupdate)
# NOTHING TO DO
12 changes: 12 additions & 0 deletions addons/web/migrations/13.0.1.0/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openupgradelib import openupgrade

unlink_by_xmlid = [
'web.report_assets_editor',
]


@openupgrade.migrate(use_env=True)
def migrate(env, version):
openupgrade.delete_records_safely_by_xml_id(env, unlink_by_xmlid)
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---Models in module 'web_editor'---
new model web_editor.assets [abstract]
# NOTHING TO DO

---Fields in module 'web_editor'---
web_editor / web_editor.converter.test / selection (selection) : DEL selection_keys: [1, 2, 3, 4]
# NOTHING TO DO

---XML records in module 'web_editor'---
NEW ir.ui.view: web_editor._assets_frontend_minimal_js
NEW ir.ui.view: web_editor._assets_secondary_variables
NEW ir.ui.view: web_editor.assets_wysiwyg
NEW ir.ui.view: web_editor.compiled_assets_wysiwyg
NEW ir.ui.view: web_editor.s_hr
NEW ir.ui.view: web_editor.wysiwyg_iframe_editor_assets
# NOTHING TO DO

DEL ir.ui.view: web_editor.FieldTextHtml
DEL ir.ui.view: web_editor.assets_editor
DEL ir.ui.view: web_editor.js_tests_assets
DEL ir.ui.view: web_editor.layout
DEL ir.ui.view: web_editor.webclient_bootstrap
# DONE: Post-migration
16 changes: 16 additions & 0 deletions addons/web_editor/migrations/13.0.1.0/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openupgradelib import openupgrade

unlink_by_xmlid = [
'web_editor.FieldTextHtml',
'web_editor.assets_editor',
'web_editor.js_tests_assets',
'web_editor.layout',
'web_editor.webclient_bootstrap',
]


@openupgrade.migrate(use_env=True)
def migrate(env, version):
openupgrade.delete_records_safely_by_xml_id(env, unlink_by_xmlid)
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---Models in module 'web_unsplash'---
---Fields in module 'web_unsplash'---
---XML records in module 'web_unsplash'---
NEW ir.ui.view: web_unsplash.assets_frontend
# NOTHING TO DO
DEL ir.ui.view: web_unsplash.assets_common
# DONE: Pre-migration
12 changes: 12 additions & 0 deletions addons/web_unsplash/migrations/13.0.1.1/pre-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openupgradelib import openupgrade

xmlid_renames = [
('web_unsplash.assets_common', 'web_unsplash.assets_frontend'),
]


@openupgrade.migrate(use_env=True)
def migrate(env, version):
openupgrade.rename_xmlids(env.cr, xmlid_renames)
8 changes: 0 additions & 8 deletions odoo/addons/base/migrations/13.0.1.3/noupdate_changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,12 @@
<field name="favicon" model="res.company" eval="obj()._get_default_favicon(original=True)"/>
</record>
<record id="main_partner" model="res.partner">
<field name="customer"/>
<field name="image" type="base64" file="base/static/img/res_company_logo.png"/>
<field name="image_1920" type="base64" file="base/static/img/res_company_logo.png"/>
</record>
<record id="partner_admin" model="res.partner">
<field name="customer"/>
<field name="image" type="base64" file="base/static/img/avatar.png"/>
<field name="image_1920" type="base64" file="base/static/img/avatar_grey.png"/>
</record>
<record id="partner_root" model="res.partner">
<field name="customer"/>
</record>
<record id="public_user" model="res.users">
<field name="image" type="base64" file="base/static/img/public_user-image.png"/>
<field name="image_1920" type="base64" file="base/static/img/public_user-image.png"/>
</record>
<record id="res_company_rule_employee" model="ir.rule">
Expand Down
Loading