diff options
| author | Aaron Bohy <aab@odoo.com> | 2019-11-04 10:15:39 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-11-04 13:39:07 +0000 |
| commit | c4a339e8398fb291de0177427ba475ff104ed45f (patch) | |
| tree | 2d2b9b05aef0b1865fab19ec505ba4fae52c374c /addons/web/static/src/js/views/form | |
| parent | 945a94a152aacd5d1cf042916e9541bc74307ce3 (diff) | |
[FIX] web,sale_product_matrix: allow to open matrix
Before this rev, it crashed when opening the (sale or purchase)
product matrix (e.g. on runbot, go to quotations, create, add a
line, select 'My Company tshirt').
This was due to a recent override of _applyChanges (see 4bf98b47),
which didn't return the value returned by super.
OPW 2116083
closes odoo/odoo#39747
X-original-commit: 49626acbacb87a6f5d37bea22d0b51a506121914
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/form')
| -rw-r--r-- | addons/web/static/src/js/views/form/form_controller.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/form/form_controller.js b/addons/web/static/src/js/views/form/form_controller.js index 6134bada681..2a39742b206 100644 --- a/addons/web/static/src/js/views/form/form_controller.js +++ b/addons/web/static/src/js/views/form/form_controller.js @@ -288,8 +288,9 @@ var FormController = BasicController.extend({ * @override */ _applyChanges: async function () { - await this._super.apply(this, arguments); + const result = await this._super.apply(this, arguments); core.bus.trigger('DOM_updated'); + return result; }, /** |
