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

Hello facing this error when I want to mark my manufacture order as mark as done 

The quantity done for the product "[PM000001] SIDE SEAM LACQUER FOOD" doesn't respect the rounding precision defined on the unit of measure "kg". Please change the quantity done or the rounding precision of your unit of measure.


Could someone please help me.

Avatar
Hylkää

I am, I get this error when I am trying to add a line in the Inter Warehouse transfer:
---------------------------------------------------------------------------------------
The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/http.py", line 654, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo/src/odoo/odoo/http.py", line 301, in _handle_exception
raise exception.with_traceback(None) from new_cause
AssertionError: precision_rounding must be positive, got 0.0

Paras vastaus

Hope you aren't trying to produce / record value less than 1g for this product?

Avatar
Hylkää
Paras vastaus

For you reference: Rounding precision for KG = 0,01 in Odoo 16. This causes in errors, if you e.g. purchase kg and consume g...

Avatar
Hylkää
Paras vastaus

Rounding precision for KG = 0,001. By default. (1 gram). Check if you have more digits than three in the manufcaturing order

Avatar
Hylkää
Tekijä

Hi Lars,

I changed it by going to settings > Technical > Database Structure > Decimal Accuracy > Product Unit of Measure , then set Digits as 3, but still when I go to set my unit of measure by going to Inventory > Configuration > UoM > go to kg > Rounding Precision it is set as 0.00100. Should it be like this or no.

Thanks in advance,

Hello Asma

That setting - Digits as 3 and rounding Precision = 0.00100 is the same we have in our system. I think it is Default in Odoo. We experience no issue related to this.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
kesäk. 21
3018
1
syysk. 23
4685
1
tammik. 24
8446
1
tammik. 23
2592
4
tammik. 22
6242