Posted in Configuration, OpenERP

Disable Decimal Points in OpenERP


Sometimes it may requires that you don’t want to see number with decimal into OpenERP. OpenERP is using “Floatdatatype everywhere and it is not feasible and possible to change datatype. For example, in multi currency environment, you may require to remove decimal numbers in some of the currency. To overcome from this problem, we have come with generic solution which makes your work very easy.

Let’s see some OpenERP form where you can see numbers with decimal before using this feature.
We have added new field for configuration into language.

view_decimal-1

This is “List View” with float type fields and also with sum of those values.

view_decimal-2

This form contains numbers with decimal into “List View” and also display with currency in Total.

view_decimal-3

This is form view with some float type fields.

view_decimal-4

Now, we are going to make unchecked “View Decimal” field from Language form. And reload OpenERP interface.

view_decimal-5

view_decimal-6

view_decimal-7

view_decimal-8

Now, it is very easy for end users to disable “decimal points” from OpenERP.

 

Advertisements

Author:

Specialised in OpenERP/CRM Solutions, software development, Web development, E commerce solutions & other open source solutions.

8 thoughts on “Disable Decimal Points in OpenERP

  1. I get this bug.

    View error

    Can’t find field ‘view_decimal’ in the following view parts composing the view of object model ‘res.lang’:
    * itseed.res.lang.form

    Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model

  2. Dear Team,

    I downloaded the module from the above link and installed,restarted the ERP process. But the decimal not changed.Kindly help me how to achive this. Thanks in advance

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s