Please sign in to comment.
[FIX] web: close m2o (in o2m) dialog with ESCAPE
Let's assume a one2many editable list containing a many2one field (e.g. in a sales order, the product_id m2o in order_line o2m), and the scenario where the user clicks on 'Create and Edit' in the o2m, and then presses ESCAPE in the opened dialog. Before this rev., it crashed because the 'navigation_move' (cancel) event wasn't stop propagated by the form renderer (the one of the dialog), and thus bubbled up to the list editable renderer, which asked its basic model to discard a record it didn't know. Note: same fix as in 8445baa (done in saas-11.3), but with a simpler test. Task 1878254
- Loading branch information...
Showing with 46 additions and 4 deletions.