From 4b283a69cc0e7df7b48a7bb37a9716dfcce85bd0 Mon Sep 17 00:00:00 2001 From: Ivan Rasputin Date: Tue, 4 Jul 2023 09:42:06 +0000 Subject: [PATCH] [FIX] mass_mailing_event_sms: add missing dependency The module `mass_mailing_event_sms` extends couple methods [1] that are defined in module `mass_mailing_event` [2]. However, because of the missing dependency in manifest, user can uninstall `mass_mailing_event`, while keep `mass_mailing_event_sms` installed. This leads to error `'super' object has no attribute 'action_invite_contacts'` [3]. Fix it by adding the missing dependency explicitly. [1]: https://github.com/odoo/odoo/blob/fd508fe436c64780a8454ddeb6b7ec8f1f80d7c5/addons/mass_mailing_event_sms/models/event.py [2]: https://github.com/odoo/odoo/blob/fd508fe436c64780a8454ddeb6b7ec8f1f80d7c5/addons/mass_mailing_event/models/event.py#L23 [3]: https://online.sentry.io/issues/4280254156/ closes odoo/odoo#128024 X-original-commit: add78c904779615796b5318cc11727700f3564bb Signed-off-by: Ivan Elizaryev (iel) --- addons/mass_mailing_event_sms/__manifest__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/mass_mailing_event_sms/__manifest__.py b/addons/mass_mailing_event_sms/__manifest__.py index d9a887e0076..18bbb660c69 100644 --- a/addons/mass_mailing_event_sms/__manifest__.py +++ b/addons/mass_mailing_event_sms/__manifest__.py @@ -15,6 +15,7 @@ Bridge module adding UX requirements to ease SMS marketing o, event attendees. 'depends': [ 'event', 'mass_mailing', + 'mass_mailing_event', 'mass_mailing_sms', 'sms', ],