Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Manufacturing
Entity: mrp.bom
Compute Method: _compute_show_set_bom_button
| Inputs | Method | Outputs |
|---|---|---|
|
|
- self.show_set_bom_button = True - orderpoint_id = self.env.context.get('orderpoint_id', self.env.context.get('default_orderpoint_id')) - if orderpoint_id: - orderpoint = self.env['stock.warehouse.orderpoint'].browse(orderpoint_id) - self.filtered( - lambda s: s.id == orderpoint.bom_id.id - ).show_set_bom_button = False |
|
