Automated Action Rules

base_action_rule
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/10.0/base_action_rule
VERSION
VERSION 1.0
CATEGORY
CATEGORYSales
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Olivier Dony, Denis Ledoux, Christophe Simonis, Simon Lejeune, Jérome Maes, Julien Legros, Richard Mathot, qdp-odoo, Adrian Torres
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:50:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - resource
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to implement action rules for any object.
============================================================

Use automated actions to automatically trigger actions for various screens.

**Example:** A lead created by a specific user may be automatically set to a specific
sales team, or an opportunity which still has status pending after 14 days might
trigger an automatic reminder email.
    

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_base_action_rule_form base.action.rule.form base.action.rule form New
view_base_action_rule_search base.action.rule.search base.action.rule search New
view_base_action_rule_tree base.action.rule.tree base.action.rule tree New
Models touched (1)

New fields (19)
  • act_followers Many2many → res.partner
    string='Add Followers' args: 'res.partner'
  • act_user_id Many2one → res.users
    string='Set Responsible' args: 'res.users'
  • active Boolean
    default=True help='When unchecked, the rule is hidden and will not be executed.'
  • filter_domain Char
    help='If present, this condition must be satisfied before executing the action rule.' string='Domain'
  • filter_id Many2one → ir.filters
    domain="[('model_id', '=', model_id.model)]" help='If present, this condition must be satisfied before executing the action rule.' ondelete='restrict' string='Filter' args: 'ir.filters'
  • filter_pre_domain Char
    help='If present, this condition must be satisfied before the update of the record.' string='Before Update Domain'
  • filter_pre_id Many2one → ir.filters
    domain="[('model_id', '=', model_id.model)]" help='If present, this condition must be satisfied before the update of the record.' ondelete='restrict' string='Before Update Filter' args: 'ir.filters'
  • kind Selection
    required=True string='When to Run' args: [('on_create', 'On Creation'), ('on_write', 'On Update'), ('on_create_or_write', 'On Creation & Update'), ('on_unlink', 'On Deletion'), ('on_change', 'Based on Form Modification'), ('on_time', 'Based on Timed Condition')]
  • last_run Datetime
    copy=False readonly=True
  • model Char
    readonly=True related='model_id.model'
  • model_id Many2one → ir.model
    domain=[('transient', '=', False)] required=True string='Related Document Model' args: 'ir.model'
  • name Char
    required=True string='Rule Name'
  • on_change_fields Char
    help='Comma-separated list of field names that triggers the onchange.' string='On Change Fields Trigger'
  • sequence Integer
    help='Gives the sequence order when displaying a list of rules.'
  • server_action_ids Many2many → ir.actions.server
    domain="[('model_id', '=', model_id)]" help='Examples: email reminders, call object service, etc.' string='Server Actions' args: 'ir.actions.server'
  • trg_date_calendar_id Many2one → resource.calendar
    help='When calculating a day-based timed condition, it is possible to use a calendar to compute the date based on working days.' string='Use Calendar' args: 'resource.calendar'
  • trg_date_id Many2one → ir.model.fields
    domain="[('model_id', '=', model_id), ('ttype', 'in', ('date', 'datetime'))]" help='When should the condition be triggered.\n If present, will be checked by the scheduler. If empty, will be checked at creation and update.' string='Trigger Date' args: 'ir.model.fields'
  • trg_date_range Integer
    help='Delay after the trigger date.\n You can put a negative number if you need a delay before the\n trigger date, like sending a reminder 15 minutes before a meeting.' string='Delay after trigger date'
  • trg_date_range_type Selection
    default='day' string='Delay type' args: [('minutes', 'Minutes'), ('hour', 'Hours'), ('day', 'Days'), ('month', 'Months')]
Public methods (7)
  • create(self, vals)
    @api.model
  • onchange_filter_id(self)
    @api.onchange('filter_id')
  • onchange_filter_pre_id(self)
    @api.onchange('filter_pre_id')
  • onchange_kind(self)
    @api.onchange('kind')
  • onchange_model_id(self)
    @api.onchange('model_id')
  • unlink(self)
    @api.multi
  • write(self, vals)
    @api.multi
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/9.0/base_action_rule
VERSION
VERSION 1.0
CATEGORY
CATEGORYSales
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Antony Lesuisse, Olivier Dony, Thibault Delavallée, Christophe Simonis, Goffin Simon, Nicolas Martinelli, Richard Mathot, GitHub, Yannick Tivisse
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:48:30
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - resource
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to implement action rules for any object.
============================================================

Use automated actions to automatically trigger actions for various screens.

**Example:** A lead created by a specific user may be automatically set to a specific
sales team, or an opportunity which still has status pending after 14 days might
trigger an automatic reminder email.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_base_action_rule_form base.action.rule.form base.action.rule form New
view_base_action_rule_tree base.action.rule.tree base.action.rule tree New
Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • message_post(self, cr, uid, thread_id, body='', subject=None, message_type='notification', subtype=None, parent_id=False, attachments=None, context=None, **kwargs)
    @api.cr_uid_ids_context
  • message_subscribe(self, cr, uid, ids, partner_ids=None, channel_ids=None, subtype_ids=None, force=True, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/8.0/base_action_rule
VERSION
VERSION 1.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOpenERP SA
MAINTAINERS
MAINTAINERSOpenERP SA
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Fabien Pinckaers, Antony Lesuisse, Olivier Dony, Thibault Delavallée, Vo Minh Thu, Launchpad Translations on behalf of openerp, Quentin (OpenERP), Denis Ledoux, Fabien Meghazi, Christophe Simonis, Xavier Morel, Goffin Simon, Julien Legros, Richard Mathot, Aaron Bohy, sve-odoo
WEBSITE
WEBSITEhttps://www.odoo.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:45:39
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - resource
    - mail
    - base_setup
    - web_kanban
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to implement action rules for any object.
============================================================

Use automated actions to automatically trigger actions for various screens.

**Example:** A lead created by a specific user may be automatically set to a specific
sales team, or an opportunity which still has status pending after 14 days might
trigger an automatic reminder email.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_base_action_rule_form base.action.rule.form base.action.rule form New
view_base_action_rule_tree base.action.rule.tree base.action.rule tree New
Models touched (1)

New fields (0)

No new fields.

Public methods (2)
  • message_post(self, cr, uid, thread_id, body='', subject=None, type='notification', subtype=None, parent_id=False, attachments=None, context=None, **kwargs)
    @api.cr_uid_ids_context
  • message_subscribe(self, cr, uid, ids, partner_ids, subtype_ids=None, context=None)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/7.0/base_action_rule
VERSION
VERSION 1.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOpenERP SA
MAINTAINERS
MAINTAINERSOpenERP SA
COMMITTERS
COMMITTERSRaphael Collet, Twinkle Christian (OpenERP), Cecile Tonglet, Odoo Translation Bot, Pinakin Nayi (OpenERP), Harry (OpenERP), Antonin Bourguignon, Martin Trigaux, Purnendu Singh (OpenERP), Saurang Suthar (OpenERP), Fabien Pinckaers, Bharat Devnani (OpenERP), Meera Trambadia (OpenERP), Olivier Dony, Rajesh Prajapati (OpenERP), Thibault Delavallée, Vo Minh Thu, Hardik, Josse Colpaert, Arnaud Pineux, pso (OpenERP), Launchpad Translations on behalf of openerp, Quentin (OpenERP), Denis Ledoux, Mayur Maheshwari (OpenERP), Jigar Amin - OpenERP, help, Christophe Simonis, Vijaykumar Baladaniya, Jigar Amin, Yannick Vaucher, RGA(OpenERP)
WEBSITE
WEBSITEhttp://www.openerp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:43:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - mail
    - base_setup
    - web_kanban
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to implement action rules for any object.
============================================================

Use automated actions to automatically trigger actions for various screens.

**Example:** A lead created by a specific user may be automatically set to a specific
sales team, or an opportunity which still has status pending after 14 days might
trigger an automatic reminder email.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_base_action_rule_form base.action.rule.form base.action.rule form New
view_base_action_rule_tree base.action.rule.tree base.action.rule tree New
Models touched (1)

New fields (0)

No new fields.

Public methods (2)
  • message_post(self, cr, uid, thread_id, body='', subject=None, type='notification', subtype=None, parent_id=False, attachments=None, context=None, **kwargs)
  • message_subscribe(self, cr, uid, ids, partner_ids, subtype_ids=None, context=None)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/6.1/base_action_rule
VERSION
VERSION 1.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOpenERP SA
MAINTAINERS
MAINTAINERSOpenERP SA
COMMITTERS
COMMITTERSRaphael Collet, Rucha (Open ERP), Stephane Wirtel, DBR (OpenERP), Harry (OpenERP), Fabien Pinckaers, Antony Lesuisse, Olivier Dony, Vo Minh Thu, Launchpad Translations on behalf of openerp, Kuldeep Joshi (OpenERP), Nimesh (Open ERP), vro, niv-openerp, Xavier ALT, Amit Bhavsar (Open ERP), Thibault Francois, Carlos Vásquez, Els Van Vossel, Israel Fermin Montilla, Rifakat Haradwala (Open ERP), Hardik Ansodariy (OpenERP), Yogesh (OpenERP), RavishchanraMurari (Open ERP), YSA (Openerp), Antoine Huvelle
WEBSITE
WEBSITEhttp://www.openerp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:41:35
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - mail
    - base_tools
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to implement action rules for any object.
============================================================

Use automated actions to automatically trigger actions for various screens.

Example: a lead created by a specific user may be automatically set to a specific
sales team, or an opportunity which still has status pending after 14 days might
trigger an automatic reminder email.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_base_action_rule_form base.action.rule.form base.action.rule form New
view_base_action_rule_tree base.action.rule.tree base.action.rule tree New
Models touched (0)

No models found for this module.