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

Module: Asset Transfer from AUC to Asset

Entity: account.asset

Compute Method: _compute_can_transfer

Inputs Method Outputs
  • method_number
  • value_residual
  • state
for asset in self:
            asset.can_transfer = (
                not asset.method_number
                and asset.value_residual
                and asset.state == "open"
            )

Back to entity