[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:
Damien Bouvy
2023-10-26 13:41:07 +00:00
parent b4c63eb0ab
commit b020a0276c
+1 -1
View File
@@ -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',