[go: up one dir, main page]

fix: Show the rows in AR/AP report where outstanding equals to 0.01 by nabinhait [frappe] PR#42374

From: https://github.com/frappe/erpnext/pull/42374
Date: 2024-07-18 12:58:09+05:30

  • test: AR/AP report on miniscule outstanding
  • fix: Show the rows in AR/AP report where outstanding equals to 0.01



Diagnostics

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

erpnext/accounts/report/accounts_receivable/test_accounts_receivable.py:127:3: F841 Local variable `name` is assigned to but never used
erpnext/accounts/report/accounts_receivable/test_accounts_receivable.py:223:13: RUF015 Prefer `next(...)` over single element slice
erpnext/accounts/report/accounts_receivable/test_accounts_receivable.py:236:18: RUF015 Prefer `next(...)` over single element slice
erpnext/accounts/report/accounts_receivable/test_accounts_receivable.py:345:9: RUF015 Prefer `next(...)` over single element slice
erpnext/accounts/report/accounts_receivable/test_accounts_receivable.py:580:3: F841 Local variable `si` is assigned to but never used
erpnext/accounts/report/accounts_receivable/test_accounts_receivable.py:597:3: F841 Local variable `si` is assigned to but never used
erpnext/accounts/report/accounts_receivable/test_accounts_receivable.py:619:3: F841 Local variable `si` is assigned to but never used
erpnext/accounts/report/accounts_receivable/test_accounts_receivable.py:728:3: F841 Local variable `name` is assigned to but never used
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



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

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

# 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