diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-07-05 16:37:21 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-07-05 16:37:21 +0200 |
| commit | ee20d563570fcf3b3eabb90d82dd5f1c5164f1a9 (patch) | |
| tree | 6581fa5175f5da4a05cbdae270c32de16c7a1a82 /addons/web/doc/module/static/src/css/web_example.css.1.diff | |
| parent | d968398d153a76cb36b5099ad312fef6cdb03c8d (diff) | |
[FIX] Create new records as a bunch of empty (false) fields, otherwise Bad Things Happen ~/projects/tiny/web/current
namely, if the list view fields have e.g. attributes associated, the
computation of the domains blow up
also, always create an editor in the listview (if the editable
listview module has been installed), avoids blowing up 'safety' calls
to #ensureSaved. An alternative would be to fix #ensureSaved not to
blow up if there's no editor, but that means third parties which
*know* there may be an editor in the list view can't easily hook up to
it.
Things will have to change anyway as currently toggling a list view
from not-editable to editable after on_loaded has been called will not
work correctly (it won't start the editor), which is shitty.
bzr revid: xmo@openerp.com-20120705143721-4fiz64k7fka4052k
Diffstat (limited to 'addons/web/doc/module/static/src/css/web_example.css.1.diff')
0 files changed, 0 insertions, 0 deletions
