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

Module: Invoicing

Entity: account.root

Compute Method: _compute_root

View 17.0 View 20.0
Inputs Method Outputs
  • id
+ for root in self:
+             root.name = root.id
+             root.parent_id = self.browse(root.id[:-1] if len(root.id) > 1 else False)
  • name
  • parent_id

Back to entity