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

Module: Purchase Work Acceptance

Entity: stock.picking

Compute Method: _compute_wa_ids

View 18.0
Inputs Method Outputs
  • purchase_id
  • purchase_id.id
- for picking in self:
-             picking.wa_ids = (
-                 self.env["work.acceptance"]
-                 .sudo()
-                 ._get_valid_wa("picking", picking.purchase_id.id)
-             )
  • wa_ids

Back to entity