diff options
| author | William Henrotin <whe@odoo.com> | 2019-08-05 13:10:21 +0000 |
|---|---|---|
| committer | William Henrotin <whe@odoo.com> | 2019-08-05 13:10:21 +0000 |
| commit | c361c3778ef4755b4760039a4fd8f9ed88294b64 (patch) | |
| tree | 548029b47ef1267c23a6e0f49ad2e5c4198b5a2d /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | b77bbd01f8f746afb49239abc28a4bd543528917 (diff) | |
[FIX] stock: unlink scrap on cancel
from f5e99060b66dd62d8154c07f1110bf1c913a1424, a scrap order was unlink
when clicking the discard button in the insufficient quantity wizard.
This lead to a access error when the wizard was closed on the scrap order
form view. The form view was reloaded on a deleted record.
This commit adds a context key that prevent the unlink if the scrap order
was validated from the scrap form view
Task : 2043136
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
