تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
5734 أدوات العرض

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.

الصورة الرمزية
إهمال

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?

الكاتب

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
ديسمبر 16
2698
3
فبراير 23
2120
1
أغسطس 19
5526
Ordering Line Items تم الحل
1
أكتوبر 24
4182
1
يونيو 24
1537