TIP: You can type at any time to perform a new search.
Custom notification settings for followers
mail_follower_custom_notification · OCA/social
Security findings
Migration considerations
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
view_mail_message_subtype_form— For a target of Odoo 17.0+: view 'view_mail_message_subtype_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/social · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Social Network
- Folder size
- 0.64 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/social
- Last tracking update
- 2026-08-07 07:17:49
- Authors
- Odoo Community Association (OCA), Therp BV
- Maintainers
- Odoo Community Association (OCA), Therp BV
- Committers
- Holger Brunn, Thierry Ducrest, Weblate, OCA Transbot, OCA-git-bot, oca-travis
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_backend |
mail_follower_custom_notification assets | ir.ui.view | qweb | Inherits web.assets_backend |
view_mail_message_subtype_form |
mail.message.subtype | form | Inherits mail.view_mail_message_subtype_form | |
view_mail_subtype_assign_custom_notifications |
mail.subtype.assign.custom.notifications | form | New |
HTTP endpoints (1)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | MailController.read_subscription_data |
inherited | http | ALL |
Models touched (6)
New fields (3)
-
force_mail_subtype_idsMany2many → mail.message.subtypestring='Force mails from subtype' args: 'mail.message.subtype', 'mail_followers_force_mail_rel', 'mail_followers_id', 'mail_message_subtype_id' -
force_nomail_subtype_idsMany2many → mail.message.subtypestring='Force no mails from subtype' args: 'mail.message.subtype', 'mail_followers_force_nomail_rel', 'mail_followers_id', 'mail_message_subtype_id' -
force_own_subtype_idsMany2many → mail.message.subtypestring='Force own mails from subtype' args: 'mail.message.subtype', 'mail_followers_force_own_rel', 'mail_followers_id', 'mail_message_subtype_id'
-
create(self, values)@api.model
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (3)
-
custom_notification_mailSelectionhelp='Leave empty to use the setting on the partner\'s form, set to "Force yes" to always send messages of this type via email, and "Force no" to never send messages of type via email'string='Send mail notification' args: [('force_yes', 'Force yes'), ('force_no', 'Force no')] -
custom_notification_model_idsMany2many → ir.modeldomain=[('transient', '=', False)]help="Choose for which models the custom configuration applies. This is only necessary if your subtype doesn't set a model itself"string='Models' args: 'ir.model' -
custom_notification_ownBooleanhelp='Check this to have notifications generated and sent via email about own messages' args: 'Notify about own messages'
No public methods.
New fields (1)
-
subtype_idsMany2many → mail.message.subtypedefault=<expr>required=Truestring='Subtypes' args: 'mail.message.subtype', 'mail_subtype_assign_custom_notifications_rel'
-
button_apply(self)@api.multi
New fields (0)
No new fields.
Public methods (2)-
message_custom_notification_update(self, custom_notifications)@api.multicustom_notifications is a dictionary with partner ids as keys and dictionaries mapping message subtype ids to custom notification values -
message_custom_notification_update_user(self, custom_notifications)@api.multichange custom_notifications from user ids to partner ids
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…