Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Stock Transport
Entity: stock.picking.batch
Compute Method: _compute_end_date
| Inputs | Method | Outputs |
|---|---|---|
|
+ for batch in self: + if not batch.end_date or (batch.scheduled_date and batch.end_date < batch.scheduled_date): + batch.end_date = batch.scheduled_date + timedelta(hours=1) if batch.scheduled_date else False |
|
