[IMP] base_automation: add dependency on sms
Since server actions names are computed automatically when (and only when) they are linked to an automation, not having a dependency at all between `sms` and `base_automation` meant that we would have either needed a link module or an ugly `_fields` introspection to correctly name server actions that send SMSes created through automation rules. Since `sms` is a rather basic module which has very little impact on the UI and no impact on pricing, it makes sense to add it to the list of dependencies of base_automation instead, similarly to `mail`. Task-3450200 closes odoo/odoo#138804 Related: odoo/enterprise#48987 Signed-off-by: Bouvy Damien (dbo) <dbo@odoo.com>
This commit is contained in:
@@ -15,7 +15,7 @@ Use automation rules to automatically trigger actions for various screens.
|
||||
Sales Team, or an opportunity which still has status pending after 14 days might
|
||||
trigger an automatic reminder email.
|
||||
""",
|
||||
'depends': ['base', 'resource', 'mail'],
|
||||
'depends': ['base', 'resource', 'mail', 'sms'],
|
||||
'data': [
|
||||
'security/ir.model.access.csv',
|
||||
'data/base_automation_data.xml',
|
||||
|
||||
Reference in New Issue
Block a user