Skip to content

Commit

Permalink
Merge PR #4622 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by hbrunn
  • Loading branch information
OCA-git-bot committed Dec 9, 2024
2 parents a325c03 + b09ca51 commit 2822d05
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docsource/modules160-170.rst
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ Module coverage 16.0 -> 17.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| sales_team | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| sms | | |
| sms | Nothing to do | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| snailmail | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
38 changes: 38 additions & 0 deletions openupgrade_scripts/scripts/sms/17.0.3.0/upgrade_analysis_work.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---Models in module 'sms'---
obsolete model sms.api [abstract]
# NOTHING TO DO

new model sms.tracker
---Fields in module 'sms'---
sms / hr.contract / message_has_sms_error (boolean): module is now 'hr_contract' ('sms')
sms / hr.leave / message_has_sms_error (boolean): module is now 'hr_holidays' ('sms')
sms / hr.leave.allocation / message_has_sms_error (boolean): module is now 'hr_holidays' ('sms')
# NOTHING TO DO

sms / ir.actions.server / state (False) : selection_keys is now '['code', 'followers', 'mail_post', 'multi', 'next_activity', 'object_create', 'object_write', 'remove_followers', 'sms', 'webhook']' ('['code', 'followers', 'mail_post', 'multi', 'next_activity', 'object_create', 'object_write', 'sms']')
# NOTHING TO DO: new features

sms / mail.message / message_type (False) : selection_keys is now '['auto_comment', 'comment', 'email', 'email_outgoing', 'notification', 'sms', 'user_notification']' ('['auto_comment', 'comment', 'email', 'notification', 'sms', 'user_notification']')
# NOTHING TO DO: new features

sms / mail.notification / failure_type (False) : selection_keys is now '['mail_bounce', 'mail_email_invalid', 'mail_email_missing', 'mail_from_invalid', 'mail_from_missing', 'mail_smtp', 'sms_acc', 'sms_country_not_supported', 'sms_credit', 'sms_expired', 'sms_invalid_destination', 'sms_not_allowed', 'sms_not_delivered', 'sms_number_format', 'sms_number_missing', 'sms_registration_needed', 'sms_rejected', 'sms_server', 'unknown']' ('['mail_email_invalid', 'mail_email_missing', 'mail_smtp', 'sms_acc', 'sms_credit', 'sms_number_format', 'sms_number_missing', 'sms_server', 'unknown']')
sms / mail.notification / sms_id (many2one) : not stored anymore
sms / mail.notification / sms_id (many2one) : now a function
sms / mail.notification / sms_id_int (integer) : NEW
sms / mail.notification / sms_tracker_ids (one2many) : NEW relation: sms.tracker
# NOTHING TO DO: new features

sms / sms.sms / failure_type (selection) : selection_keys is now '['sms_acc', 'sms_blacklist', 'sms_country_not_supported', 'sms_credit', 'sms_duplicate', 'sms_number_format', 'sms_number_missing', 'sms_optout', 'sms_registration_needed', 'sms_server', 'unknown']' ('['sms_acc', 'sms_blacklist', 'sms_credit', 'sms_duplicate', 'sms_number_format', 'sms_number_missing', 'sms_optout', 'sms_server']')
sms / sms.sms / state (selection) : selection_keys is now '['canceled', 'error', 'outgoing', 'pending', 'process', 'sent']' ('['canceled', 'error', 'outgoing', 'sent']')
sms / sms.sms / to_delete (boolean) : NEW hasdefault: default
sms / sms.sms / uuid (char) : NEW
sms / sms.tracker / mail_notification_id (many2one): NEW relation: mail.notification
sms / sms.tracker / sms_uuid (char) : NEW required
# NOTHING TO DO: new features

---XML records in module 'sms'---
NEW ir.model.access: sms.access_sms_tracker_all
NEW ir.model.access: sms.access_sms_tracker_system
NEW ir.model.constraint: sms.constraint_sms_sms_uuid_unique
NEW ir.model.constraint: sms.constraint_sms_tracker_sms_uuid_unique
# NOTHING TO DO: new features

0 comments on commit 2822d05

Please sign in to comment.