Repository
OCA/account-analytic · module folder · Try on Runboat
Module version
1.1.2
Category
Uncategorized
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-analytic
Last tracking update
2026-08-07 07:47:33
Authors
Odoo Community Association (OCA), Ecosoft
Maintainers
Odoo Community Association (OCA), Ecosoft
Committers
Saran440, Weblate, OCA-git-bot, oca-travis, Kitti U, oca-git-bot
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
account_analytic_tag_dimension_form_view account.analytic.tag.dimension.form.view account.analytic.tag form Inherits analytic_tag_dimension.account_analytic_tag_dimension_form_view
view_AccountAnalyticDimension_form view.AccountAnalyticDimension.form account.analytic.dimension form Inherits analytic_tag_dimension.view_AccountAnalyticDimension_form
view_AccountAnalyticDimension_tree view.AccountAnalyticDimension.tree account.analytic.dimension tree Inherits analytic_tag_dimension.view_AccountAnalyticDimension_tree
view_move_form account.move.form account.move form Inherits account.view_move_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (5)
  • by_sequence Boolean
    default=False help="If checked, this dimemsion's tags will be available only when previous dimension's tags is selected"
  • filtered_field_ids Many2many → ir.model.fields
    comodel_name='ir.model.fields' domain="[('model_id', '=', ref_model_id), ('ttype', '=', 'many2one')]" help='Filtered listing tags by fields of this model, based on value of selected analytic tags in working document' string='Filtered by fields'
  • ref_model_id Many2one → ir.model
    comodel_name='ir.model' help='Select model if you want to use it to create analytic tags, each tag will have reference to the data record in that model.\nFor example, if you select Department (hr.department) then click Create Tags button, tags will be created from each department and also has resource_ref to the department record' string='Ref Model'
  • required Boolean
    default=False help='If required, this dimension needed to be selected in working document' string='Required'
  • sequence Integer
    help='This field works with By Sequence'
Public methods (1)
  • create_analytic_tags(self)
    Helper function to create tags based on ref_model_id

New fields (1)
  • resource_ref Reference
    selection=<expr> string='Record'
Public methods (0)

No public methods.

New fields (1)
  • domain_tag_ids Many2many → account.analytic.tag
    comodel_name='account.analytic.tag' compute='_compute_analytic_tags_domain' help='Helper field, the filtered tags_ids when record is saved'
Public methods (2)
  • create(self, vals)
    @api.model_create_multi
  • write(self, vals)

Loading…

Loading…