Skip to content

Commit

Permalink
Merge PR #3783 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by MiquelRForgeFlow
  • Loading branch information
OCA-git-bot committed Jul 6, 2023
2 parents 84fa166 + d840fa3 commit ce32134
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docsource/modules150-160.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Module coverage 15.0 -> 16.0
+-------------------------------------------------+----------------------+-------------------------------------------------+
| |new| delivery_stock_picking_batch | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| digest | |No DB layout changes. |
| digest | Done |No DB layout changes. |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| event | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
20 changes: 20 additions & 0 deletions openupgrade_scripts/scripts/digest/16.0.1.1/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2023 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from openupgradelib import openupgrade

_translations_to_delete = [
"digest_mail_layout",
"digest_section_mobile",
"digest_tip_digest_0",
"digest_tip_digest_1",
"digest_tip_digest_2",
"digest_tip_digest_3",
"digest_tip_digest_4",
]


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(env.cr, "digest", "16.0.1.1/noupdate_changes.xml")
openupgrade.delete_record_translations(env.cr, "digest", _translations_to_delete)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---Models in module 'digest'---
---Fields in module 'digest'---
---XML records in module 'digest'---
---nothing has changed in this module--
# Done (post-migration): load noupdate_changes.xml

0 comments on commit ce32134

Please sign in to comment.