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

I have setup "Each" as a "Unit of Measure" with "Rounding Precision" as 1.000.  However, I would like to display quantity for Each without any decimal places, such as 1, 2, 3 instead of 1.000, 2.000, 3.000.

How do I get this?

Thank you in advance for your help.

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

For mi works this way:

  1. Technical Settings -> Database Structure -> Decimal Accuracy
  2. Edit the "Product Unit of Measure"
  3. Change "Digits" to your desired number
  4. Save
  5. Refresh the page for changes take effect 
الصورة الرمزية
إهمال

This will change ALL of the units of measure. What if in addition to the Each UoM they have a Yards UoM where then need decimal places?

Hello jbarnhart@minespress.com

The config applies to the whole system, meaning that affects all units of the products in any area of Odoo. If you need only apply zero decimals to a single UoM, I recommend doit by code checking the UoM by his external ID and forcing the customization.

أفضل إجابة

here is my answer:

  1. goto Technical settings - Database Structure
  2. choose Decimal Accuracy
  3. edit the Product UoS
  4. change digits to zero
  5. save

if you don't have access to the technical settings, then enable them under your account settings.

if you find this anser hulpfull, please give me a thumbs up vote.


 

 

 

 

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

where to find the Technical settings?

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


Hello,

I would like to do the same thing but in the email of a "confirmation order" ... 

What is the field that I must seek and modify? :-)

Clarence.



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

Thank you for your help.  Issue resolved.

الصورة الرمزية
إهمال