fix: Auto Create Serial and Batch Bundle For Outward by rohitwaghchaure [frappe] PR#42778
From: https://github.com/frappe/erpnext/pull/42778
Date: 2024-08-16 15:10:22+05:30
- fix: Auto Create Serial and Batch Bundle For Outward (#42778)
Diagnostics
pre-commit failed for source commit: 48c3b0d094cbc4109fe56bed5b4a333ac804a37d
Run ruff linter..........................................................Failed
- hook id: ruff
- exit code: 1
erpnext/stock/doctype/serial_and_batch_bundle/test_serial_and_batch_bundle.py:761:9: RUF015 Prefer `next(iter(batches.keys()))` over single element slice
Found 1 error.
No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-42778
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-42778
# 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