Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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.

Ảnh đại diện
Huỷ bỏ

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?

Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 16
2719
3
thg 2 23
2174
1
thg 8 19
5590
Ordering Line Items Đã xử lý
1
thg 10 24
4220
1
thg 6 24
1643