odoo/addons/web/static/src/js
Xavier Morel b6a0874f4c [FIX] disgusting hack to skip around race condition
When clicking on an action button, form view first saves then executes
the action. In doing so, it causes the o2m field to call
ListView#reload_content twice without waiting for the reloading to
end, generating a race condition in ListView.List#render_dataset.

As a result, the read_slice callback fills the list twice (once for
each #reload_content call), resulting in everything being duplicated.

Clear the content of the records collection before adding stuff.

note: collections should dedup on ids.

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

bzr revid: xmo@openerp.com-20111025085112-q38q8m0k2mopwadg
2011-10-25 10:51:12 +02:00
..
boot.js [IMP] web_preload js part 2011-09-27 13:14:02 +02:00
chrome.js [IMP] change cursor when loading 2011-10-18 16:33:00 +02:00
core.js [FIX] Do not use node.parentElement (sorry all) 2011-10-24 11:21:40 +02:00
data.js [FIX] FF issues in dataset limit. 2011-10-21 17:36:45 +05:30
data_export.js [IMP] Removed global QWeb. Now instanciate a QWeb2.Engine for each session: instance.web.qweb 2011-09-07 11:37:43 +02:00
data_import.js [FIX] automatically open options box if the file fails to parse entirely 2011-10-24 16:27:44 +02:00
dates.js rename base into web part1 2011-09-05 13:03:09 +02:00
formats.js [FIX] completely broken float formatting when leading 0 2011-10-21 14:07:41 +02:00
search.js [FIX] handling of invisible attribute in search view 2011-10-24 17:26:12 +02:00
view_form.js [imp] m2o now supports readonly mode 2011-10-24 17:20:56 +02:00
view_help.js rename base into web part1 2011-09-05 13:03:09 +02:00
view_list.js [FIX] disgusting hack to skip around race condition 2011-10-25 10:51:12 +02:00
view_list_editable.js [FIX] Problem with action buttons in form views opened from a m2o in an editable list 2011-10-13 15:46:06 +02:00
view_tree.js [FIX} incorrect condition for not going into colors management on tree views 2011-10-12 13:14:29 +02:00
views.js [IMP] try session instead of openerp,db and we would rename Session into Connection 2011-10-25 00:54:31 +02:00