Account Tag Category

account_tag_category
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/10.0/account_tag_category
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSAkim Juillerat, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Vincent Van Rossem
WEBSITE
WEBSITEhttps://www.camptocamp.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/web:
    - web_m2x_options
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
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 field Inherits account.account_tag_view_form
view_account_form account.account.form.inherit account.account field Inherits account.view_account_form
Models touched (4)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • category_color Integer
    related='tag_category_id.color'
  • tag_category_id Many2one → account.account.tag.category
    ondelete='set null' string='Tag category' args: 'account.account.tag.category'
Public methods (1)
  • read(self, fields=None, load='_classic_read')
    @api.multi

New fields (6)
  • applicability Selection
    default='accounts' required=True args: [('accounts', 'Accounts')]
  • color Integer
    compute='_compute_color_index' store=True args: 'Color Index'
  • color_picker Selection
    default='0' required=True string='Tags Color' args: [('0', 'Grey'), ('1', 'Green'), ('2', 'Yellow'), ('3', 'Orange'), ('4', 'Red'), ('5', 'Purple'), ('6', 'Blue'), ('7', 'Cyan'), ('8', 'Aquamarine'), ('9', 'Pink')]
  • enforce_policy Selection
    default='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')]
  • name Char
    required=True
  • tag_ids One2many → account.account.tag
    string='Tags' args: 'account.account.tag', 'tag_category_id'
Public methods (1)
  • name_get(self)
    @api.multi

New fields (2)
  • tag_category_id Many2one → account.account.tag.category
    string='Tag category' args: 'account.account.tag.category'
  • tag_ids Many2many → account.account.tag
    domain=[('applicability', '=', 'accounts')] string='Tags' args: 'account.account.tag'
Public methods (2)
  • default_get(self, fields)
    @api.model
  • save_tags_to_category(self)
    @api.multi