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

Module: Vault

Entity: vault.entry

Compute Method: _compute_expired

View 18.0
Inputs Method Outputs
  • expire_date
- now = datetime.now()
- for rec in self:
-             rec.expired = rec.expire_date and now > rec.expire_date
  • expired

Back to entity