odoo/addons/web/static/src/js
Xavier Morel c19bc50648 [FIX] ids of deleted records living in shared dataset when clicking on list row
When a record is activated, the listview will do some jiggling around
assigning the ids of internal dataset to the one shared between all
views, this is mostly for the case where one switches from a "grouped"
list view, so the form view only cycles on the "current" group.

Problem is, that internal dataset is not correctly synchronized with
the shared one, so when the id is removed from the shared dataset it
is *not* removed from the internal one(s), and when the switch is made
the ids from the internal dataset are set on the shared one and
reintroduce the deleted record, leading to the form view's incorrect
state.

Fix the issue by updating the dataset's ids list when a record is
deleted from the records tree.

Also extracted some stuff from DataSetSearch's unlink callback so it
can be overridden and is more stable across datasets.

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

bzr revid: xmo@openerp.com-20130416152000-06dbwkgdb8zlf9pc
2013-04-16 17:20:00 +02:00
..
boot.js [IMP] instance.init: less offensive constant 2012-11-30 18:52:49 +01:00
chrome.js [FIX] webclient returns to database manager after 1st database creation 2013-03-19 16:43:45 +01:00
corelib.js [FIX] docstring 2013-03-01 11:22:23 +01:00
coresetup.js [FIX] Also check dbname in session_is_valid() 2013-02-28 17:19:01 +01:00
data.js [FIX] ids of deleted records living in shared dataset when clicking on list row 2013-04-16 17:20:00 +02:00
data_export.js [FIX] Fixed Export dialog buttons. Cleanup openerp.web.Dialog 2012-11-20 10:50:42 +01:00
dates.js Mark strings to be translated. 2012-11-29 01:22:00 +01:00
formats.js [FIX] add a correct rounding algorithm to be able to duplicate server-side financial computations 2013-04-09 16:44:14 +02:00
pyeval.js [FIX] small problem with m2o, does not uses context when opening them in read-only mode 2013-03-19 11:27:19 +01:00
search.js [FIX] Fixed autocomplete of search view hide behind overlay. 2013-03-28 12:03:46 +05:30
test_support.js [IMP] jQuery deferred API changes refactoring. Changed 'then's in 'done'/'fail' and 'pipe's in 'then' 2012-10-30 15:06:30 +01:00
testing.js [FIX]testing.js: replace testing.case by testing['case'] for compatibility (IOS < 5, IE8) 2013-03-22 11:16:06 +01:00
view_form.js [FIX] FormRenderingEngine: allow class propagation to group cells 2013-04-11 18:32:38 +02:00
view_list.js [FIX] ids of deleted records living in shared dataset when clicking on list row 2013-04-16 17:20:00 +02:00
view_list_editable.js []FIX] disable (broken) inline edition in grouped editable lists 2013-03-06 11:21:36 +01:00
view_tree.js [IMP] lot of small improvements to better detect when a view has finished loading 2012-12-13 15:09:14 +01:00
views.js [FIX] deferred problems when clicking too quickly on some menu items 2013-03-22 17:23:10 +01:00