Hello, can someone help me
I want to do as the amount:
- calculate the volume per item
- and the total volume.
I created the fields in the model but I cannot find the place where I must put the calculation formula.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello, can someone help me
I want to do as the amount:
- calculate the volume per item
- and the total volume.
I created the fields in the model but I cannot find the place where I must put the calculation formula.
Thank you for your reply.
I created the field x_volume_subtotal in Purchase Order Line Model and I tried to apply the following calculation formula to it: x_volume_subtotal = (volume_of_l'article * quantity) / packaging.
for record in self:
record['x_volume_subtotal'] = (['product_id'].value.volume *record['product_qty'])/['product_id'].packaging.qty
You can add new fields in purchase order line where you can store the volume per item (if not defined on product). and add new field for purchase order where you can calculate the volume based on your formula.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
Dec 24
|
2364 | ||
|
1
Jul 24
|
706 | ||
|
1
Jun 24
|
775 | ||
|
2
Jun 24
|
897 | ||
|
1
Mar 24
|
537 |