Skip to content

Commit

Permalink
[OU-ADD] calendar_sms module.
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Dec 19, 2023
1 parent 73c8df2 commit 1f0dd1d
Show file tree
Hide file tree
Showing 3 changed files with 14 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 @@ -96,7 +96,7 @@ Module coverage 15.0 -> 16.0
+-------------------------------------------------+----------------------+-------------------------------------------------+
| calendar | Done | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| calendar_sms | | |
| calendar_sms | Done | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| contacts | Nothing to do |No DB layout changes. |
+-------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from openupgradelib import openupgrade

_xmlids_delete = ["calendar_sms.ir_rule_sms_template_system"]


@openupgrade.migrate()
def migrate(env, version):
openupgrade.delete_records_safely_by_xml_id(env, _xmlids_delete)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---Models in module 'calendar_sms'---
---Fields in module 'calendar_sms'---
---XML records in module 'calendar_sms'---
DEL ir.rule: calendar_sms.ir_rule_sms_template_system
Done: Delete safely in pre-migration script.

0 comments on commit 1f0dd1d

Please sign in to comment.