diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-10-09 02:08:17 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-10-09 02:08:17 +0200 |
| commit | d74b4518052066446e2a1975a91ce53c745ca75a (patch) | |
| tree | c08180f88a512d15e37fbec628931f02b3825f65 /addons/stock/static/src/js/inventory_validate_button_controller.js | |
| parent | ec162dd0cb5622ab6e56db1a63dab5f531a96f4a (diff) | |
| parent | f4105eb9c7010f8693e5d2fd20c0bd9d9cc2e483 (diff) | |
[MERGE] forward port branch 13.0 up to f4105eb9c70
Diffstat (limited to 'addons/stock/static/src/js/inventory_validate_button_controller.js')
| -rw-r--r-- | addons/stock/static/src/js/inventory_validate_button_controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/static/src/js/inventory_validate_button_controller.js b/addons/stock/static/src/js/inventory_validate_button_controller.js index ac5367b8d25..3e6899ae0c7 100644 --- a/addons/stock/static/src/js/inventory_validate_button_controller.js +++ b/addons/stock/static/src/js/inventory_validate_button_controller.js @@ -64,7 +64,7 @@ var InventoryValidationController = ListController.extend({ var exitCallback = function (infos) { // In case we discarded a wizard, we do nothing to stay on // the same view... - if (infos === 'special') { + if (infos && infos.special) { return; } // ... but in any other cases, we go back on the inventory form. |
