odoo/addons/web
Xavier Morel 86842fe9c8 [FIX] correctly handle case of deleting-an-o2m-line-being-edited
move special case in o2m listview to main editable and expand to
correctly fit edition cases, not just work in case of creation

issue: if a row being edited is deleted in an o2m, the form will be
blurred and try cancelling/saving the edition and reloading the row,
but this will only happen *after* the record/row/whatever has been
"deleted" and (amongst other things) removed from the buffered o2m
cache, leading to a tentative read on the server side (usually with a
local id which doesn't even make sense) and thus an error.

Intercept the deletion signal to cancel the edition immediately and
only let the deletion through after the edition has successfully been
canceled.

bzr revid: xmo@openerp.com-20121116164416-8kr39t6jtqy2s3jc
2012-11-16 17:44:16 +01:00
..
controllers [IMP] minify cache 2012-11-16 14:58:22 +01:00
doc [FIX] doc errors 2012-11-16 12:10:43 +01:00
i18n Launchpad automatic translations update. 2012-11-15 05:09:25 +00:00
static [FIX] correctly handle case of deleting-an-o2m-line-being-edited 2012-11-16 17:44:16 +01:00
tests [IMP] timeout discipline 2012-11-15 10:15:01 +01:00
__init__.py web remove common, fix imports 2012-10-10 22:37:53 +02:00
__openerp__.py [FIX] problem in editable list o2m when hitting the enter button rapidly 2012-11-16 16:12:48 +01:00
http.py [IMP] web.http: factor out session path generation 2012-11-16 16:01:31 +01:00
nonliterals.py web remove common, fix imports 2012-10-10 22:37:53 +02:00
session.py web remove common, fix imports 2012-10-10 22:37:53 +02:00