This question has been flagged
5 Replies
15594 Views

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.

Avatar
Discard
Best Answer

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 
Avatar
Discard

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.

Best Answer

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.


 

 

 

 

Avatar
Discard
Best Answer

where to find the Technical settings?

Avatar
Discard
Best Answer


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.



Avatar
Discard
Author Best Answer

Thank you for your help.  Issue resolved.

Avatar
Discard