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

I have set the decimal precision 0.0001 in purchase order everything's fine but in bill (account.move) fails. 


In fields credit an debit use 2 decimals.

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

for this you have change decimal of your currency

الصورة الرمزية
إهمال
الكاتب

I already did it I put a decimal_places = 4 and rounding = 0.0001 I still see the error.
in the invoice I have 82 lines.

no. first thing. price and etc. can be precision 10 what ever. it not affect to accounting. it will round till currency. so what is working(tested in real by me), maybe not best way, but working on odoo.
so price-as much as you need precision.
after that(multicurrency activation, no matter you use that or no, different purpose). after that go accounting/configuration/currency-set currency precision till what you need. and when you will have that result (but for e.g in stock value grouped view it will be still 2 points after dot).

أفضل إجابة

Hi,

Please follow the steps to change the decimal precision

Step 1 : Go to Settings and Activate the developer mode 

Step 2: Select the menu Technical -> Database Structure -> Decimal Accuracy

Step 3: Click on 'Product Price' from the list and the change the Digits field value for decimal precision

Decimal Accuracy Change



الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مايو 25
2225
3
ديسمبر 24
6406
1
يوليو 24
3142
1
يونيو 24
2181
2
يونيو 24
3054