On 12/12/13 04:53 -0800, oscar_alvarez wrote:
> Hi, boys
> 
> Almost all my clients/customers have suggested that the cost price and list 
> price field in product model it has too many decimal digits (4) and this 
> create a little visual confusion with thousands values for users in 
> Colombia so just 2 digits is fine, but to change this feature is not 
> possible without touch code, I understand that for the currency value in 
> Europe 4 digits is fine, but I want to propose that the decimal digits for 
> product model (including sale and purchase with unit price), it being set 
> in a new model configuration with a Singleton Model for product module and 
> default value is setting in 4, I can to work in this codereview/patch.

I'm hardly against such "feature". Number of digits is not something you
change like that, it has a deep impact on the all application. Also you
can not reduce it once you used a larger number because it will break
all older record stored in the past.
So choosing the number of digits is a programming choice that must be
done and tested by developpers.

One possible idea could be to use a value in the configuration file but
before having a good design the configuration file must be rework to be
extendable for modules.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpDJJWuWtpAt.pgp
Description: PGP signature

Reply via email to