Skip to content

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Feb 5, 2025

When forcefully unreserving then reserving products coming from a same package for multiple pickings, the source package is wrongly propagated as destination package on the multiple pickings.

To reproduce:

  • -i sale_stock,sale_management
  • Create a storable product (I) with 30 qty on hand
  • Create and confirm an internal transfer to put the product I in a pack (P)
  • Create and confirm two SO :
    • Sell 10 I
    • Sell 20 I
  • Check the 2 SO delivery pickings (D):
    • Each are reserved from pack P
    • They don't have any 'Destination Package' [Expected]
  • From the picking list view, by selecting the 2 pickings D :
    • 'Unreserve' them both
    • 'Check Availability' them both
  • Check the pickings D:
    • Each are reserved from pack P
    • Each have 'Destination Package' P [Faulty]

opw-4272573

I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #193745

When forcefully unreserving then reserving products coming from a same
package for multiple pickings, the source package is wrongly propagated
as destination package on the multiple pickings.

To reproduce:
 - `-i sale_stock,sale_management`
 - Create a storable product (I) with 30 qty on hand
 - Create and confirm an internal transfer to put the product I in an pack (P)
 - Create and confirm two SO :
   - Sell 10 I
   - Sell 20 I
 - Check the 2 SO delivery pickings (D):
   - Each are reserved from pack P
   - They don't have any 'Destination Package' [Expected]
 - From the picking list view, by selecting the 2 pickings D :
   - 'Unreserve' them both
   - 'Check Availability'them both
 - Check the pickings D:
   - Each are reserved from pack P
   - Each have 'Destination Package' P [Faulty]

opw-4272573

X-original-commit: 2777dfc
@robodoo
Copy link
Contributor

robodoo commented Feb 5, 2025

Pull request status dashboard

@fw-bot
Copy link
Contributor Author

fw-bot commented Feb 5, 2025

This PR targets saas-18.1 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Feb 5, 2025
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Feb 5, 2025
robodoo pushed a commit that referenced this pull request Feb 6, 2025
When forcefully unreserving then reserving products coming from a same
package for multiple pickings, the source package is wrongly propagated
as destination package on the multiple pickings.

To reproduce:
 - `-i sale_stock,sale_management`
 - Create a storable product (I) with 30 qty on hand
 - Create and confirm an internal transfer to put the product I in an pack (P)
 - Create and confirm two SO :
   - Sell 10 I
   - Sell 20 I
 - Check the 2 SO delivery pickings (D):
   - Each are reserved from pack P
   - They don't have any 'Destination Package' [Expected]
 - From the picking list view, by selecting the 2 pickings D :
   - 'Unreserve' them both
   - 'Check Availability'them both
 - Check the pickings D:
   - Each are reserved from pack P
   - Each have 'Destination Package' P [Faulty]

opw-4272573

closes #196711

X-original-commit: 2777dfc
Signed-off-by: Steve Van Essche <svs@odoo.com>
Signed-off-by: Mathias Mathy (mama) <mama@odoo.com>
@robodoo robodoo closed this Feb 6, 2025
@fw-bot fw-bot deleted the saas-18.1-17.0-stock-fix_result_package_duplicate-mama-414397-fw branch February 20, 2025 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forwardport This PR was created by @fw-bot OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants