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

fix: Valuation Rate column UX in stock ledger report #33088

Merged

Conversation

rohitwaghchaure
Copy link
Collaborator

@rohitwaghchaure rohitwaghchaure commented Nov 23, 2022

The "Valuation Rate" in stock ledger report is the average cost of available balance and not a cost at which the Stock has either In-warded or Out-warded. Most of the time people get confused with it and their expectation is that the valuation rate should show the Rate at which the materials were either In-warded or Out-warded.

Solution
In this PR I have updated the column name of Valuation Rate to the Avg Rate (Balance Stock) and added new column Valuation Rate which will show the rate at which the materials were either In-warded or Out-warded.
Screenshot 2022-11-23 at 4 43 54 PM

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Nov 23, 2022
@rohitwaghchaure rohitwaghchaure added backport version-14-hotfix backport to version 14 and removed needs-tests This PR needs automated unit-tests. labels Nov 23, 2022
@codecov
Copy link

codecov bot commented Nov 23, 2022

Codecov Report

Merging #33088 (be19e4f) into develop (a3c81da) will increase coverage by 0.00%.
The diff coverage is 50.00%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #33088   +/-   ##
========================================
  Coverage    63.85%   63.85%           
========================================
  Files          820      820           
  Lines        58781    58785    +4     
========================================
+ Hits         37537    37540    +3     
- Misses       21244    21245    +1     
Impacted Files Coverage Δ
erpnext/stock/report/stock_ledger/stock_ledger.py 75.15% <50.00%> (-0.63%) ⬇️
...xt/accounts/doctype/sales_invoice/sales_invoice.py 81.84% <0.00%> (+0.08%) ⬆️

@rohitwaghchaure rohitwaghchaure merged commit bbfa644 into frappe:develop Nov 23, 2022
deepeshgarg007 added a commit that referenced this pull request Nov 23, 2022
…-33088

fix: Valuation Rate column UX in stock ledger report (backport #33088)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport version-14-hotfix backport to version 14
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant