Skip to Content
Menu
This question has been flagged

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
Discard

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

Best Answer

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

Avatar
Discard
Best Answer

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
Discard
Best Answer

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

Avatar
Discard
Author

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.

Related Posts Replies Views Activity
1
Jun 21
2651
1
Sep 23
3940
1
Jan 24
7658
1
Jan 23
2140
4
Jan 22
5796