-
Notifications
You must be signed in to change notification settings - Fork 10.1k
fix: exclude cancelled repost accounting ledgers in the removal of references #51407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
# [15.93.0](frappe/erpnext@v15.92.5...v15.93.0) (2025-12-23) ### Bug Fixes * added limit ([73643de](frappe@73643de)) * **buying:** add disabled filter for supplier ([0b6b73b](frappe@0b6b73b)) * cascade projected quantity across multiple items in material requests ([dffd5d9](frappe@dffd5d9)) * de-duplicate rows on disassembly with multiple manufacture entries ([68eeba4](frappe@68eeba4)) * do not hide primary-action for composite asset ([cbcfe6e](frappe@cbcfe6e)) * don't fetch qty as it's unused ([dd19b95](frappe@dd19b95)) * incorrect current qty in stock reco (backport [frappe#51152](frappe#51152)) ([frappe#51158](frappe#51158)) ([89d6a8f](frappe@89d6a8f)) * limit condition to fetch serial nos ([425dcee](frappe@425dcee)) * **manufacturing:** validate delivered qty in production plan ([c01f20d](frappe@c01f20d)) * **payment entry:** set row id for 'On Previous Row Amount' or 'On Previous Row Total' charge type on tax table ([d7c50cf](frappe@d7c50cf)) * **pegged currencies:** skip adding currencies_to_add items on pegged_currency_item if source_currency or pegged_against currency doc does not exist (backport [frappe#51188](frappe#51188)) ([frappe#51203](frappe#51203)) ([8ef09c0](frappe@8ef09c0)) * same serial number was picked in multiple sales invoices ([dc5faa8](frappe@dc5faa8)) * show company currency in asset depreciation schedule ([5b1795b](frappe@5b1795b)) * **stock-report:** ignore reserved stock in batch qty calculation ([26a36d8](frappe@26a36d8)) * **stock:** handle serial and batch nos for disassemble stock entry ([59aef4f](frappe@59aef4f)) * **stock:** ignore reserved stock while calculating batch qty ([ac2402d](frappe@ac2402d)) * support disassemble of RMs other than in BOM ([72d77a5](frappe@72d77a5)) * update batch_qty using get_batch_qty ([ca835c8](frappe@ca835c8)) * use get_batch_qty to fetch batch data ([10b0da8](frappe@10b0da8)) * use original logic for v15 - inverted wrt v16 ([0452b22](frappe@0452b22)) * use serial and batch bundle to fetch incoming rate (backport [frappe#51119](frappe#51119)) ([frappe#51146](frappe#51146)) ([2d42904](frappe@2d42904)) * use stock adjustment if the account has not set ([8a01a70](frappe@8a01a70)) ### Features * add redirect button on report ([fe80d1d](frappe@fe80d1d)) * **report:** add batch qty update functionality in report ([57c356a](frappe@57c356a)) ### Performance Improvements * optimize company monthly sales query using date range ([frappe#48942](frappe#48942)) ([0488658](frappe@0488658))
chore: release v15
## [15.93.1](frappe/erpnext@v15.93.0...v15.93.1) (2025-12-30) ### Bug Fixes * **accounts-payable-summary:** add Show GL Balance check similar to A… (backport [frappe#50802](frappe#50802)) ([frappe#50805](frappe#50805)) ([a04f560](frappe@a04f560)) * **bank reconciliation tool:** carry bank account to payment entry ([cd930c0](frappe@cd930c0)) * **bank reconciliation tool:** fix incorrect bank account field mapping ([9ef0e8b](frappe@9ef0e8b)) * expense_account query override in Purchase Receipt ([6f3904a](frappe@6f3904a)) * **payment entry:** clear party_name for internal transfer ([431e687](frappe@431e687)) * prevent reuse of serial no in manufacture and repack entry ([24f6f1e](frappe@24f6f1e)) * **repost accounting ledger:** prevent preview generation when no vouchers are selected ([93c1a3f](frappe@93c1a3f)) * start reposting accounting ledger after commit ([e6acdf3](frappe@e6acdf3)) * **stock:** remove total bar in chart view ([d9888d5](frappe@d9888d5)) * updating base amounts through python for timesheet for v15 ([9d2e0f6](frappe@9d2e0f6)) * validate depreciation row values ([2f10b9c](frappe@2f10b9c)) * validate party's existing transaction currency before merging ([1c40a61](frappe@1c40a61)) ### Performance Improvements * composite index for serial no ([507a561](frappe@507a561)) * index for warehouse field ([4753594](frappe@4753594))
…ferences Exclude cancelled repost accounting ledgers in _remove_references_in_repost_doctypes, due to this cannot delete the invoices. repost_doc.save() - saving cancelled document!!
WalkthroughThis pull request includes a version bump and a refinement to document reference handling. The version number in the main module is incremented from 15.92.5 to 15.93.1. Additionally, a filtering criterion is added to the reference removal logic in the accounts controller to exclude cancelled documents (docstatus 2) from processing, narrowing the scope of documents considered in the reference handling workflow. Pre-merge checks❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-12-16T05:33:58.723ZApplied to files:
🧬 Code graph analysis (1)erpnext/controllers/accounts_controller.py (4)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Cancelled repost documents are identified only to throw validation error. Not to modify them. |
Exclude cancelled repost accounting ledgers in _remove_references_in_repost_doctypes, due to this cannot delete the invoices.
repost_doc.save() - saving cancelled document!!
Summary by CodeRabbit
Chores
Bug Fixes
✏️ Tip: You can customize this high-level summary in your review settings.