Smart Tagger
partner_tag_smart_assignation · OCA/partner-contact
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 62 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 11.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.04 MB
Module directory on disk
Code analysis
3 migration notes
1 model
2 views
0 HTTP endpoints
Migration considerations
ResPartnerCategory— 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 · sourcesmart_tags_updater— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · sourceview_smart_tagger_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 · 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
-
odoo/odoo:- base
- 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 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_smart_tagger_form |
Smart Tags | res.partner.category | form | Inherits base.view_partner_category_form |
view_smart_tagger_tree |
Smart Tags | res.partner.category | tree | Inherits base.view_partner_category_list |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (7)
-
partner_idsMany2many → res.partnerargs: 'res.partner', 'res_partner_res_partner_category_rel', 'category_id', 'partner_id' -
smartBooleanhelp='Enable this to automatically assign the category on partners matching a given filter domain or SQL query.' -
tag_filter_condition_idMany2one → ir.filtersoldname='condition_id' args: 'ir.filters', 'Domain filter' -
tag_filter_join_operatorSelectiondefault='or'required=True args: [('and', 'AND (must satisfy both SQL and domain filter)'), ('or', 'OR (can satisfy either SQL or domain filter)')], 'JOIN operator' -
tag_filter_partner_fieldChardefault='partner_id'help='Relational field used on the filter object to find the partners.'oldname='partner_field' -
tag_filter_sql_queryTexthelp='Can be used instead of the filter for finding the relevant partners. The given SQL query should only return partner ids rows.' args: 'SQL query' -
tagged_partner_countIntegercompute='_compute_number_tags'oldname='number_tags'stored=True
-
check_condition(self)@api.constrains('tag_filter_condition_id', 'tag_filter_partner_field') -
check_sql_query(self)@api.constrains('tag_filter_sql_query') -
create(self, vals)@api.model -
get_partners_from_ir_filter(self) -
get_partners_from_sql(self) -
open_tags(self)@api.multi -
update_all_smart_tags(self)@api.model -
update_partner_tags(self)@api.multi -
write(self, vals)@api.multi