Commit Graph

37 Commits

Author SHA1 Message Date
Xavier Morel 2c4898dc84 [FIX] render statusbar as selection in listview
bzr revid: xmo@openerp.com-20120309143640-784m7dhyeg6cnrfm
2012-03-09 15:36:40 +01:00
msh-openerp 0df6b1bad7 [FIX]Fixed the issue of statusbar which shows technical name in listview if one gives widget=statusbar in listview field.
bzr revid: msh@tinyerp.com-20120307101935-mw4vyjjra6e9uy1v
2012-03-07 15:49:35 +05:30
Fabien Meghazi cdd72c0fe6 [FIX] Make progress bar (format.js) more tolerant with falsy floats
bzr revid: fme@openerp.com-20120307095700-i5msqipgij4v36fl
2012-03-07 10:57:00 +01:00
Xavier Morel 2b2ae48ea9 [FIX] progressbar fields display in group headers
also, weird computed progress bars (e.g. aggregates) with way too many digits

lp bug: https://launchpad.net/bugs/941316 fixed

bzr revid: xmo@openerp.com-20120227152739-3pmu3dtqrbzx1x3m
2012-02-27 16:27:39 +01:00
Xavier Morel a01c57c31f [FIX] handling of date and time formats with bare/literal characters
lp bug: https://launchpad.net/bugs/932448 fixed

bzr revid: xmo@openerp.com-20120215153237-4q1y6snebxk6sheh
2012-02-15 16:32:37 +01:00
Xavier Morel 289eba0e4f [FIX] sign handling when parsing float_time values
bzr revid: xmo@openerp.com-20120208140445-xfgz3vm18r4t9ijb
2012-02-08 15:04:45 +01:00
Xavier Morel 9cc531505f [FIX] formatting of float_time fields
lp bug: https://launchpad.net/bugs/928220 fixed

bzr revid: xmo@openerp.com-20120208135655-79qnr5tl6admxr1e
2012-02-08 14:56:55 +01:00
Fabien Meghazi 4ffe5f5545 [FIX] Special case id fields
lp bug: https://launchpad.net/bugs/919184 fixed

bzr revid: fme@openerp.com-20120125111628-vsz6mwptd7bm8hlm
2012-01-25 12:16:28 +01:00
Xavier Morel 2b736ee2cf [FIX] correctly htmlescape data in format_cell
* htmlescape everything coming from format_value
* use _.template instead of _.str.sprintf to more easily escape data in binary rendering
* move progressbar rendering to format_cell since it produces HTML nodes, render it via _.template

bzr revid: xmo@openerp.com-20120111095853-voaoxkvdls294q5s
2012-01-11 10:58:53 +01:00
Xavier Morel d54a196811 [IMP] correctly handle filenames in list view binaries
bzr revid: xmo@openerp.com-20120110155020-ab02qb0ktlfxnwvb
2012-01-10 16:50:20 +01:00
Xavier Morel d98b8b8be0 [ADD] handling of binary fields to the listview
bzr revid: xmo@openerp.com-20120110153905-zxqkze9c4zrkmv2a
2012-01-10 16:39:05 +01:00
Fabien Meghazi 21cda98906 [IMP] Improved list view boolean formatting
lp bug: https://launchpad.net/bugs/910767 fixed

bzr revid: fme@openerp.com-20120109134757-wbuy45h1pca9lpgo
2012-01-09 14:47:57 +01:00
Vidhin Mehta (OpenERP) 74bce5aa5a [FIX]fix bug issue.
lp bug: https://launchpad.net/bugs/910767 fixed

bzr revid: vme@tinyerp.com-20120103084351-wwct754cke2b1n50
2012-01-03 14:13:51 +05:30
Antony Lesuisse c02f2e0fbd [FIX] support many2one widget selection in tree
bzr revid: al@openerp.com-20111230164655-sfiha4rkbrqni4y0
2011-12-30 17:46:55 +01:00
niv-openerp e05b605dca [fix] problem with list view in o2m and buttons that should be disabled in some cases
lp bug: https://launchpad.net/bugs/884207 fixed

bzr revid: nicolas.vanhoren@openerp.com-20111222124913-fezv69rxh7xoulkm
2011-12-22 13:49:13 +01:00
Vidhin Mehta (OpenERP) d31512342a [fix]fix bug 884207.
lp bug: https://launchpad.net/bugs/884207 fixed

bzr revid: vme@tinyerp.com-20111220121135-k0pwb4j3jzwrr1we
2011-12-20 17:41:35 +05:30
Antony Lesuisse 4206e4d262 connection jsonp wip
bzr revid: al@openerp.com-20111215183259-vam7tsjlkqhjam69
2011-12-15 19:32:59 +01:00
Antony Lesuisse 78312ed1dd [MERGE] trunk
bzr revid: al@openerp.com-20111208133952-183wp4ozrr0gvea8
2011-12-08 14:39:52 +01:00
Xavier Morel b379d95f44 [IMP] make float-parsing code more readable by fixing some variable naming
bzr revid: xmo@openerp.com-20111129101334-4uu8v21arkn5h0tu
2011-11-29 11:13:34 +01:00
Xavier Morel 90dfdbaf6a [FIX] Add tests for parsing integers and floats, fix parsing of floats in case user locale defines thousand separator as the dot
lp bug: https://launchpad.net/bugs/893575 fixed

bzr revid: xmo@openerp.com-20111129095958-966ikmsgf6zwamdh
2011-11-29 10:59:58 +01:00
Christophe Simonis 3225e9d5c4 [FIX] generate absolute urls for images
bzr revid: chs@openerp.com-20111123092055-iqwm3uy1sxw4iq5o
2011-11-23 10:20:55 +01:00
Xavier Morel e33b9a722e [FIX] some badly implemented function fields return empty strings (for e.g. dates, instead of False)
treat empty strings as 'false' except for char fields

bzr revid: xmo@openerp.com-20111116100416-0713i9va49ffbzlh
2011-11-16 11:04:16 +01:00
Fabien Meghazi db2c85635b [IMP] Upgraded unserscore version from 1.1.7 to 1.2.2 and underscore.string from 1.1.6 to 1.2.0
WARNING: underscore string does not mixin to underscore by default. Use _.str.*

bzr revid: fme@openerp.com-20111115123059-k31lhp0db2d8h22k
2011-11-15 13:30:59 +01:00
Xavier Morel 76a02ead76 [FIX] support 'thousands' separator for floats
lp bug: https://launchpad.net/bugs/886471 fixed

bzr revid: xmo@openerp.com-20111114155332-3on98ot7o808z0gi
2011-11-14 16:53:32 +01:00
Xavier Morel 42c7cb86d9 [FIX] support 'thousands' separator for integers
lp bug: https://launchpad.net/bugs/886471 fixed

bzr revid: xmo@openerp.com-20111114154510-r6bdi22cyygh72ak
2011-11-14 16:45:10 +01:00
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