Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Inventory
Entity: stock.warehouse.orderpoint
Compute Method: _compute_allowed_replenishment_uom_ids
| Inputs | Method | Outputs |
|---|---|---|
|
for orderpoint in self: - orderpoint.allowed_replenishment_uom_ids = orderpoint.product_id.uom_ids + orderpoint.allowed_replenishment_uom_ids = orderpoint.product_id.uom_ids | orderpoint.product_id.extra_uom_ids if 'buy' in orderpoint.rule_ids.mapped('action'): - orderpoint.allowed_replenishment_uom_ids += orderpoint.product_id.seller_ids.product_uom_id + orderpoint.allowed_replenishment_uom_ids += orderpoint.product_id.seller_ids.uom_id |
|
