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: use flt instead of cint in get_batch_no #32788

Merged
merged 3 commits into from
Nov 2, 2022

Conversation

s-aga-r
Copy link
Contributor

@s-aga-r s-aga-r commented Nov 1, 2022

cint(0.4) = 0
flt(0.4) = 0.4

Close: #30339

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Nov 1, 2022
@codecov
Copy link

codecov bot commented Nov 2, 2022

Codecov Report

Merging #32788 (be4593c) into develop (a6a2806) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #32788   +/-   ##
========================================
  Coverage    63.81%   63.81%           
========================================
  Files          817      817           
  Lines        58515    58515           
========================================
  Hits         37342    37342           
  Misses       21173    21173           
Impacted Files Coverage Δ
erpnext/stock/doctype/batch/batch.py 83.95% <100.00%> (ø)

@s-aga-r s-aga-r marked this pull request as ready for review November 2, 2022 10:24
@s-aga-r s-aga-r merged commit 25a2c8a into frappe:develop Nov 2, 2022
@s-aga-r s-aga-r added bug and removed needs-tests This PR needs automated unit-tests. backport version-13-hotfix backport version-14-hotfix backport to version 14 labels Nov 2, 2022
s-aga-r added a commit that referenced this pull request Nov 2, 2022
…-32788

fix: use `flt` instead of `cint` in `get_batch_no` (backport #32788)
s-aga-r added a commit that referenced this pull request Nov 2, 2022
…-32788

fix: use `flt` instead of `cint` in `get_batch_no` (backport #32788)
@s-aga-r s-aga-r deleted the fix/github-issue/30339 branch April 15, 2023 10:01
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

System auto-suggest a batch with 0 quantity
1 participant