Health
67/100
fair
-
Security22/251 minor finding
-
Activity0/25Last human commit 108 months ago
-
Required by20/254 modules depend on it
-
Maturity25/25In 5 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Required by
4
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
1.21 MB
Module directory on disk
Code analysis
4 migration notes
1 model
3 views
0 HTTP endpoints
Migration considerations
BaseActionRule— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceir_cron_crm_action— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · sourceview_base_action_rule_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_base_action_rule_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- calendar, crm, hr_contract, mgmtsystem_audit
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…