fix: SRE status and delivered qty by rohitwaghchaure [frappe] PR#49310
From: https://github.com/frappe/erpnext/pull/49310
Date: 2025-08-25 21:00:08+05:30
- fix: sre status and delivered qty
Diagnostics
pre-commit failed for source commit: 4cac80a968242f2a8b2b3bfb10ff39adeacd0857
[WARNING] repo `https://github.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this. if it does not -- consider reporting an issue to that repo.
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:252:52: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:495:34: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:585:10: UP030 Use implicit references for positional format fields
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:653:44: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:744:76: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:767:89: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:818:57: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:890:85: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:916:83: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:1019:79: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:1493:17: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:1699:16: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:1700:14: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:1701:21: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:1703:19: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:1704:26: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:1705:12: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:1751:21: RUF013 PEP 484 prohibits implicit `Optional`
erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.py:1752:10: RUF013 PEP 484 prohibits implicit `Optional`
Found 19 errors.
No fixes available (19 hidden fixes can be enabled with the `--unsafe-fixes` option).
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-49310
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-49310
# 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