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

Hello there :)

we use Odoo 14 Enterprise and have set "Product Price" to four decimal places. Sometimes we create an invoice from a sales order and the total is different than the one of the sales order.

For example have a order line on a sales order with a unit price (unit_price) of 369,8150 €. The subtotal (price_subtotal) on that line is 369,81 €. So this is rounded down. 

On the following invoice the same unit price is rounded up to 369,82 €!

Can anyone explain to me, why they are rounding differently? Shouldn't be the latter as it is in commercial or bankers rounding? How can I fix this?

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

I am sorry, to have bothered you, but this malfunction is obviously due to a customization. I've checked it beforehand, but unfortunately overlooked the bug. 

Again, my apologies :(

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أبريل 25
136
0
نوفمبر 24
1815
0
مارس 23
2346
1
مارس 23
3567
3
ديسمبر 22
4022