diff options
| author | wan <wan@odoo.com> | 2019-10-07 08:16:03 +0000 |
|---|---|---|
| committer | wan <wan@odoo.com> | 2019-10-07 08:16:03 +0000 |
| commit | 51c58782db4a4d4676351c1209052de7359ed18b (patch) | |
| tree | 2e131e4a088f85e3e1104b1423e4da7dae4d0a36 /addons/account/static | |
| parent | ee8147996d7d9beed98d80801043cbf648f10b88 (diff) | |
[FIX] account: do not validate when pressing enter on edit amount
In the reconciliation widget, pressing enter validates the line
focussed. This should not happen when editing an input, like it was the
case for the partial amount input.
closes odoo/odoo#38037
Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
Diffstat (limited to 'addons/account/static')
| -rw-r--r-- | addons/account/static/src/js/reconciliation/reconciliation_renderer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/static/src/js/reconciliation/reconciliation_renderer.js b/addons/account/static/src/js/reconciliation/reconciliation_renderer.js index 079a2632b1e..d8291ddbef7 100644 --- a/addons/account/static/src/js/reconciliation/reconciliation_renderer.js +++ b/addons/account/static/src/js/reconciliation/reconciliation_renderer.js @@ -219,7 +219,7 @@ var LineRenderer = Widget.extend(FieldManagerMixin, { 'click .accounting_view tfoot': '_onChangeTab', 'click': '_onTogglePanel', 'click .o_field_widget': '_onStopPropagation', - 'keydown .o_input': '_onStopPropagation', + 'keydown .o_input, .edit_amount_input': '_onStopPropagation', 'click .o_notebook li a': '_onChangeTab', 'click .cell': '_onEditAmount', 'change input.filter': '_onFilterChange', |
