Skip to content
Snippets Groups Projects
Commit 74a7309e authored by Mylyna Hy's avatar Mylyna Hy Committed by Tiffany Chang (tic)
Browse files

[FIX] stock: show exception log when cancel backorders

Steps to Reproduce Issue for single picking:
1. Install Sales, Inventory
2. Create an SO and confirm
3. Go to the transfer, assign the done value to be less than demanded
4. Validate the transfer and cancel the backorder

Current Behavior:
There is no exception error on the SO chatter

Expected Behavior:
An exception error should be logged on the SO chatter

Other Info: When cancelling a backorder for a single picking,
the exception error about less quantity than expected is not logged on the SO.
"process_cancel_backorder" does not call _log_less_quantities_than_expected.
As defined in "process", the exception is only logged when validating multiple pickings at once but
one is to backorder but the other is not.

opw-3222508

X-original-commit: a1dfc58eebd1badc3eea501b23861748b3762d75
Part-of: odoo/odoo#121691
parent 3fbfb530
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment