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

Module: Accounting/Fleet bridge

Entity: account.move.line

Compute Method: _compute_need_vehicle

Inputs Method Outputs
  • account_id
  • account_id.is_vehicle_account
for line in self:
            line.need_vehicle = line.account_id.is_vehicle_account

Back to entity