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

Module: Purchase Stock

Entity: stock.picking

Compute Method: _compute_date_order

View 19.0
Inputs Method Outputs
  • purchase_id
  • purchase_id.date_order
+ for picking in self:
+             picking.delay_pass = picking.purchase_id.date_order if picking.purchase_id else fields.Datetime.now()
  • delay_pass

Back to entity