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.account

Compute Method: _compute_parent_ids

Inputs Method Outputs
for account in self:
            account.parent_ids = self.browse(int(parent_id) for parent_id in account.parent_path.split('/') if parent_id)

Back to entity