Partner Tag Actions
partner_tag_actions · OCA/partner-contact
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
10 migration notes
3 models
6 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
Partner— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourcePartnerAction— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (5 methods) migration-api-multi-one · sourceir_cron_mail_scheduler_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_action_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_action_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceview_action_type_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · 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
Dependencies
- Odoo dependencies
- None
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_action_form |
partner.action.form | partner.action | form | New |
view_action_tree |
partner.action.tree | partner.action | tree | New |
view_action_type_tree |
partner.action.type.tree | partner.action.type | tree | New |
view_partner_action_filter |
Partner Actions | partner.action | search | New |
view_partner_action_type_filter |
Partner - Actions | partner.action.type | search | New |
view_partner_form |
Partner Form +Actions | res.partner | form | Inherits base.view_partner_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (11)
-
action_typeMany2one → partner.action.typedefault=<expr>required=Truestring='Type' args: 'partner.action.type' -
dateDatedefault=fields.Date.context_todayrequired=True args: 'Date' -
date_endDateargs: 'End Date' -
date_startDatedefault=fields.Date.context_today args: 'Start Date' -
detailsTextargs: 'Details' -
is_activeBooleanhelp='Currently active' -
nameCharcompute=_get_name -
partner_idMany2one → res.partnerondelete='cascade'required=Truestring='Partner' args: 'res.partner' -
priorityIntegerrelated='action_type.priority'store=True -
stateSelectiondefault='draft'required=Truestring='Status' args: [('draft', 'Draft'), ('done', 'Done')] -
user_idMany2one → res.usersdefault=<expr>readonly=Truerequired=Truestring='User' args: 'res.users'
-
action_outdated(self, single=False)Tag action is outdated, revert its changes if `single` is True, re-apply partner actions -
apply_active_actions(self)@api.model -
apply_all(self)@api.multiApply all actions in the order they are passed -
apply_partner(self)@api.multi -
button_confirm(self)@api.multi -
button_draft(self)@api.multi -
check_date_active(self) -
check_dates(self)@api.constrains('date_start', 'date_end') -
check_is_active(self, single=False)@api.depends('date_start', 'date_end', 'state')Make sure an action is in/active according to its state and dates, correcting its status as required. If `single` is True, re-apply partner rules when necessary -
create(self, vals)@api.model@api.returns('self', <expr>) -
write(self, vals)@api.multi
New fields (5)
-
add_tagMany2one → res.partner.categoryrequired=Falsestring='Add Tag' args: 'res.partner.category' -
is_activeBooleandefault=True args: 'Active' -
nameCharrequired=Truetranslate=True args: 'Name' -
priorityIntegerdefault=0required=True args: 'Priority' -
remove_tagMany2one → res.partner.categoryrequired=Falsestring='Remove Tag' args: 'res.partner.category'
-
get_default(self)@api.model
New fields (2)
-
action_countIntegercompute=count_actions -
action_idsOne2many → partner.actionstring='Actions' args: 'partner.action', 'partner_id'
-
apply_actions(self) -
button_actions(self)@api.multi -
count_actions(self)@api.multi -
write(self, vals)@api.multi