Skip to content

Commit

Permalink
Merge pull request #4167 from cuongnmtm/15.0-digest-mig
Browse files Browse the repository at this point in the history
[15.0] [OU-ADD] digest
  • Loading branch information
pedrobaeza authored Dec 31, 2023
2 parents d58dcf5 + f3e3e81 commit fdde72c
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 fdde72c

Please sign in to comment.