Skip to content

[16.0] [MIG] shopfloor_single_product_transfer: Backport from 18.0#1181

Open
lmignon wants to merge 48 commits into
OCA:16.0from
acsone:16.0-mig-shopfloor_single_product_transfer
Open

[16.0] [MIG] shopfloor_single_product_transfer: Backport from 18.0#1181
lmignon wants to merge 48 commits into
OCA:16.0from
acsone:16.0-mig-shopfloor_single_product_transfer

Conversation

@lmignon

@lmignon lmignon commented Jun 11, 2026

Copy link
Copy Markdown

@OCA-git-bot OCA-git-bot added series:16.0 mod:shopfloor_single_product_transfer Module shopfloor_single_product_transfer labels Jun 11, 2026
@lmignon lmignon changed the title [18.0] [MIG] shopfloor_single_product_transfer: Backport from 18.0 [16.0] [MIG] shopfloor_single_product_transfer: Backport from 18.0 Jun 11, 2026
mmequignon and others added 26 commits June 17, 2026 08:45
Due to the way sf.app endpoints are registered
if at install/uninstall you don't take care of refreshing routes
you'll end up w/ non working services or stale entries in the route table.
Make sure when confirming a destination location the same location is
being scanned otherwise ask for confirmation again.
    Do not remove result_package_id in call of _set_quantity__by_location
    when it was previously set by scanning a package
Remove user from backorder
…ckage is scanned which is not empty then it needs to be ensured that the package is set before the move is posted
mt-software-de and others added 22 commits June 17, 2026 08:45
Ensure pack moves are in the same transfer
…ackage

When the user sets a location for a move line, we used to go back to
the select_product state. This is not ideal in the case where the no more
product needs to be selected at the current location (no more pending move
line at this location), as the user would have to select a new location
to be able to select the next move line.

Now, if the scenario is configured to forbid the creation of new move lines
and there is no more pending move line at the current location, when the
user sets a location for a move line, the next state will be
select_location_or_package instead of select_product.
…on location

Before this commit, when scanning a lot for a single product transfer, the
system searched for the lot name without restricting it to the products available
in the scanned location. This could lead to issues when there were multiple
lots with the same name in different locations.

With this commit, the search for the lot name is now restricted to the products
available in the scanned location. This ensures that the correct lot is identified
during the scanning process, even if there are duplicate lot names in different locations.
(At least if products in the location doesn't share lot names, but
at least it reduces the risk of picking the wrong lot)
@lmignon lmignon force-pushed the 16.0-mig-shopfloor_single_product_transfer branch from 07c54fc to 189fc73 Compare June 17, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:shopfloor_single_product_transfer Module shopfloor_single_product_transfer series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants