Re: [tryton] numeric values
Il giorno lunedì 29 gennaio 2018 20:30:20 UTC+1, Cato Nano ha scritto: > Il giorno lunedì 29 gennaio 2018 10:35:08 UTC+1, Cédric Krier ha scritto: > > On 2018-01-28 02:43, Cato Nano wrote: > > > In my numeric calculated fields I should record 4 decimal digits but I > > > should show only 2 decimal digits in my views > > > > > > How can I achieve that ? > > > > You can not display a field with a different value than its value > > otherwise the client will change it and save this new value to the > > server. > > > > Indeed what you want is to show another field which has its value > > derived from the original one. This can be done using a Function field. > > > > interesting. Thanks. I' ll try tomorrow well, it took me a few more days But I followed your suggestion Thanks -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/be7818a1-7207-4219-b008-f1ee9f566ba3%40googlegroups.com.
Re: [tryton] numeric values
Il giorno lunedì 29 gennaio 2018 10:35:08 UTC+1, Cédric Krier ha scritto: > On 2018-01-28 02:43, Cato Nano wrote: > > In my numeric calculated fields I should record 4 decimal digits but I > > should show only 2 decimal digits in my views > > > > How can I achieve that ? > > You can not display a field with a different value than its value > otherwise the client will change it and save this new value to the > server. > > Indeed what you want is to show another field which has its value > derived from the original one. This can be done using a Function field. > interesting. Thanks. I' ll try tomorrow -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/91be3de0-e820-48f7-9841-79fa2f9e0928%40googlegroups.com.
Re: [tryton] numeric values
On 2018-01-28 02:43, Cato Nano wrote: > In my numeric calculated fields I should record 4 decimal digits but I should > show only 2 decimal digits in my views > > How can I achieve that ? You can not display a field with a different value than its value otherwise the client will change it and save this new value to the server. Indeed what you want is to show another field which has its value derived from the original one. This can be done using a Function field. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20180129093221.GC23162%40kei.
[tryton] numeric values
In my numeric calculated fields I should record 4 decimal digits but I should show only 2 decimal digits in my views How can I achieve that ? Thanks -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/8ae604e1-30c9-450f-92d8-67ca736fdf76%40googlegroups.com.