Ir al contenido
Menú
Se marcó esta pregunta
16 Respuestas
76837 Vistas

I have a problem with decimal precision. I've seen a lot of posts about it on the net but I think it's for earlier version. I just want to specify 5 decimals in the product cost price.

Avatar
Descartar
Autor

First, thanks for your help. But i didn't find the system configuration.

Autor

Is there a tools to instal or is it build in the web client ?

Hi,

I have the same problem, so the answer really interests me :)

Regards,

Settings option in system.

Mejor respuesta

Hello everyone,

This is old question but this configuration works for me:
http://netjunky.net/change-odoo-decimal-precision-configuration/

Kind regards,

Igor


Avatar
Descartar
Mejor respuesta

image description

I attached an image:

First go to

Settings -> Users -> Select user and under access rights tab check technical features

Reload page (F5)

Go To

Settings -> Database Structure -> Decimal Accuracy

You must restart the server for changes to take effect. In Windows, go to Control Panel, Administrative Tools, Services. Find OpenERP in the list. Stop then Start the service.

Avatar
Descartar

Hi, we have found a problem in this regard. The thing is that changing the number of digits in the "Product Price" not only changes the digits in "Sale Price" but also in "Cost Price". Is there any way to handle these two concepts (Sales Price / Cost Price) separately?

Not from configuration but using customization you can do that.

Thanks it worked for me!

Mejor respuesta

Go to menu Settings / Technical / Database Structure / Decimal Accuracy , open Product Price and change the field Digits to your needs.

If you can't see this menu then install module decimal_precision.

Avatar
Descartar
Mejor respuesta

Hello in system configuration, Database estructure menu you will get each decimal precision option. Product Decimal precision is what you need to set.

Regards,

Avatar
Descartar

i set all to 4 same thing 2.250

Mejor respuesta

hi how can i change in pos since it show me 3 decimal but the third number is 0 always?

example in the products 2.253 in the point of sale it shows me 2.250

thanks in advance.

Avatar
Descartar

i try all above and change the value Product Decimal 4 still in point of sale show me 2.250 instead of 2.253

thanks to mr Ahmad the answer worked in my pos

change your Account precision to 4 "you already did that"
change your default company currency Rounding Factor to 0.0001, You can find it under Settings ->Configuration ->Accounting ->Options, Default company currency.
on the file /addons/point_of_sale/static/src/js, open the widget_base.js and make these changes:
    line 25 

this.currency = {symbol: '$', position: 'after', rounding: 0.0001}; // change the 0.01 to 0.0001
    line 32 

amount = Math.round(amount*10000)/10000; // change 100 to 10000
Mejor respuesta

I just updated all these, form shows without decimal point. But when i take a print out of the same form it shows decimal point. Any solution for this,Mustufa Rangwala?

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
dic 22
5614
3
oct 22
9766
1
dic 21
9918
11
ene 24
35154
5
mar 17
8486