fix(gp): SLEs not fetched for correct warehouse by rtdany10 [frappe] PR#40786
From: https://github.com/frappe/erpnext/pull/40786
Date: 2024-03-30 16:32:43+05:30
- fix(gp): SLEs not fetched for correct warehouse
Diagnostics
pre-commit failed for source commit: f958e8be0698723630db0c742cb6fe9428c2c8f4
flake8...................................................................Failed
- hook id: flake8
- exit code: 1
erpnext/accounts/report/gross_profit/gross_profit.py:665:55: F821 undefined name '_warehouse'
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-40786
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-40786
# 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