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

Module: Purchase Container

Entity: purchase.container

Compute Method: _compute_date_ett

View 18.0
Inputs Method Outputs
  • date_eta
  • date_etd
- for record in self:
-             record.date_ett = 0
-             if record.date_eta and record.date_etd:
-                 record.date_ett = record.date_eta - record.date_etd
  • date_ett

Back to entity