diff options
| author | Matthieu Dietrich <matthieu.dietrich@camptocamp.com> | 2015-11-13 10:07:25 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-11-16 17:13:25 +0100 |
| commit | 0d0bb69bb1b4c286b9de224e6c4ab29b72b5f27c (patch) | |
| tree | ec624aca13412317f302fbf941b29ba192d6ee5d /addons/account_analytic_default/security/ir.model.access.csv | |
| parent | 856b31719c69e7f022143ce39df7c6c43688beb9 (diff) | |
[FIX] stock: Only re-reserve moves not done or cancelled
`Recheck availability` must ignore
the done or cancelled moves.
Otherwise, it raises the warning telling you cannot
unreserve a done move.
https://github.com/odoo/odoo/blob/856b31719c69e7f022143ce39df7c6c43688beb9/addons/stock/stock.py#L1899
To reproduce the issue:
- Create a delivery order,
with 10 stockable product A
& 10 stockable product B,
mark as todo.
- Create a receipt,
with 5 stockable product A,
mark as todo & transfer.
- Cancel the move of stockable product B from the delivery order,
in Traceability -> Stock Moves.
- Come back to the delivery order, `check availability`,
then, `recheck availability`
Closes #9550
Diffstat (limited to 'addons/account_analytic_default/security/ir.model.access.csv')
0 files changed, 0 insertions, 0 deletions
