Xavier Morel
4aafc01a3c
[ADD] function to insert 'thousands' separators
...
bzr revid: xmo@openerp.com-20111114153436-pj6vq6lamfrjpg7f
2011-11-14 16:34:36 +01:00
Xavier Morel
550436f084
[FIX] correctly apply user's date and time formatting settings
...
lp bug: https://launchpad.net/bugs/886471 fixed
bzr revid: xmo@openerp.com-20111114140007-7nz0pz9zkhqkt3ga
2011-11-14 15:00:07 +01:00
Xavier Morel
78dec879cf
[IMP] throw actual errors in formatting functions, in order for browser devtools to be useful
...
throwing strings prevents browser devtools/consoles from using traceback information (because there isn't any on strings)
bzr revid: xmo@openerp.com-20111110152313-phgtr24gyu2ltjn7
2011-11-10 16:23:13 +01:00
Xavier Morel
abf6f08df0
[ADD] fallback float_time parsing on float parsing if the value does not match float_time's format
...
bzr revid: xmo@openerp.com-20111110133100-sp4ttbfy90cz9kjq
2011-11-10 14:31:00 +01:00
Xavier Morel
f05f913016
[IMP] some naming in openerp.web.parse_value, throw actual errors
...
bzr revid: xmo@openerp.com-20111110132940-0jt103hhlhh5jzej
2011-11-10 14:29:40 +01:00
Xavier Morel
9d4602fcb8
[FIX] unfuck formatting of negative floats
...
bzr revid: xmo@openerp.com-20111027125448-3wkk61xpt8uwjgt1
2011-10-27 14:54:48 +02:00
Xavier Morel
01897c8aa6
[FIX] completely broken float formatting when leading 0
...
Formatting converted the decimal part into an integer, dropping all
leading 0s and failing to reinsert them.
The conversion also lead to compounded errors, casting 0.1100 into
0.10999 (something like that).
Replace this by a straight float formatting via _.sprintf and the
slicing of the decimal part from the resulting string (Math.abs and %1
clamp the value to format to the [0, 1[ range, ensuring we just need
to slice off the first two characters). Also add some tests.
lp bug: https://launchpad.net/bugs/879355 fixed
bzr revid: xmo@openerp.com-20111021120741-813im5bzup7vho1f
2011-10-21 14:07:41 +02:00
Xavier Morel
eb796396e0
[ADD] display of selection fields in format_value
...
bzr revid: xmo@openerp.com-20111012120938-9lpxm6mf8jbde6oj
2011-10-12 14:09:38 +02:00
Fabien Meghazi
65745d5142
[FIX] Do not compute modifiers for aggregates in list view.
...
lp bug: https://launchpad.net/bugs/865188 fixed
bzr revid: fme@openerp.com-20111005153202-4ao575zh3885ukuy
2011-10-05 17:32:02 +02:00
niv-openerp
67271d1e91
[imp] simplified formatting functions for dates
...
bzr revid: nicolas.vanhoren@openerp.com-20110921123139-f57zgqwdghl2qbf7
2011-09-21 14:31:39 +02:00
niv-openerp
e1bde312fc
[imp] corrected integer handling in search view
...
bzr revid: nicolas.vanhoren@openerp.com-20110919134615-9ef47xeuw3gxdmwr
2011-09-19 15:46:15 +02:00
Antony Lesuisse
bedfc48dcf
rename base into web part1
...
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1
2011-09-05 13:03:09 +02:00