summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/data.js
AgeCommit message (Collapse)Author
2012-01-30[IMP] remove fixed todoXavier Morel
bzr revid: xmo@openerp.com-20120130095339-x3cmsfrzxpwtl8u6
2012-01-24[FIX] in m2o fields, abort previous name_get when new one (for same field) ↵Xavier Morel
arrives in order to limit the number of requests in-flight lp bug: https://launchpad.net/bugs/920884 fixed bzr revid: xmo@openerp.com-20120124141927-wznbkd2tf3mngq31
2012-01-24[imp] removed identifier_prefixniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120124151343-t17b3obenv244io3
2012-01-24[imp] removed bunch of old stuff in widgetniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120124145810-lr2y8igt9iqzqepn
2012-01-20[FIX] DataSetStatic.read_slice called with no options should not blow upXavier Morel
lp bug: https://launchpad.net/bugs/919161 fixed bzr revid: xmo@openerp.com-20120120124930-zug80i862x9mwu34
2012-01-17[FIX] trailing commasXavier Morel
bzr revid: xmo@openerp.com-20120117132843-obecwigtts1rf9ja
2012-01-11[FIX] doc typoXavier Morel
bzr revid: xmo@openerp.com-20120111162923-v1icuslj5jtcfme8
2012-01-11[FIX] Refactoring leftoversFabien Meghazi
bzr revid: fme@openerp.com-20120111084952-n7ghlby6uos5i0nb
2012-01-10[IMP] More dataset refactoringFabien Meghazi
bzr revid: fme@openerp.com-20120110165451-pvchn668y0b1p645
2012-01-10[ADD] Add options arguments to Dataset#read_index in order to provide custom ↵Fabien Meghazi
contexts bzr revid: fme@openerp.com-20120110143513-00p14goadekz0y4z
2012-01-06[imp] improved js-side Model classniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120106104009-67z8ofmo4ndl4651
2012-01-06[imp] simplified buffered datasetniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120106100331-ouggh486o1zab1vz
2011-12-19[imp] replaced many usages of setTimeout by async_whenniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20111219162805-0ibqw4hn23imkfuj
2011-12-19[FIX] have page view force a return to the previous view if switched to with ↵Xavier Morel
no record lp bug: https://launchpad.net/bugs/900225 fixed bzr revid: xmo@openerp.com-20111219125039-049o944efkkl2sk9
2011-12-15[FIX] static datasets: don't set the index to 0 if there are no ids at all, ↵Xavier Morel
the form view does not like it lp bug: https://launchpad.net/bugs/899043 fixed bzr revid: xmo@openerp.com-20111215154100-aspzga71cng767u8
2011-12-14[imp] now closes dialogs when using client actionsniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20111214170356-znxja2f0jekb63a9
2011-12-06[FIX] Dataset#callbutton: assume the last argument is the contextFabien Meghazi
bzr revid: fme@openerp.com-20111206172515-dz4rduhcbd26b1e8
2011-12-06[FIX] correctly send context during graph's fields_getXavier Morel
lp bug: https://launchpad.net/bugs/898636 fixed bzr revid: xmo@openerp.com-20111206113141-nbfxp0jx4lrgo95g
2011-12-01[IMP] Dataset#get_id_index returns null instead of -1 when no record foundFabien Meghazi
In order to pair with convention on Dataset#index === null for creation mode bzr revid: fme@openerp.com-20111201142049-xqndd22l7pncfz0j
2011-12-01[IMP] Use type coercion in Dataset#select_idFabien Meghazi
bzr revid: fme@openerp.com-20111201140831-dth7rx1yny23427c
2011-11-22[FIX] semicolon warningsXavier Morel
bzr revid: xmo@openerp.com-20111122101813-61xmoekdio52j1oj
2011-11-21[ADD] cache eviction for buffereddataset on records on which call_button has ↵Xavier Morel
been invoked lp bug: https://launchpad.net/bugs/885679 fixed bzr revid: xmo@openerp.com-20111121163412-jyvpoa9smrk4qy2g
2011-11-17[FIX] Fixed data#read_index() so it returns same argument to callback and to ↵Fabien Meghazi
.then() bzr revid: fme@openerp.com-20111117130913-lji983yp8b7vb0do
2011-11-15[FIX] handling of groups with length 0 in ContainerDataGroup's group ↵Xavier Morel
descriptor munger For a group with a ${field}_count of 0, code would fallback on __count which does not exist -> would try to set group.length to `undefined` which leads to the property being removed from the result, blowing up the call to `$('<td>').text(group.length)` in the listview (jQuery's .text() apparently does not like getting `undefined` as its parameter... who knew?) Also make `openable` clearer, and improve style of listview in case of an empty group (openable but length 0): remove the arrow on the left (but leave the indent, otherwise it's ugly). lp bug: https://launchpad.net/bugs/889807 fixed bzr revid: xmo@openerp.com-20111115112906-e87sf40tgr8goqps
2011-11-08[MERGE] rename Session into connection define a Connection singleton (chs)Antony Lesuisse
bzr revid: al@openerp.com-20111108152723-2w6zpksjw4e1yx7q
2011-10-27[IMP] rename Session to Connection and create one at initialisationChristophe Simonis
bzr revid: chs@openerp.com-20111027153132-qoj0fiwoj813gsda
2011-10-21[FIX] FF issues in dataset limit.vishmita
lp bug: https://launchpad.net/bugs/876603 fixed bzr revid: vja@vja-desktop-20111021120645-qx0en9plxihle0dj
2011-10-20[ADD] Added DataSet#select_id()Fabien Meghazi
bzr revid: fme@openerp.com-20111020162022-l9wifgvi6qvjb5a2
2011-10-17[REV] xmo@openerp.com-20111013124912-wton5lidyvaezsj6 see: nivXavier Morel
bzr revid: xmo@openerp.com-20111017061554-ijg5uwg2val9hu2h
2011-10-13[FIX] when performing name_get on m2o fields being written to ↵Xavier Morel
BufferedDataSet, ignore m2o fields with 'false' value as well as those not being written at all bzr revid: xmo@openerp.com-20111013125858-pboz81w3s58lk2rl
2011-10-13[FIX] excessive coherence between BufferedDataSet cache and to_write and ↵Xavier Morel
to_create queues ~/projects/tiny/web/current cache should hold readable values (so pairs for m2o fields), whereas to_create and to_write hold the data which will be processed into o2m commands and sent over the wire to create, write and context-value calls. As a result, to_create and to_write should only have atomic ids for m2o fields. Therefore, only use fixed m2o values to store in read cache. bzr revid: xmo@openerp.com-20111013124435-vbjolacjnc9f6qz4
2011-10-13[FIX] inconsistency between multiple m2o fields to name_get and single when ↵Xavier Morel
sent to $.when bzr revid: xmo@openerp.com-20111013124227-at1nvix8yqtae8a9
2011-10-13[FIX] BufferedDataSet to not break the m2o read contract of returning a ↵Xavier Morel
name_get format BufferedDataSet simply shoves stuff read() or create()d in its cache, but m2o is asymmetric: client writes a single id, but reads a pair of [id, name]. Since create() and write() are async (by definition) it's the best place to check if the data being written contains any m2o field, and to fix those m2o values. This, however, completely breaks o2m fields get_value(), and doesn't even work correctly for create() calls. Should probably not cache the same thing we put for creation or update eh bzr revid: xmo@openerp.com-20111013114449-rkhe95g1oi3gudab
2011-10-11[fix] problem with form view, does not prevent multiple creates/savesniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20111011153535-ojo8qqpzlg3ap9fy
2011-10-10[fix] problem in idea viewniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20111010150012-pty14q4z54zdtgvu
2011-10-10[imp] removed asynchronous operations in buffered dataset, "l'amour du ↵niv-openerp
risque, papapalapapapa" bzr revid: nicolas.vanhoren@openerp.com-20111010141804-zc6t2sr60twz6r4s
2011-10-10[fix] forgot some thingsniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20111010124516-5vtzop9sbr5z78r0
2011-10-10[imp] improved conceptually the preceding fix regarding o2mniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20111010124044-8c02gdeddceq78du
2011-10-10[imp] improved popup for m2o to support usage of buttons while creating a rowniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20111010094438-33drycp4l7o1vnzt
2011-09-30[fix] problem with o2m displaying clickable button in unsaved recordniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20110930154612-d2q5z3fy1ouih1fm
2011-09-28[imp] refactoring to improve the way the components are destroyedniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20110928151613-8suxvi1rzn9t40gd
2011-09-26[fix] problem in o2m form view with read only fields, now saves result of ↵niv-openerp
default_get bzr revid: nicolas.vanhoren@openerp.com-20110926160057-zss7934ji5hhtq44
2011-09-14[ADD] ability to hide menu help, only this or all help sectionsXavier Morel
bzr revid: xmo@openerp.com-20110914100833-fo4arcaa92zu1361
2011-09-12[fix] problem in o2m when creating a record (hope this wont make something ↵niv-openerp
else crash) bzr revid: nicolas.vanhoren@openerp.com-20110912155837-ersyabu3jzc62wax
2011-09-12[IMP] fix more jsdoc to not have any global extracted in jsdocXavier Morel
bzr revid: xmo@openerp.com-20110912120604-ojzbfhjkobgoueo6
2011-09-12[FIX] jsdoc v3 fixes: @constructs needs an explicit name, @lends is ↵Xavier Morel
mandatory to not make free-floating methods (interpreted as globals) bzr revid: xmo@openerp.com-20110912103503-0gpou4t50i2stycp
2011-09-08[FIX] same signature change as ↵Xavier Morel
xmo@openerp.com-20110908111024-qfr6xlrw9ecy7m6y, but on ReadOnlyDataSetSearch bzr revid: xmo@openerp.com-20110908111136-fa8hm5t1q5vxjb9i
2011-09-08[FIX] Signature change in DataSet.write had not been performed in child ↵Xavier Morel
class BufferedDataSet, resulting in success callback not being correctly called on successful save of row lp bug: https://launchpad.net/bugs/842644 fixed bzr revid: xmo@openerp.com-20110908111024-qfr6xlrw9ecy7m6y
2011-09-06[imp] lot of improvements to header & about pageniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20110906095054-qjlpmyd83spjm79b
2011-09-06[FIX] implicit globals: missing 'var' declarationsXavier Morel
did not touch gantt.js, this thing's a swap, there are implicit globals which are actually used globally bzr revid: xmo@openerp.com-20110906093139-uermn7a9vo38l3kf