summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/data_model.js
diff options
context:
space:
mode:
authoramoyaux <arm@odoo.com>2017-07-27 11:19:05 +0200
committerNicolas Martinelli <nim@odoo.com>2017-07-27 16:00:21 +0200
commit62b8a05368b21d6304952e4ce4882ef96c0f431b (patch)
tree7fae51890963c40abf2d2f5f1b88283b165a949a /addons/web/static/src/js/framework/data_model.js
parent66c22ab20d08416124baaa43943398a5e22b46b2 (diff)
[FIX] purchase : procurement check fail if one move in cancel
Use case to reproduce the bug: One procurement is running for a PO. Cancel one move in the picking and create it again. Pass the picking in done. --> The procurement stay in running state It happens because the check method of procurement look if all moves linked are in done state but in this case, there is one move in cancel and one move in done. This commit check instead if all move are in cancel or done and at least one is in done state. opw-753177
Diffstat (limited to 'addons/web/static/src/js/framework/data_model.js')
0 files changed, 0 insertions, 0 deletions