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

[BUG] stock_account_product_run_fifo_hook: raise error when validate the delivery order #1761

Open
AungKoKoLin1997 opened this issue Nov 12, 2024 · 2 comments
Labels

Comments

@AungKoKoLin1997
Copy link
Contributor

AungKoKoLin1997 commented Nov 12, 2024

I am creating a migration PR at #1676. The CI tests failed due to an issue with stock_account_product_run_fifo_hook, and I suspect this module may not be functioning correctly. I tried testing it in the Runboat environment on the 16.0 branch, and I encountered the issue.

Steps to reproduce:

  • Create a product with lot tracking, set its category costing method to FIFO, and enable automated inventory valuation.
  • Create a purchase order for this product with a quantity of 5 and receive it with a new lot.
  • Create a sales order for this product with a quantity of 5 and deliver it using the created lot.

After these steps, I encountered the issue shown in the attached image.
I believe the problem may be related to the following proposed commit: c913644

Screenshot 2024-11-12 at 11 33 35

@qrtl

@AungKoKoLin1997
Copy link
Contributor Author

@AaronHForgeFlow Can you please take a look this issue?

@AaronHForgeFlow
Copy link
Contributor

@AungKoKoLin1997 Too bad. I will check. It is not easy to solve, and it seems the core function it refers has been changed also.

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

2 participants