Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
7682 Widoki

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.

Awatar
Odrzuć

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

Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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...

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

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.

Powiązane posty Odpowiedzi Widoki Czynność
1
cze 21
2670
1
wrz 23
4016
1
sty 24
7690
1
sty 23
2171
4
sty 22
5823