Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: TMS - Accounting

Entity: res.config.settings

Compute Method: _compute_tms_analytic_plan_domain

Inputs Method Outputs
  • group_tms_route
if not self.group_tms_route:
            domain = [
                ("tms_flag", "=", True),
                ("id", "!=", self.env.ref("tms_account.tms_route_analytic_plan").id),
            ]
        else:
            domain = [("tms_flag", "=", True)]
self.tms_analytic_plan_domain = domain

Back to entity