Skip to content

VanMoof customisation - #9

Closed
astirpe wants to merge 5 commits into
12.0from
vm_customisation
Closed

VanMoof customisation#9
astirpe wants to merge 5 commits into
12.0from
vm_customisation

Conversation

@astirpe

@astirpe astirpe commented Sep 29, 2021

Copy link
Copy Markdown

This is a container of all the VanMoof customisations regarding stock-logistics-workflow

StefanRijnhart and others added 5 commits August 13, 2021 04:40
When the manual lot is assigned to multiple lines on the same picking at once,
it can be the case that some lots are reassigned between these lines. In this
case we have to prevent those lines from being deleted when they are being
unreserved, otherwise when they receive their manual lot in their turn, they
no longer exist ("Record does not exist or has been deleted").

In this change, we determine beforehand to which move lines this is likely
to happen and prevent their deletion (once in the move line's unlink method,
and once in the stock move's _do_unreserve method). When the move is being
rereserved later in the same call, these zero qty move lines are reused.
…backorder (#7)

* [FIX] Don't throw 'unreserve more than in stock' error when creating backorder

* [FIX] Don't unreserve when unsetting the manual lot

* [IMP] Usability in the case of non tracked products or configuration change

Keep visibility of the transferred lots for non tracked products or
products transferred before the picking type was configured for manual lot
selection.

* Update stock_move_manual_lot/models/stock_move_line.py

Co-authored-by: Holger Brunn <mail@hunki-enterprises.com>

Co-authored-by: Holger Brunn <mail@hunki-enterprises.com>
@astirpe
astirpe requested a review from MPishpecki September 29, 2021 13:45
@pankk

pankk commented Sep 30, 2021

Copy link
Copy Markdown

Replaced by #12

@pankk pankk closed this Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants