TIP: You can type at any time to perform a new search.
Automated Action Rules
base_action_rule · odoo/odoo
- Repository
- odoo/odoo · module folder
- Module version
- 1.0
- Category
- Sales
- Folder size
- 1.21 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-07 04:59:46
- Authors
- Maintainers
- None
- Committers
- Olivier Dony, Raphael Collet, Christophe Simonis, Martin Trigaux, Odoo Translation Bot, Denis Ledoux, Simon Lejeune, Jérome Maes, Julien Legros, Richard Mathot, qdp-odoo, Adrian Torres
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- calendar, crm, hr_contract, mgmtsystem_audit
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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 |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (19)
-
act_followersMany2many → res.partnerstring='Add Followers' args: 'res.partner' -
act_user_idMany2one → res.usersstring='Set Responsible' args: 'res.users' -
activeBooleandefault=Truehelp='When unchecked, the rule is hidden and will not be executed.' -
filter_domainCharhelp='If present, this condition must be satisfied before executing the action rule.'string='Domain' -
filter_idMany2one → ir.filtersdomain="[('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_domainCharhelp='If present, this condition must be satisfied before the update of the record.'string='Before Update Domain' -
filter_pre_idMany2one → ir.filtersdomain="[('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' -
kindSelectionrequired=Truestring='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_runDatetimecopy=Falsereadonly=True -
modelCharreadonly=Truerelated='model_id.model' -
model_idMany2one → ir.modeldomain=[('transient', '=', False)]required=Truestring='Related Document Model' args: 'ir.model' -
nameCharrequired=Truestring='Rule Name' -
on_change_fieldsCharhelp='Comma-separated list of field names that triggers the onchange.'string='On Change Fields Trigger' -
sequenceIntegerhelp='Gives the sequence order when displaying a list of rules.' -
server_action_idsMany2many → ir.actions.serverdomain="[('model_id', '=', model_id)]"help='Examples: email reminders, call object service, etc.'string='Server Actions' args: 'ir.actions.server' -
trg_date_calendar_idMany2one → resource.calendarhelp='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_idMany2one → ir.model.fieldsdomain="[('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_rangeIntegerhelp='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_typeSelectiondefault='day'string='Delay type' args: [('minutes', 'Minutes'), ('hour', 'Hours'), ('day', 'Days'), ('month', 'Months')]
-
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
Loading…
Loading…
Loading…
Loading…