fix: decimal values causing incorrect batch picking by rohitwaghchaure [frappe] PR#46733
From: https://github.com/frappe/erpnext/pull/46733
Date: 2025-03-26 15:20:12+05:30
- fix: decimal values causing incorrect batch picking
Diagnostics
pre-commit failed for source commit: 7bfe703b04646f52132561ba1ba336af688fe524
erpnext/controllers/subcontracting_controller.py:24:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/controllers/subcontracting_controller.py:56:9: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/controllers/subcontracting_controller.py:1313:6: B007 Loop control variable `key` not used within loop body
Found 3 errors.
No fixes available (3 hidden fixes can be enabled with the `--unsafe-fixes` option).
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-46733
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-46733
# Make changes then rebase
git rebase -i develop
# Fix or ignore conflicts
git checkout --theirs .
git rebase --continue
# Force-push changes
git push --force-with-lease