[go: up one dir, main page]

Skip to content

fix: validate if pos is opened before pos invoice creation by diptanilsaha [frappe] PR#46907

From: https://github.com/frappe/erpnext/pull/46907
Date: 2025-04-07 20:33:27+05:30

  • fix: validate if pos is opened before pos invoice creation (#46907)



Diagnostics

pre-commit failed for source commit: 3de1b22480170bcb483dd18206e7f1688363de20
erpnext/accounts/doctype/pos_invoice/pos_invoice.py:190:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/pos_invoice/pos_invoice.py:364:27: F841 Local variable `qty` is assigned to but never used
Found 2 errors.
No fixes available (2 hidden fixes can be enabled with the `--unsafe-fixes` option).



Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-46907

# Alternatively, re-take the changes
git switch develop
ft take ft-pr-46907

# 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

Merge request reports

Loading