[go: up one dir, main page]

fix: minor Dr and Cr between Purchase Receipt and Purchase Invoice by ruthra-kumar [frappe] PR#41523

From: https://github.com/frappe/erpnext/pull/41523
Date: 2024-05-17 17:06:39+05:30

  • fix: minor Dr and Cr between Purchase Receipt and Purchase Invoice



Diagnostics

pre-commit failed for source commit: 1c0a24424a1f585c4b3a736fe92b419567b9da1e
Run ruff linter and apply fixes..........................................Failed
- hook id: ruff
- exit code: 1

erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py:233:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py:250:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py:270:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py:364:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py:405:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py:453:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py:719:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py:952:6: F841 Local variable `asset_category` is assigned to but never used
erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py:1553:8: UP008 Use `super()` instead of `super(__class__, self)`
Found 9 errors.
No fixes available (9 hidden fixes can be enabled with the `--unsafe-fixes` option).



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

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

# 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