Skip to content

Commit

Permalink
[MIG] digest: load noupdate_changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cuongnmtm committed Dec 22, 2023
1 parent ece8807 commit f3e3e81
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docsource/modules140-150.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Module coverage 14.0 -> 15.0
+-------------------------------------------------+----------------------+-------------------------------------------------+
| |new| delivery_mondialrelay | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| digest | Nothing to do |No DB layout changes. |
| digest | Done |No DB layout changes. |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| event | Done | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
16 changes: 16 additions & 0 deletions openupgrade_scripts/scripts/digest/15.0.1.1/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright Odoo Community Association (OCA)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from openupgradelib import openupgrade

_translations_to_delete = [
"digest_mail_layout",
"digest_mail_main",
"digest_tool_kpi",
]


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(env.cr, "digest", "15.0.1.1/noupdate_changes.xml")
openupgrade.delete_record_translations(env.cr, "digest", _translations_to_delete)

0 comments on commit f3e3e81

Please sign in to comment.