fix: AttributeError in company transaction deletion by ruthra-kumar [frappe] PR#39529
From: https://github.com/frappe/erpnext/pull/39529
Date: 2024-01-24 11:42:37+05:30
- fix: AttributeError in company transaction deletion
Diagnostics
Conflicts detected for source commit: b127aa308eeda0246cdf885c36f0b36f270e2ae1
- DU erpnext/setup/doctype/transaction_deletion_record/test_transaction_deletion_record.py
pre-commit failed for source commit: b127aa308eeda0246cdf885c36f0b36f270e2ae1
flake8...................................................................Failed
- hook id: flake8
- exit code: 1
erpnext/setup/doctype/company/company.py:824:5: F821 undefined name 'is_job_enqueued'
erpnext/setup/doctype/company/company.py:825:14: F821 undefined name 'get_job'
erpnext/setup/doctype/company/company.py:828:17: F821 undefined name 'get_link_to_form'
erpnext/setup/doctype/transaction_deletion_record/test_transaction_deletion_record.py:4:1: F401 'unittest' imported but unused
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-39529
# Make changes then rebase
git rebase -i upstream/develop --reapply-cherry-picks
# Fix or ignore conflicts
git checkout --theirs .
git rebase --continue
# Force-push changes
git push --force-with-lease