Account Tag Category
account_tag_category · OCA/account-financial-tools
Health
41/100
poor
-
Security25/25No findings
-
Activity6/25Last human commit 30 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 10.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.64 MB
Module directory on disk
Code analysis
4 migration notes
4 models
6 views
0 HTTP endpoints
Migration considerations
AccountAccountTag— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) (2 occurrences in this file) migration-api-multi-one · sourceAccountAccountTagCategory— Migrating to 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · sourceAccountTagCategoryUpdateTags— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceaccount_tag_category_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (2 occurrences in this file) 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
Dependencies
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 |
|---|---|---|---|---|
account_tag_category_form |
account.account.tag.category.form | account.account.tag.category | form | New |
account_tag_category_tree |
account.account.tag.category.tree | account.account.tag.category | tree | New |
account_tag_category_update_tags_form |
account.tag.category.update.tags.form | account.tag.category.update.tags | form | New |
account_tag_tree |
account tags tree | account.account.tag | tree | New |
account_tag_view_form |
account tags inherit | account.account.tag | form | Inherits account.account_tag_view_form |
view_account_form |
account.account.form.inherit | account.account | form | Inherits account.view_account_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
category_colorIntegerrelated='tag_category_id.color' -
tag_category_idMany2one → account.account.tag.categoryondelete='set null'string='Tag category' args: 'account.account.tag.category'
-
read(self, fields=None, load='_classic_read')@api.multi
New fields (6)
-
applicabilitySelectiondefault='accounts'required=True args: [('accounts', 'Accounts')] -
colorIntegercompute='_compute_color_index'store=True args: 'Color Index' -
color_pickerSelectiondefault='0'required=Truestring='Tags Color' args: [('0', 'Grey'), ('1', 'Green'), ('2', 'Yellow'), ('3', 'Orange'), ('4', 'Red'), ('5', 'Purple'), ('6', 'Blue'), ('7', 'Cyan'), ('8', 'Aquamarine'), ('9', 'Pink')] -
enforce_policySelectiondefault='optional'help='If required, this option enforces the use of a tag from this category. If optional, the user is not required to use a tag from this category.'required=True args: [('required', 'Required'), ('optional', 'Optional')] -
nameCharrequired=True -
tag_idsOne2many → account.account.tagstring='Tags' args: 'account.account.tag', 'tag_category_id'
-
name_get(self)@api.multi
New fields (2)
-
tag_category_idMany2one → account.account.tag.categorystring='Tag category' args: 'account.account.tag.category' -
tag_idsMany2many → account.account.tagdomain=[('applicability', '=', 'accounts')]string='Tags' args: 'account.account.tag'
-
default_get(self, fields)@api.model -
save_tags_to_category(self)@api.multi