fix: language in sales transactions by barredterra [frappe] PR#41112
From: https://github.com/frappe/erpnext/pull/41112
Date: 2024-06-13 00:09:49+05:30
- Merge pull request #41112 from barredterra/print-language
- fix: language in sales transactions
Diagnostics
pre-commit failed for source commit: eb119dcb4da1b280ae946463e58da4c69e793df1
Run ruff linter..........................................................Failed
- hook id: ruff
- exit code: 1
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:1045:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/sales_invoice/sales_invoice.py:1464:23: UP008 Use `super()` instead of `super(__class__, self)`
Found 7 errors.
No fixes available (7 hidden fixes can be enabled with the `--unsafe-fixes` option).
Suspicious merge commit detected: 8b3c0f6d6914781701d6b9ef6421a0d05e4e6e4e
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-41112
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-41112
# 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