From b020a0276ca907d5a1ecc6b63ffcdf22a7a5705e Mon Sep 17 00:00:00 2001 From: Damien Bouvy Date: Fri, 20 Oct 2023 16:24:14 +0200 Subject: [PATCH] [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) --- addons/base_automation/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/base_automation/__manifest__.py b/addons/base_automation/__manifest__.py index 81926b7c1d3..a14de77fed0 100644 --- a/addons/base_automation/__manifest__.py +++ b/addons/base_automation/__manifest__.py @@ -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',