erpnext icon indicating copy to clipboard operation
erpnext copied to clipboard

fix: Production Plan, pending qty is wrong if alternative UoM is used

Open TurkerTunali opened this issue 1 year ago • 3 comments

Production plan incorrectly calculates pending qty if uom is not main uom in sales order.

Sales Order: image

Before (Production Plan, Assembly Items ): image

After (Production Plan, Assembly Items ): image

PS1: It's now calculates the pending qty with respect to conversion factor in sales order. PS2: I only corrected Sales Order part. Material Request handle the calculation in the database and it seems correct.

Please provide enough information so that others can review your pull request:

Explain the details for making this change. What existing problem does the pull request solve?

Screenshots/GIFs

TurkerTunali avatar Aug 13 '24 11:08 TurkerTunali

Super news. Thanks.

selensoftr avatar Aug 13 '24 11:08 selensoftr

@TurkerTunali Please fix Linters issue

rohitwaghchaure avatar Aug 14 '24 06:08 rohitwaghchaure

This pull request has been automatically marked as inactive because it has not had recent activity. It will be closed within 3 days if no further activity occurs, but it only takes a comment to keep a contribution alive :) Also, even if it is closed, you can always reopen the PR when you're ready. Thank you for contributing.

stale[bot] avatar Sep 08 '24 01:09 stale[bot]

This pull request has been automatically marked as inactive because it has not had recent activity. It will be closed within 3 days if no further activity occurs, but it only takes a comment to keep a contribution alive :) Also, even if it is closed, you can always reopen the PR when you're ready. Thank you for contributing.

stale[bot] avatar Nov 27 '24 21:11 stale[bot]