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

Module: Türkiye - e-Irsaliye (e-Dispatch)

Entity: stock.picking

Compute Method: _compute_edispatch_warnings

View 19.0
Inputs Method Outputs
  • country_code
  • picking_type_code
  • state
- for picking in self:
-             if (
-                 picking.country_code == "TR"
-                 and picking.picking_type_code == "outgoing"
-                 and picking.state in {"assigned", "done"}
-             ):
-                 picking.l10n_tr_nilvera_edispatch_warnings = picking._l10n_tr_validate_edispatch_fields()
-             else:
-                 picking.l10n_tr_nilvera_edispatch_warnings = False
  • l10n_tr_nilvera_edispatch_warnings

Back to entity