Skip to content

Commit

Permalink
Merge pull request #3338 from sang250399/v15_mig_website_slides_survey
Browse files Browse the repository at this point in the history
[MIG][15.0] website_slides_survey: migration script
  • Loading branch information
pedrobaeza authored Mar 4, 2023
2 parents 99d2c72 + e91a618 commit 8881e5f
Show file tree
Hide file tree
Showing 3 changed files with 23 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 @@ -852,7 +852,7 @@ Module coverage 14.0 -> 15.0
+-------------------------------------------------+----------------------+-------------------------------------------------+
| website_slides_forum | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| website_slides_survey | | |
| website_slides_survey |Done | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| website_sms | Nothing to do | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(
env.cr, "website_slides_survey", "15.0.1.0/noupdate_changes.xml"
)
openupgrade.delete_record_translations(
env.cr,
"website_slides_survey",
[
"mail_template_user_input_certification_failed",
],
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---Models in module 'website_slides_survey'---
---Fields in module 'website_slides_survey'---
---XML records in module 'website_slides_survey'---
DEL ir.model.constraint: website_slides_survey.constraint_slide_slide_check_certification_preview
DEL ir.model.constraint: website_slides_survey.constraint_slide_slide_check_survey_id
DEL ir.ui.view: website_slides_survey.assets_frontend
# NOTHING TO DO

0 comments on commit 8881e5f

Please sign in to comment.