Repository
OCA/account-financial-tools · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting & Finance
Folder size
0.64 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://www.camptocamp.com/
Last tracking update
2026-08-07 07:17:46
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Akim Juillerat, Vincent Van Rossem, Weblate, OCA Transbot, OCA-git-bot, oca-travis
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 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_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