Otherwise, if a search is performed while creating or editing a line (e.g. in logged calls, create a line without saving then try to apply a filter) the edition section (and new line) disappears but the list remains in "edition" mode (e.g. save/discard button) even though edition data is missing (trying to save or discard will error out). bzr revid: xmo@openerp.com-20121210100914-delia5bhmtgrujpu