Esc deletes record instead of just closing o2m view
On latest 3.2:
When there is a delete button on a view, Esc deletes the record instead of closing the view.
- Create database with https://bugs.tryton.org/file2158/scenario_bug.rst
- Assign BOM to outputs
- Create new production with the BOM
- Select any of the outputs
- Press Esc without any change
-> output is deleted instead of just closing the view