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

Discount not applied on Kit with the module MRP when the in-transfer is confirmated #2335

Open
JavierYataco opened this issue Jul 3, 2024 · 0 comments
Labels

Comments

@JavierYataco
Copy link

purchase_discount

Describe the bug

When we create a PO with discount and the product in the line of the PO has a Bill of Material(in the manufacturing module), the discount is applied on the PO, but when I want to confirm the transfer in the inventory module, this confirmation has a bug because the valorization its applied with the full price but not with the discount.

To Reproduce

Affected versions: Version 16

Steps to reproduce the behavior:

  1. Create a Bill of Material of any product, this BoM has a Cost Share(used to calculate the material's prices in function of the kit when we use AVCO and the automatic valorization in product category configuration)
  2. Create a PO with the kit product and confirm.
  3. Go to Receive Products and validate this transfer.
  4. When validate the transfer we notice that valorization has taked the full price of the kit product but not the discount price.

Expected behavior
I think that the expected behavior has to be that the valorization should take the discount price, for example if the product was purchased in 100$ and with discount of 50% its final cost is 50$, then the cost of the components of the kits has to be in function of the 50$.

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