[go: up one dir, main page]

fix: incorrect against_account upon reposting by ruthra-kumar [frappe] PR#41981

From: https://github.com/frappe/erpnext/pull/41981
Date: 2024-06-21 17:21:32+05:30

  • fix: incorrect against_account upon reposting



Diagnostics

pre-commit failed for source commit: 20c4098399d5cb276d373074036a738e6cee67b0
Run ruff linter..........................................................Failed
- hook id: ruff
- exit code: 1

erpnext/accounts/doctype/repost_accounting_ledger/repost_accounting_ledger.py:12:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/sales_invoice/sales_invoice.py:242:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/sales_invoice/sales_invoice.py:279:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/sales_invoice/sales_invoice.py:562:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/sales_invoice/sales_invoice.py:709:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/sales_invoice/sales_invoice.py:935:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/sales_invoice/sales_invoice.py:1049:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/sales_invoice/sales_invoice.py:1468:23: UP008 Use `super()` instead of `super(__class__, self)`
Found 8 errors.
No fixes available (8 hidden fixes can be enabled with the `--unsafe-fixes` option).

Run ruff formatter.......................................................Failed
- hook id: ruff-format
- files were modified by this hook

1 file reformatted, 2 files left unchanged



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

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

# 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