Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

I have added many products with different UOM. In Sales Order line when customer confirm's the order e.g. visits the my_website_domain/shop/confirmation url. The quantity shown on the order line seems incorrect...

Lets say I have a product called Katal fish which has a weight of 500.00 unit of measure is set to gm (Gram) now, if any user buy 3 unit of Katal fish the Sales order line shows 3.000gm instead of 3 * 500 gm or, 1500 gm.  

It seems like in the quantity field odoo is showing number of products on the cart or unit(s) only.
I just want to show the weight along with the quantity.  3 X 500gm or, 7 X 1 KG etc.
Please check the screenshots for more clarification of the issue:




I have tried to add line.product_weight but, it seems like there are no such fields.

Avatar
Hylkää

The calculation of weight in the odoo remains a problem to be solved, I'm working on it and getting the solution, I'll post it, does anyone have an answer?

Tekijä

I managed to show the weight along with the quantity using `line.product_id.weight`

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
jouluk. 16
2715
3
helmik. 23
2165
1
elok. 19
5579
1
lokak. 24
4218
1
kesäk. 24
1600