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.picking
Compute Method: _compute_picking_warning_text
| Inputs | Method | Outputs |
|---|---|---|
|
+ if not self.env.user.has_group('stock.group_warning_stock'): + self.picking_warning_text = '' + return + for picking in self: + text = '' + if partner_msg := picking.partner_id.picking_warn_msg: + text += partner_msg + '\n' + if parent_msg := picking.partner_id.parent_id.picking_warn_msg: + text += parent_msg + '\n' + picking.picking_warning_text = text |
|
