diff --git a/docsource/modules140-150.rst b/docsource/modules140-150.rst index 1bdad64fa5e6..cb09b0740441 100644 --- a/docsource/modules140-150.rst +++ b/docsource/modules140-150.rst @@ -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 | | +-------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/digest/15.0.1.1/post-migration.py b/openupgrade_scripts/scripts/digest/15.0.1.1/post-migration.py new file mode 100644 index 000000000000..316270bd1eed --- /dev/null +++ b/openupgrade_scripts/scripts/digest/15.0.1.1/post-migration.py @@ -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)