Skip to content

[16.0][REF] shopfloor_reception: reuse set_destination in _set_quantity__by_location - #1244

Open
nicolas-delbovier-acsone wants to merge 3 commits into
OCA:16.0from
acsone:16.0-fix-shopfloor_reception-set-qty-by-location
Open

[16.0][REF] shopfloor_reception: reuse set_destination in _set_quantity__by_location #1244
nicolas-delbovier-acsone wants to merge 3 commits into
OCA:16.0from
acsone:16.0-fix-shopfloor_reception-set-qty-by-location

Conversation

@nicolas-delbovier-acsone

@nicolas-delbovier-acsone nicolas-delbovier-acsone commented Aug 20, 2026

Copy link
Copy Markdown

The way the code dealt with scanning a location from the "set_quantity" state was incorrect.

It did not split the line nor set it as shopfloor_unloaded=True

@jbaudoux

…_location

Replaces duplicated and incomplete destination assignment logic in `_set_quantity__by_location` with existing `process_without_pack` and `set_destination` service methods.

Using the existing `set_destination` method ensures consistent behavior, validation, and confirmation checks across the reception workflow instead of maintaining duplicated logic.
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @JuMiSanAr, @mmequignon,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot OCA-git-bot added series:16.0 mod:shopfloor_reception Module shopfloor_reception labels Aug 20, 2026
@OCA-git-bot OCA-git-bot added the mod:shopfloor_reception_putinpack_restriction Module shopfloor_reception_putinpack_restriction label Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:shopfloor_reception_putinpack_restriction Module shopfloor_reception_putinpack_restriction mod:shopfloor_reception Module shopfloor_reception series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants