Commit Graph

56 Commits

Author SHA1 Message Date
niv-openerp 42e493e73e Added Gruntfile with jshint and corrected most js errors
bzr revid: nicolas.vanhoren@openerp.com-20130725100749-0i82gf3k3nvt4r44
2013-07-25 12:07:49 +02:00
Anand Patel (OpenERP) 7ae392d316 [FIX][7.0]Fixed float_time widget show wrong format of time.
bzr revid: pan@tinyerp.com-20130122060420-7cho7hewmj80mb16
2013-01-22 11:34:20 +05:30
tsabi 92e87f7e6f Mark strings to be translated.
Maybe some missed, but most of them marked.

bzr revid: tsabi-20121129002200-20tppzvh0ap5tfwe
2012-11-29 01:22:00 +01:00
Fabien Meghazi cd4c3c61ff [FIX] Listview does not handle base64 value for binary fields
lp bug: https://launchpad.net/bugs/1077858 fixed

bzr revid: fme@openerp.com-20121112171128-a1aoq2q4fma6fpxc
2012-11-12 18:11:28 +01:00
niv-openerp a2399bc651 [FIX] Small problem with formatting
bzr revid: nicolas.vanhoren@openerp.com-20121015135607-j2c3dedpxaiuivd3
2012-10-15 15:56:07 +02:00
niv-openerp 87ea306997 [IMP] Modified formatting of m2o to be consistent with the m2o in form view
bzr revid: nicolas.vanhoren@openerp.com-20121015125123-cyosgswtdxgtcom7
2012-10-15 14:51:23 +02:00
Xavier Morel 6f16fc3df9 [FIX] resolve m2m content to record names in list view
bzr revid: xmo@openerp.com-20120928113524-1jw0uj3nccupcjjq
2012-09-28 13:35:24 +02:00
Xavier Morel 5c225be25e [FIX] split formatting of list cells to formatting objects
simpler to override in order to have new list field widgets

bzr revid: xmo@openerp.com-20120808103404-jj6w04x2mp2lrwl1
2012-08-08 12:34:04 +02:00
Xavier Morel f92a925ec8 [CHG] resequence on arbitrary field with @widget=handle
bzr revid: xmo@openerp.com-20120807134343-ch16bcp5s7goqxsl
2012-08-07 15:43:43 +02:00
Fabien Meghazi ce7fb5bb37 [CHG] Ashes to ashes, dashes to underscores.
bzr revid: fme@openerp.com-20120627141249-o10e2htxqtio72l7
2012-06-27 16:12:49 +02:00
niv-openerp cae22c8ff4 [FIX] Problem with float formatting, not analyzing correctly the digits parameter
bzr revid: nicolas.vanhoren@openerp.com-20120621124123-novg5wadwvvcbrkt
2012-06-21 14:41:23 +02:00
Xavier Morel 7c8ed0a00c [IMP] formatting of o2m and m2m fields in list views, courtesy of William Beltrán
bzr revid: xmo@openerp.com-20120607101329-aq0caswlxamd8z0n
2012-06-07 12:13:29 +02:00
Vidhin Mehta (OpenERP) 24f870f066 [FIX]tree view not repecting precision in xml.
lp bug: https://launchpad.net/bugs/994589 fixed

bzr revid: vme@tinyerp.com-20120524071327-zb7i8qiccw6ith8y
2012-05-24 12:43:27 +05:30
William Beltrán 9e5290e997 Changed the way of show the result in case of many2many and one2many fields according to xmo@openerp.com tips.
bzr revid: wbeltran@infostudio.com.ec-20120515132406-950ekkzyi3nq7jmp
2012-05-15 08:24:06 -05:00
Xavier Morel f3721bb43b [FIX] bloody retarded shit from revid:nicolas.vanhoren@openerp.com-20120418145003-vk8kkfgyp0y94hzm
bzr revid: xmo@openerp.com-20120511113222-o4vj35vscnbebvh8
2012-05-11 13:32:22 +02:00
William Beltrán 1e041011fd Changes accordig to quality code.
bzr revid: wbeltran@infostudio.com.ec-20120504193027-0u94nwfbbitoa2zc
2012-05-04 14:30:27 -05:00
William Beltrán f994797896 [FIX]: Bug #942894 This fix the format.js file to make openerp show a count of ids instead the list of them in 2om relationship.
lp bug: https://launchpad.net/bugs/942894 fixed

bzr revid: wbeltran@infostudio.com.ec-20120504172303-r4pynkj4vofeptk5
2012-05-04 12:23:03 -05:00
niv-openerp 09b2ab7583 [fix] problem with format and parse
bzr revid: nicolas.vanhoren@openerp.com-20120418145003-vk8kkfgyp0y94hzm
2012-04-18 16:50:03 +02:00
niv-openerp 753fac33ce [imp] refactored formats.js
bzr revid: nicolas.vanhoren@openerp.com-20120417115916-k57s4rh3wmbajzyz
2012-04-17 13:59:16 +02:00
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