fix: only show pay button for specific doctype in portal by ljain112 [frappe] PR#43752
From: https://github.com/frappe/erpnext/pull/43752
Date: 2024-10-21 13:53:40+05:30
- fix: only show pay button for specific doctype in portal
Diagnostics
pre-commit failed for source commit: fc2cac62c1ceb6522d5ff147694e516805f1ec93
[WARNING] top-level `default_stages` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this.
erpnext/accounts/doctype/payment_request/payment_request.py:726:29: F821 Undefined name `_get_shopping_cart_settings`
Found 1 error.
1 file reformatted, 1 file left unchanged
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-43752
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-43752
# 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