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.fiscal.position

Compute Method: _compute_states_count

Inputs Method Outputs
for position in self:
            position.states_count = len(position.country_id.state_ids)

Back to entity