fix: validate linked sales person by Sudharsanan11 [frappe] PR#45167
From: https://github.com/frappe/erpnext/pull/45167
Date: 2025-01-08 13:51:33+05:30
- fix: validate linked sales person
Diagnostics
pre-commit failed for source commit: e614f0779553005d4b7947b8a40aaffad0159816
[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/setup/doctype/sales_person/sales_person.py:64:8: UP008 Use `super()` instead of `super(__class__, self)`
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-45167
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-45167
# 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