Frappe PR Bot
d74a649016
chore(release): Bumped to Version 16.4.1
...
## [16.4.1](https://github.com/frappe/erpnext/compare/v16.4.0...v16.4.1 ) (2026-02-05)
### Bug Fixes
* stock balance report issue ([e009319 ](e0093199b1 ))
v16.4.1
2026-02-05 10:52:48 +00:00
rohitwaghchaure
bc9928b32b
Merge pull request #52464 from frappe/mergify/bp/version-16/pr-52461
...
fix: stock balance report issue (backport #52459 ) (backport #52461 )
2026-02-05 16:20:53 +05:30
rohitwaghchaure
4305415ed9
chore: fix issue
...
(cherry picked from commit 1d24abf5dd )
2026-02-05 10:20:46 +00:00
Rohit Waghchaure
e0093199b1
fix: stock balance report issue
...
(cherry picked from commit 7e584dd84a )
(cherry picked from commit 62616ad9e1 )
2026-02-05 10:20:45 +00:00
Frappe PR Bot
0312d58dca
chore(release): Bumped to Version 16.4.0
...
# [16.4.0](https://github.com/frappe/erpnext/compare/v16.3.0...v16.4.0 ) (2026-02-04)
### Bug Fixes
* add precision to rejected batch no qty calculation ([b365444 ](b365444027 ))
* allow sales invoice to be renamed ([f7b915d ](f7b915dfe6 ))
* **barcode:** failing request when item has both batch and serial ([e4cdd97 ](e4cdd971c8 ))
* batch selector not working if Use Legacy (Client side) Reactivity disabled ([2a3642b ](2a3642b55a ))
* better fix for aac39b2671 ([b8ab55f ](b8ab55fee8 ))
* correct exchange gain loss in ppr ([e09406d ](e09406d085 ))
* correct Sales Tax Template sidebar link to proper DocType ([4c14e74 ](4c14e74a12 ))
* correct spelling of Payment Reconciliation in Accounting ([c80b554 ](c80b554cd7 ))
* **credit-note:** set incoming rate as zero for expired batch ([0f9bf08 ](0f9bf08685 ))
* **demo:** removed toolbar eventlistener (backport [#52171 ](https://github.com/frappe/erpnext/issues/52171 )) ([#52172 ](https://github.com/frappe/erpnext/issues/52172 )) ([6608601 ](66086010fc ))
* duplicate account number (Indonesia COA) (backport [#52080 ](https://github.com/frappe/erpnext/issues/52080 )) ([#52317 ](https://github.com/frappe/erpnext/issues/52317 )) ([81e6575 ](81e65757ee ))
* failing test cases ([136b2cf ](136b2cfba5 ))
* group item wise tax details by tax row ([45e4c04 ](45e4c04830 ))
* hide close button on WO if WO is completed ([0d1c30f ](0d1c30f3f0 ))
* hide item_wise_tax_details table from print ([c619be9 ](c619be989b ))
* include credit notes in project gross margin calculation ([e755a4a](e755a4ad98 ))
* item code not showing in report view ([af167f9 ](af167f91fe ))
* journal auditing voucher print date to use posting_date ([7e5eab2 ](7e5eab261c ))
* **journal-entry:** normalize exchange rate to float ([3f0032d ](3f0032d793 ))
* js error if user does not have write permission for date field ([3944dfd ](3944dfde31 ))
* lead time calculation for FG item ([5595602 ](5595602f24 ))
* make item name editable in RFQ ([dbe5846 ](dbe5846908 ))
* merge taxes in purchase receipt when get items from multiple purchase invoices ([#51422 ](https://github.com/frappe/erpnext/issues/51422 )) ([d80c8d1 ](d80c8d14b0 ))
* missing depr_series causing error on jv creation (backport [#52085 ](https://github.com/frappe/erpnext/issues/52085 )) ([#52206 ](https://github.com/frappe/erpnext/issues/52206 )) ([78c4f01 ](78c4f01733 ))
* negative stock for purchase return ([220a528 ](220a528d7f ))
* populate contact fields when creating quotation from customer ([55129e6 ](55129e697d ))
* production plan not considering planning datetime when creating WO ([7e7b16b ](7e7b16b23e ))
* **profit and loss statement:** exclude non period columns ([28e8c40 ](28e8c40bfc ))
* reset incoming rate in selling controller if there are changes in item ([024e7b0 ](024e7b01ac ))
* **RFQ:** render email templates for preview and sending ([687a80d ](687a80d74c ))
* **stock:** add stock recon opening stock condition ([f9a8fc1 ](f9a8fc1f2d ))
* **stock:** fetch batch wise valuation rate in get_items ([b132e3f ](b132e3f22a ))
* **stock:** ignore packing slip while cancelling the sales invoice ([f425f89 ](f425f89a26 ))
* **stock:** include subcontracting order qty while calculating the bin qty ([de244e0 ](de244e0af7 ))
* **stock:** remove is_return condition on pos batch qty calculation ([9dcaf38 ](9dcaf38142 ))
* **stock:** set incoming_rate with lcv rate for internal purchase ([f462639 ](f462639aa0 ))
* **subcontracting:** include item bom in supplied items grouping key ([95c4b8d ](95c4b8de06 ))
* test cases ([e74389f ](e74389f01c ))
* validate over ordering of quotation ([e7ace8e ](e7ace8e620 ))
* validation when more than one FG items in repack stock entry ([a2d302b ](a2d302b3fa ))
* zero valuation rate if returning from different warehouse ([8ce51b2 ](8ce51b2f80 ))
### Features
* clear demo data from desktop screen (backport [#52128 ](https://github.com/frappe/erpnext/issues/52128 )) ([#52147 ](https://github.com/frappe/erpnext/issues/52147 )) ([05e30dc ](05e30dc011 ))
* **credit-note:** add checkbox to set valuation rate as zero for expired batch ([b84fd46 ](b84fd46841 ))
* **delivery-note:** add status indicator when document is partially billed ([6048add ](6048add4c0 ))
* document naming rule will now use posting date of the document ([b03494b ](b03494bb67 ))
* **Transaction Deletion Record:** Editable "DocTypes To Delete" List with CSV import/export ([#50592 ](https://github.com/frappe/erpnext/issues/50592 )) ([4963261 ](4963261dc8 ))
v16.4.0
2026-02-04 04:29:22 +00:00
ruthra kumar
e8e9fb25fe
Merge pull request #52347 from frappe/version-16-hotfix
...
chore: release v16
2026-02-04 09:57:57 +05:30
rohitwaghchaure
4a7e2742ec
Merge pull request #52388 from frappe/mergify/bp/version-16-hotfix/pr-51422
...
fix: merge taxes in purchase receipt when get items from multiple purchase invoices (backport #51422 )
2026-02-03 22:53:40 +05:30
rohitwaghchaure
55d5d6535b
Merge pull request #52391 from frappe/mergify/bp/version-16-hotfix/pr-51898
...
fix: group item wise tax details by tax row (backport #51898 )
2026-02-03 22:52:37 +05:30
rohitwaghchaure
b8ac04fb54
Merge branch 'version-16' into version-16-hotfix
2026-02-03 22:50:07 +05:30
ravibharathi656
45e4c04830
fix: group item wise tax details by tax row
...
(cherry picked from commit 57bd1facf5 )
2026-02-03 15:38:48 +00:00
NaviN
d80c8d14b0
fix: merge taxes in purchase receipt when get items from multiple purchase invoices ( #51422 )
...
* fix: merge taxes in purchase receipt when get items from multiple purchase invoices
* fix: make merge tax configurable
* chore: follow standard merge taxes method
* chore: follow standard merge taxes method
(cherry picked from commit 6fde0a6261 )
2026-02-03 15:34:03 +00:00
mergify[bot]
66e47f5651
Merge pull request #52380 from frappe/mergify/bp/version-16-hotfix/pr-52278
2026-02-03 15:32:58 +00:00
ruthra kumar
a3e8af19a6
Merge pull request #52379 from frappe/mergify/bp/version-16-hotfix/pr-51651
...
fix: correct exchange gain loss in ppr (backport #51651 )
2026-02-03 20:59:41 +05:30
Mihir Kandoi
9b498a8da8
Merge pull request #52385 from frappe/mergify/bp/version-16-hotfix/pr-52259
...
fix(stock): include subcontracting order qty while calculating the bin qty (backport #52259 )
2026-02-03 20:48:37 +05:30
Mihir Kandoi
25389be340
Merge pull request #52382 from frappe/mergify/bp/version-16-hotfix/pr-52374
...
fix(stock): fetch batch wise valuation rate in get_items (backport #52374 )
2026-02-03 20:34:37 +05:30
Sudharsanan11
de244e0af7
fix(stock): include subcontracting order qty while calculating the bin qty
...
(cherry picked from commit de8f8ef9f4 )
2026-02-03 14:55:27 +00:00
kavin-114
b132e3f22a
fix(stock): fetch batch wise valuation rate in get_items
...
(cherry picked from commit c5df570262 )
2026-02-03 14:47:52 +00:00
ruthra kumar
670fd79e38
Merge pull request #52377 from frappe/mergify/bp/version-16-hotfix/pr-52314
...
fix(journal-entry): normalize exchange rate to float (backport #52314 )
2026-02-03 20:10:03 +05:30
ravibharathi656
e09406d085
fix: correct exchange gain loss in ppr
...
(cherry picked from commit 02e96039ac )
2026-02-03 14:35:58 +00:00
rohitwaghchaure
3bc348d6f0
Merge pull request #52376 from frappe/mergify/bp/version-16-hotfix/pr-52375
...
fix: zero valuation rate if returning from different warehouse (backport #52369 ) (backport #52375 )
2026-02-03 20:04:39 +05:30
Dharanidharan2813
3f0032d793
fix(journal-entry): normalize exchange rate to float
...
(cherry picked from commit be0040ddc7 )
2026-02-03 14:17:24 +00:00
ruthra kumar
163b848455
Merge pull request #52368 from frappe/mergify/bp/version-16-hotfix/pr-52320
...
fix: correct Sales Tax Template sidebar link to proper DocType (backport #52320 )
2026-02-03 19:44:26 +05:30
Rohit Waghchaure
8ce51b2f80
fix: zero valuation rate if returning from different warehouse
...
(cherry picked from commit 28929df0e8 )
(cherry picked from commit eb2119e292 )
2026-02-03 13:59:59 +00:00
ruthra kumar
422b37332e
Merge pull request #52367 from frappe/mergify/bp/version-16-hotfix/pr-52279
...
fix(profit and loss statement): exclude non period columns (backport #52279 )
2026-02-03 17:47:37 +05:30
Luis Mendoza
4c14e74a12
fix: correct Sales Tax Template sidebar link to proper DocType
...
(cherry picked from commit 06a7c85c93 )
2026-02-03 12:05:37 +00:00
ravibharathi656
28e8c40bfc
fix(profit and loss statement): exclude non period columns
...
(cherry picked from commit 6180e5eb53 )
2026-02-03 12:00:00 +00:00
ruthra kumar
660fc8f76a
Merge pull request #52365 from frappe/mergify/bp/version-16-hotfix/pr-52160
...
fix(stock): remove is_return condition on pos batch qty calculation (backport #52160 )
2026-02-03 17:19:50 +05:30
ruthra kumar
22456a5857
Merge pull request #52362 from frappe/mergify/bp/version-16-hotfix/pr-51997
...
Add partially billed status indicator (backport #51997 )
2026-02-03 17:19:31 +05:30
kavin-114
76e0eb00a5
test: add unit test case for pos reserved with return qty
...
(cherry picked from commit 12ec997027 )
2026-02-03 11:11:50 +00:00
kavin-114
9dcaf38142
fix(stock): remove is_return condition on pos batch qty calculation
...
(cherry picked from commit 2c19c1fd06 )
2026-02-03 11:11:50 +00:00
Dharanidharan2813
6048add4c0
feat(delivery-note): add status indicator when document is partially billed
...
(cherry picked from commit 7767000ccf )
2026-02-03 10:59:20 +00:00
rohitwaghchaure
0552b48328
Merge pull request #52356 from frappe/mergify/bp/version-16-hotfix/pr-52338
...
fix: negative stock for purchase return (backport #52338 )
2026-02-03 16:16:28 +05:30
ruthra kumar
193b29d5fc
Merge pull request #52350 from frappe/mergify/bp/version-16-hotfix/pr-52339
...
chore: rename icons (backport #52339 )
2026-02-03 16:13:06 +05:30
Rohit Waghchaure
220a528d7f
fix: negative stock for purchase return
...
(cherry picked from commit 77893933a2 )
2026-02-03 10:25:10 +00:00
ruthra kumar
e087a8b179
Merge pull request #52353 from frappe/mergify/bp/version-16-hotfix/pr-52345
...
ci: skip svg (backport #52345 )
2026-02-03 15:41:53 +05:30
ruthra kumar
d7067f6b7a
ci: skip svg
...
(cherry picked from commit e565d2283e )
2026-02-03 10:11:12 +00:00
sokumon
e264d8e2d6
chore: rename icons
...
(cherry picked from commit 2d312bcfe8 )
2026-02-03 10:02:54 +00:00
ruthra kumar
8b2559ab0c
Merge pull request #52337 from frappe/mergify/bp/version-16-hotfix/pr-52280
...
fix(stock): ignore packing slip while cancelling the sales invoice (backport #52280 )
2026-02-03 13:58:59 +05:30
Sudharsanan11
f425f89a26
fix(stock): ignore packing slip while cancelling the sales invoice
...
(cherry picked from commit c58887b44a )
2026-02-03 08:25:04 +00:00
ruthra kumar
e3bf84c572
Merge pull request #52321 from frappe/mergify/bp/version-16-hotfix/pr-50592
...
feat(Transaction Deletion Record): Editable "DocTypes To Delete" List with CSV import/export (backport #50592 )
2026-02-03 13:50:00 +05:30
ruthra kumar
e2b88218ec
Merge pull request #52330 from frappe/mergify/bp/version-16-hotfix/pr-51655
...
fix: include credit notes in project gross margin calculation (backport #51655 )
2026-02-03 12:19:28 +05:30
ravibharathi656
e755a4ad98
fix: include credit notes in project gross margin calculation
...
(cherry picked from commit a378fee8e0 )
2026-02-03 06:07:49 +00:00
ruthra kumar
d2ea428030
chore: resolve conflict
2026-02-03 10:38:39 +05:30
Mihir Kandoi
496956f08f
Merge pull request #52324 from frappe/mergify/bp/version-16-hotfix/pr-52184
...
fix(subcontracting): include item bom in supplied items grouping key (backport #52184 )
2026-02-03 09:24:00 +05:30
Sudharsanan11
a3190dd556
test(subcontracting): add test for consumed_qty calculation with similar finished goods
...
(cherry picked from commit 4d9412181c )
2026-02-03 03:40:18 +00:00
Sudharsanan11
95c4b8de06
fix(subcontracting): include item bom in supplied items grouping key
...
(cherry picked from commit 0d372a62a1 )
2026-02-03 03:40:18 +00:00
Henning Wendtland
4963261dc8
feat(Transaction Deletion Record): Editable "DocTypes To Delete" List with CSV import/export ( #50592 )
...
* feat: add editable DocTypes To Delete list with import/export
Add user control over transaction deletion with reviewable and reusable deletion templates.
- New "DocTypes To Delete" table allows users to review and customize what will be deleted before submission
- Import/Export CSV templates for reusability across environments
- Company field rule: only filter by company if field is specifically named "company", otherwise delete all records
- Child tables (istable=1) automatically excluded from selection
- "Remove Zero Counts" helper button to clean up list
- Backward compatible with existing deletion records
* refactor: improve Transaction Deletion Record code quality
- Remove unnecessary chatty comments from AI-generated code
- Add concise docstrings to all new methods
- Remove redundant @frappe.whitelist() decorators from internal methods
- Improve CSV import validation (header check, child table filtering)
- Add better error feedback with consolidated skip messages
- Reorder form fields: To Delete list now appears before Excluded list
- Add conditional visibility for Summary table (legacy records only)
- Improve architectural clarity: single API entry point per feature
Technical improvements:
- export_to_delete_template_method and import_to_delete_template_method
are now internal helpers without whitelist decorators
- CSV import now validates format and provides detailed skip reasons
- Summary table only shows for submitted records without To Delete list
- Maintains backward compatibility for existing deletion records
* fix: field order
* test: fix broken tests and add new ones
* fix: adapt create_transaction_deletion_request
* test: fix assertRaises trigger
* fix: conditionally execute Transaction Deletion pre-tasks based on selected DocTypes
* refactor: replace boolean task flags with status fields
* fix: remove UI comment
* fix: don't allow virtual doctype selection and improve protected Doctype List
* fix: replace outdated frappe.db.sql by frappe.qb
* feat: add support for multiple company fields
* fix: autofill comapny field, add docstrings, filter for company_field
* fix: add edge case handling for update_naming_series and add tests for prefix extraction
* fix: use redis for running deletion validation, check per doctype instead of company
(cherry picked from commit 0fb37ad792 )
# Conflicts:
# erpnext/patches.txt
2026-02-03 00:49:04 +00:00
mergify[bot]
81e65757ee
fix: duplicate account number (Indonesia COA) (backport #52080 ) ( #52317 )
...
Co-authored-by: Apriliansyah Idris <apriliansyahidris@gmail.com >
fix: duplicate account number (Indonesia COA) (#52080 )
2026-02-02 19:09:22 +00:00
rohitwaghchaure
78e581154b
Merge pull request #52312 from frappe/mergify/bp/version-16-hotfix/pr-52303
...
fix: batch selector not working if Use Legacy (Client side) Reactivity disabled (backport #52303 )
2026-02-02 23:32:40 +05:30
Rohit Waghchaure
2a3642b55a
fix: batch selector not working if Use Legacy (Client side) Reactivity disabled
...
(cherry picked from commit d1cba1073f )
2026-02-02 16:32:18 +00:00