Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16] purchase delivery split date #2009

Open
CharlesToutain opened this issue Sep 20, 2023 · 0 comments
Open

[16] purchase delivery split date #2009

CharlesToutain opened this issue Sep 20, 2023 · 0 comments
Labels

Comments

@CharlesToutain
Copy link

CharlesToutain commented Sep 20, 2023

Module

Purchase Delivery Split Date

Describe the bug

When I have my PO generated with several receipts for different dates and I reduce quantities from purchase order line, odoo creates negative stock moves and therefore generates OUT. It works when the module is not active

I think the problem comes from a change in V16 with negative movements. As standard we have a single picking for a reception generally (except multi route), we can have several picking stocks. When a negative movement is sent Odoo tries to merge this movement with a similar movement in the same reception (this is why on a line it is able to reduce a qty as standard). Now, we probably have several pickings, so he doesn't know how to merge the move and he ends up with a negative move which generates an OUT (_action_confirm method)

To Reproduce

Affected versions: 16.0

Steps to reproduce the behavior:
Create a PO and confirm it
Split rows by modifying dates
Split again and decrease quantities

Expected behavior
It should not create an OUT, but it is perhaps not only linked to the module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant