It is currently Tue May 22, 2012 11:33 pm

All times are UTC + 2 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Decimal Places for custom field - float type
PostPosted: Wed Jun 15, 2011 12:29 pm 
Offline

Joined: Tue Nov 16, 2010 3:53 am
Posts: 12
Dear All,
I have added an custom field in float type in manufacturing order form.
However there is only 2 decimal places shown.
Anyone advise how to change it?

Thanks


Top
 Profile  
 
 Post subject: Re: Decimal Places for custom field - float type
PostPosted: Thu Jun 16, 2011 10:57 am 
Offline

Joined: Thu May 26, 2011 8:51 pm
Posts: 166
In the field definition, you have to add a parameter called digit to adjust decimals. See the specifications here: http://doc.openerp.com/v6.0/developer/2_5_Objects_Fields_Methods/field_type.html.

Regards.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP