Dynamic Computation of Components & Operation Qty Based on Sales Order Line Value
Adding python code function to compute something in BoM, such as python code to compute component to consume in BoM
STORY BEHIND THE FEATURES
ODOO BEHAVIOR
<text>
CLUEDOO BEHAVIOR
<text>
MODULE +
<text>
CLUEDOO RECOMMENDATION
<text>
HOW TO USE THIS MODULE
1
On BoM, we can set a computation using python code. For example:
product_template.volume+10+po_id.product_qty
It means:
Volume on product template/finished product + 10 + quantity to produce
We will set the volume of the product (Plastic Laminate): 10
Quantity to produce on MO: 1
The result will be:
10 + 10 + 1= 21
2
So when we create a manufacturing order, select the finished product (Plastic Laminate), the quantity to consume will show the computation of the python code.