Mail activity plan

mail_activity_plan
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/16.0/mail_activity_plan
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSocial Network
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
view_mail_activity_plan_activity_type_form mail.activity.plan.activity.type form New
view_mail_activity_plan_activity_type_tree mail.activity.plan.activity.type tree New
view_mail_activity_plan_form mail.activity.plan form New
view_mail_activity_plan_search mail.activity.plan search New
view_mail_activity_plan_tree mail.activity.plan tree New
wizard_mail_activity_plan_form wizard.mail.activity.plan form New
Models touched (4)

New fields (9)
  • active Boolean
    default=True
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' index=True store=True string='Company'
  • group_ids Many2many → res.groups
    comodel_name='res.groups' domain=[('share', '=', False)] string='Groups'
  • model Char
    compute='_compute_model' compute_sudo=True store=True string='Model name'
  • model_id Many2one → ir.model
    comodel_name='ir.model' domain=[('transient', '=', False), ('model', 'not like', 'ir.')]
  • name Char
    required=True
  • plan_activity_type_ids Many2many → mail.activity.plan.activity.type
    comodel_name='mail.activity.plan.activity.type' domain="[('model', '=', model)]" string='Activities'
  • sequence Integer
    default=10 required=True
Public methods (1)
  • get_total_plans_from_model(self, model)
    @api.model

New fields (6)
  • activity_type_id Many2one → mail.activity.type
    comodel_name='mail.activity.type' domain="['|', ('res_model', '=', model),('res_model', '=', False)]" ondelete='restrict' string='Activity Type'
  • company_id Many2one → res.company
    comodel_name='res.company' index=True store=True string='Company'
  • model Char
    readonly=True
  • summary Char
    compute='_compute_summary' readonly=False store=True
  • user_expression Char
    string='Assigned to expression'
  • user_id Many2one → res.users
    comodel_name='res.users' string='Assigned to'
Public methods (0)

No public methods.

New fields (4)
  • activity_plan_id Many2one → mail.activity.plan
    comodel_name='mail.activity.plan' domain="[('id', 'in', allowed_activity_plans)]" string='Activity Plan'
  • allowed_activity_plans Many2many → mail.activity.plan
    comodel_name='mail.activity.plan' compute='_compute_allowed_activity_plans'
  • detail_ids One2many → wizard.mail.activity.plan.detail
    comodel_name='wizard.mail.activity.plan.detail' inverse_name='parent_id' string='Details'
  • res_model Char
Public methods (1)
  • action_launch(self)
    Create the activities to the corresponding users. Apply sudo to be able to create activities to other users.

New fields (6)
  • activity_type_id Many2one → mail.activity.type
    comodel_name='mail.activity.type' required=True string='Activity type'
  • date_deadline Date
    required=True string='Due Date'
  • parent_id Many2one → wizard.mail.activity.plan
    comodel_name='wizard.mail.activity.plan' string='Parent'
  • record_ref Reference
    selection=<expr> string='Record'
  • summary Char
  • user_id Many2one → res.users
    comodel_name='res.users' required=True string='Assigned to'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/15.0/mail_activity_plan
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSocial Network
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:40
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
view_mail_activity_plan_activity_type_form mail.activity.plan.activity.type form New
view_mail_activity_plan_activity_type_tree mail.activity.plan.activity.type tree New
view_mail_activity_plan_form mail.activity.plan form New
view_mail_activity_plan_search mail.activity.plan search New
view_mail_activity_plan_tree mail.activity.plan tree New
wizard_mail_activity_plan_form wizard.mail.activity.plan form New
Models touched (4)

New fields (9)
  • active Boolean
    default=True
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' index=True store=True string='Company'
  • group_ids Many2many → res.groups
    comodel_name='res.groups' domain=[('share', '=', False)] string='Groups'
  • model Char
    compute='_compute_model' compute_sudo=True store=True
  • model_id Many2one → ir.model
    comodel_name='ir.model' domain=[('transient', '=', False), ('model', 'not like', 'ir.')]
  • name Char
    required=True
  • plan_activity_type_ids Many2many → mail.activity.plan.activity.type
    comodel_name='mail.activity.plan.activity.type' domain="[('model', '=', model)]" string='Activities'
  • sequence Integer
    default=10 required=True
Public methods (1)
  • get_total_plans_from_model(self, model)
    @api.model

New fields (6)
  • activity_type_id Many2one → mail.activity.type
    comodel_name='mail.activity.type' domain="['|', ('res_model', '=', model),('res_model', '=', False)]" ondelete='restrict' string='Activity Type'
  • company_id Many2one → res.company
    comodel_name='res.company' index=True store=True string='Company'
  • model Char
    readonly=True
  • summary Char
    compute='_compute_summary' readonly=False store=True
  • user_expression Char
    string='Assigned to expression'
  • user_id Many2one → res.users
    comodel_name='res.users' string='Assigned to'
Public methods (0)

No public methods.

New fields (4)
  • activity_plan_id Many2one → mail.activity.plan
    comodel_name='mail.activity.plan' domain="[('id', 'in', allowed_activity_plans)]" string='Activity Plan'
  • allowed_activity_plans Many2many → mail.activity.plan
    comodel_name='mail.activity.plan' compute='_compute_allowed_activity_plans'
  • detail_ids One2many → wizard.mail.activity.plan.detail
    comodel_name='wizard.mail.activity.plan.detail' inverse_name='parent_id' string='Details'
  • res_model Char
Public methods (1)
  • action_launch(self)
    Create the activities to the corresponding users. Apply sudo to be able to create activities to other users.

New fields (6)
  • activity_type_id Many2one → mail.activity.type
    comodel_name='mail.activity.type' required=True string='Activity type'
  • date_deadline Date
    required=True string='Due Date'
  • parent_id Many2one → wizard.mail.activity.plan
    comodel_name='wizard.mail.activity.plan' string='Parent'
  • record_ref Reference
    selection=<expr> string='Record'
  • summary Char
  • user_id Many2one → res.users
    comodel_name='res.users' required=True string='Assigned to'
Public methods (0)

No public methods.