Frappe PR Bot
4d5c665e22
chore(release): Bumped to Version 16.16.0
...
# [16.16.0](https://github.com/frappe/erpnext/compare/v16.15.1...v16.16.0 ) (2026-04-28)
### Bug Fixes
* **`get_stock_balance`:** validate inventory dimension fieldnames (backport [#54587 ](https://github.com/frappe/erpnext/issues/54587 )) ([#54589 ](https://github.com/frappe/erpnext/issues/54589 )) ([9f04fcc ](9f04fcc190 ))
* add filter labels and required filters for financial report validation ([e6f0bb6 ](e6f0bb66e2 ))
* add party type for dynamic link support ([c6d4802 ](c6d4802857 ))
* always exclude pcv entries except for closing account head ([446c111 ](446c111653 ))
* avoid double reduction of pe reference outstanding (backport [#54193 ](https://github.com/frappe/erpnext/issues/54193 )) ([#54613 ](https://github.com/frappe/erpnext/issues/54613 )) ([5de4b01 ](5de4b013ea ))
* correct display depends on condition ([#54556 ](https://github.com/frappe/erpnext/issues/54556 )) ([0df38a8 ](0df38a841e ))
* debit credit not equal in purchase transactions for multi currency (backport [#54456 ](https://github.com/frappe/erpnext/issues/54456 )) ([#54564 ](https://github.com/frappe/erpnext/issues/54564 )) ([d9a9a5b ](d9a9a5bcde ))
* delivery schedule in the sales order ([386f499 ](386f49978e ))
* duplicate entries being shown in batch exists in future transact… (backport [#54604 ](https://github.com/frappe/erpnext/issues/54604 )) ([#54606 ](https://github.com/frappe/erpnext/issues/54606 )) ([1111771 ](11117710d3 ))
* **edi:** restrict Code List imports to files and trusted backend URLs (backport [#54137 ](https://github.com/frappe/erpnext/issues/54137 )) ([#54266 ](https://github.com/frappe/erpnext/issues/54266 )) ([2a244d1 ](2a244d162b )), closes [#54488 ](https://github.com/frappe/erpnext/issues/54488 )
* ensure fiscal year is checked before validating date filters in financial statements ([fba7871 ](fba78711cc ))
* ensure tax withholding entries respect date range of category ([719d982 ](719d982a07 ))
* filter opening entries in first year in custom financial statement ([6bd6e62 ](6bd6e62c8c ))
* filter overdue purchase order items by company (backport [#54099 ](https://github.com/frappe/erpnext/issues/54099 )) ([#54611 ](https://github.com/frappe/erpnext/issues/54611 )) ([8f8bf13 ](8f8bf13b41 ))
* hide feature flag controlled fields on install ([45dc2c4 ](45dc2c40fd ))
* make inv dimen reqd only in delivery note (backport [#54546 ](https://github.com/frappe/erpnext/issues/54546 )) ([#54552 ](https://github.com/frappe/erpnext/issues/54552 )) ([d56df96 ](d56df96f73 ))
* **manufacturing:** remove conversion factor for stock qty (backport [#54525 ](https://github.com/frappe/erpnext/issues/54525 )) ([#54573 ](https://github.com/frappe/erpnext/issues/54573 )) ([f14751d ](f14751d538 ))
* negative quantity check in validate_item_qty (backport [#54559 ](https://github.com/frappe/erpnext/issues/54559 )) ([#54572 ](https://github.com/frappe/erpnext/issues/54572 )) ([f7fa394 ](f7fa394aea ))
* **payment_entry:** escape arguments on invoice and order fetching sql queries (backport [#54582 ](https://github.com/frappe/erpnext/issues/54582 )) ([#54586 ](https://github.com/frappe/erpnext/issues/54586 )) ([5289aa0 ](5289aa0ab3 ))
* **PCV:** set correct filters of `from_date` and `to_date` on General Ledger Report on clicking `Ledger` button (backport [#54522 ](https://github.com/frappe/erpnext/issues/54522 )) ([#54524 ](https://github.com/frappe/erpnext/issues/54524 )) ([f3996fb ](f3996fb971 ))
* preserve inventory dimensions when raw materials are reset (backport [#54440 ](https://github.com/frappe/erpnext/issues/54440 )) ([#54493 ](https://github.com/frappe/erpnext/issues/54493 )) ([456e99b ](456e99b352 ))
* py error on stock ageing report (backport [#54467 ](https://github.com/frappe/erpnext/issues/54467 )) ([#54469 ](https://github.com/frappe/erpnext/issues/54469 )) ([090aab3 ](090aab33fb ))
* skip BudgetValidation when cancelling GL entries ([1b14673 ](1b146738c4 ))
* **stock:** add stock entry in batch master connection ([62bbe28 ](62bbe28a72 ))
* **stock:** remove validation for transfer_qty field (backport [#54542 ](https://github.com/frappe/erpnext/issues/54542 )) ([#54545 ](https://github.com/frappe/erpnext/issues/54545 )) ([cc85370 ](cc85370d54 ))
* **stock:** set incoming rate as zero for outward sle (backport [#54514 ](https://github.com/frappe/erpnext/issues/54514 )) ([#54533 ](https://github.com/frappe/erpnext/issues/54533 )) ([cabea2f ](cabea2f288 ))
* **stock:** show available qty in warehouse link field (backport [#54474 ](https://github.com/frappe/erpnext/issues/54474 )) ([#54484 ](https://github.com/frappe/erpnext/issues/54484 )) ([f7b87ed ](f7b87ed0e3 ))
* **stock:** show item code in serial and batch selector dialog ([85d1eb8 ](85d1eb8379 ))
* summing of values could be zero even if values exist ([d51ce66 ](d51ce66cb2 ))
* update account identification to avoid using name_field in financial statements ([7b60ec8 ](7b60ec8457 ))
* update fiscal year filter to use mandatory_depends_on instead of reqd ([6570796 ](6570796fba ))
* update status of quotation in patch (backport [#54577 ](https://github.com/frappe/erpnext/issues/54577 )) ([#54580 ](https://github.com/frappe/erpnext/issues/54580 )) ([134e4b7 ](134e4b7446 ))
### Features
* add setting to hide Subscription references across doctypes ([#54576 ](https://github.com/frappe/erpnext/issues/54576 )) ([15b6633 ](15b6633fc3 ))
* Add XLSX styling support to custom financial report templates ([#52612 ](https://github.com/frappe/erpnext/issues/52612 )) ([055ff56 ](055ff56ce4 ))
* Add XLSX styling support to custom financial report templates (backport [#52612 ](https://github.com/frappe/erpnext/issues/52612 )) ([#54485 ](https://github.com/frappe/erpnext/issues/54485 )) ([df3fbed ](df3fbeded2 ))
* danish_bosnian_address_template (backport [#54093 ](https://github.com/frappe/erpnext/issues/54093 )) ([#54516 ](https://github.com/frappe/erpnext/issues/54516 )) ([5c0d2cb ](5c0d2cb474 ))
* enhance account category with root type ([#53190 ](https://github.com/frappe/erpnext/issues/53190 )) ([96bab08 ](96bab08ae0 ))
v16.16.0
2026-04-28 21:03:29 +00:00
diptanilsaha
e09487d140
Merge pull request #54583 from frappe/version-16-hotfix
2026-04-29 02:31:54 +05:30
mergify[bot]
5de4b013ea
fix: avoid double reduction of pe reference outstanding (backport #54193 ) ( #54613 )
...
* fix: avoid double reduction of pe reference outstanding (#54193 )
Co-authored-by: diptanilsaha <diptanil@frappe.io >
(cherry picked from commit d1a80d40c4 )
# Conflicts:
# erpnext/accounts/utils.py
* chore: remove type hints for function parameters
---------
Co-authored-by: Ravibharathi <131471282+ravibharathi656@users.noreply.github.com >
Co-authored-by: diptanilsaha <diptanil@frappe.io >
2026-04-28 20:41:42 +00:00
mergify[bot]
8f8bf13b41
fix: filter overdue purchase order items by company (backport #54099 ) ( #54611 )
...
Co-authored-by: Ravibharathi <131471282+ravibharathi656@users.noreply.github.com >
fix: filter overdue purchase order items by company (#54099 )
2026-04-29 01:25:31 +05:30
mergify[bot]
11117710d3
fix: duplicate entries being shown in batch exists in future transact… (backport #54604 ) ( #54606 )
...
fix: duplicate entries being shown in batch exists in future transact… (#54604 )
fix: duplicate entries being shown in batch exists in future transactions msg
(cherry picked from commit 54f20de7e3 )
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
2026-04-28 22:23:13 +05:30
diptanilsaha
90b07b3db5
Merge branch 'version-16' into version-16-hotfix
2026-04-28 21:49:53 +05:30
Trusted Computer
0d498baa10
refactor: bring back titles on sales transactions and make them optional and visible on purchase transactions (backport #52633 ) ( #54601 )
...
* refactor: bring back titles on sales transactions and make them optional and visible on purchase transactions
* fix: update timestamp in json to UTC
2026-04-28 21:12:41 +05:30
mergify[bot]
deef1696d6
refactor(sms_center): replaced raw SQL queries with Query Builder (backport #54600 ) ( #54603 )
...
Co-authored-by: diptanilsaha <diptanil@frappe.io >
2026-04-28 15:41:59 +00:00
Lakshit Jain
c6ee18b4d4
Merge pull request #54599 from frappe/mergify/bp/version-16-hotfix/pr-54362
...
fix: filter opening entries after closing voucher (backport #54362 )
2026-04-28 19:04:45 +05:30
Lakshit Jain
2f88fa6731
Merge pull request #54598 from frappe/mergify/bp/version-16-hotfix/pr-54517
...
fix: always exclude pcv entries except for closing account head (backport #54517 )
2026-04-28 19:03:09 +05:30
Lakshit Jain
9c5c87b354
Merge pull request #54594 from frappe/mergify/bp/version-16-hotfix/pr-54479
...
fix: Handle mandantory filters for financial statements report (backport #54479 )
2026-04-28 18:45:05 +05:30
Smit Vora
64a724baea
test: include both accounts to test sum = 0
...
(cherry picked from commit 590f2ffe28 )
2026-04-28 13:13:46 +00:00
Smit Vora
7f32c3aca7
test: opening entries after period closing
...
(cherry picked from commit 5fc3ca1d4b )
2026-04-28 13:13:46 +00:00
Smit Vora
4675921077
chore: comment
...
(cherry picked from commit c94b8c41f3 )
2026-04-28 13:13:46 +00:00
Smit Vora
d51ce66cb2
fix: summing of values could be zero even if values exist
...
(cherry picked from commit 7ae91cac01 )
2026-04-28 13:13:45 +00:00
vorasmit
6bd6e62c8c
fix: filter opening entries in first year in custom financial statement
...
(cherry picked from commit 3c8a066484 )
2026-04-28 13:13:45 +00:00
Smit Vora
fa901946ce
test: pcv is excluded from PL accounts
...
(cherry picked from commit 84aa54c540 )
2026-04-28 13:13:18 +00:00
Smit Vora
446c111653
fix: always exclude pcv entries except for closing account head
...
(cherry picked from commit 0349e7a0b8 )
2026-04-28 13:13:18 +00:00
Abdeali Chharchhoda
859b24dd95
chore: minor fix
...
(cherry picked from commit 3854d2cbf6 )
2026-04-28 12:01:21 +00:00
Abdeali Chharchhoda
7b60ec8457
fix: update account identification to avoid using name_field in financial statements
...
(cherry picked from commit 1fd6c3ba1a )
2026-04-28 12:01:21 +00:00
Abdeali Chharchhoda
e6f0bb66e2
fix: add filter labels and required filters for financial report validation
...
(cherry picked from commit 4274c2aba3 )
2026-04-28 12:01:21 +00:00
Abdeali Chharchhoda
6570796fba
fix: update fiscal year filter to use mandatory_depends_on instead of reqd
...
(cherry picked from commit 79d6a51e1e )
2026-04-28 12:01:20 +00:00
Abdeali Chharchhoda
fba78711cc
fix: ensure fiscal year is checked before validating date filters in financial statements
...
(cherry picked from commit 5a915cb45e )
2026-04-28 12:01:20 +00:00
mergify[bot]
9f04fcc190
fix(get_stock_balance): validate inventory dimension fieldnames (backport #54587 ) ( #54589 )
...
Co-authored-by: diptanilsaha <diptanil@frappe.io >
fix(`get_stock_balance`): validate inventory dimension fieldnames (#54587 )
2026-04-28 11:35:16 +00:00
mergify[bot]
5289aa0ab3
fix(payment_entry): escape arguments on invoice and order fetching sql queries (backport #54582 ) ( #54586 )
...
Co-authored-by: diptanilsaha <diptanil@frappe.io >
fix(payment_entry): escape arguments on invoice and order fetching sql queries (#54582 )
2026-04-28 10:48:41 +00:00
ruthra kumar
185ef4e273
Merge pull request #54553 from frappe/mergify/bp/version-16-hotfix/pr-54509
...
fix: hide feature flag controlled fields on install (backport #54509 )
2026-04-28 16:04:42 +05:30
ruthra kumar
45dc2c40fd
fix: hide feature flag controlled fields on install
...
(cherry picked from commit 889fdf2f11 )
2026-04-28 15:44:28 +05:30
mergify[bot]
386a373c9b
chore(sidebar): moved Inactive Customers from CRM to Selling Workspace Sidebar (backport #54578 ) ( #54581 )
...
Co-authored-by: diptanilsaha <diptanil@frappe.io >
2026-04-28 15:41:36 +05:30
mergify[bot]
134e4b7446
fix: update status of quotation in patch (backport #54577 ) ( #54580 )
...
fix: update status of quotation in patch (#54577 )
(cherry picked from commit 2088a01c19 )
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
2026-04-28 09:44:16 +00:00
Jatin3128
15b6633fc3
feat: add setting to hide Subscription references across doctypes ( #54576 )
2026-04-28 13:09:50 +05:30
mergify[bot]
f14751d538
fix(manufacturing): remove conversion factor for stock qty (backport #54525 ) ( #54573 )
...
fix(manufacturing): remove conversion factor for stock qty (#54525 )
(cherry picked from commit 6f9089dd5b )
Co-authored-by: Sudharsanan Ashok <135326972+Sudharsanan11@users.noreply.github.com >
2026-04-28 05:38:29 +00:00
mergify[bot]
f7fa394aea
fix: negative quantity check in validate_item_qty (backport #54559 ) ( #54572 )
...
fix: negative quantity check in validate_item_qty (#54559 )
Fix negative quantity check in validate_item_qty
When saving a Blanket Order with a blank qty field in the items table, the following error is raised:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
Root cause: The validate_item_qty method compares d.qty < 0 directly. When the qty field is left empty, its value is None, and Python cannot compare None with an integer.
Fix
Wrap d.qty with flt(), which safely converts None (and any non-numeric value) to 0.0 before the comparison.
# Before
if d.qty < 0:
# After
if flt(d.qty) < 0:
(cherry picked from commit 63edd5ddc6 )
Co-authored-by: Vinay Mishra <39999379+vinaymishraofficial@users.noreply.github.com >
2026-04-28 05:33:55 +00:00
mergify[bot]
d9a9a5bcde
fix: debit credit not equal in purchase transactions for multi currency (backport #54456 ) ( #54564 )
...
fix: debit credit not equal in purchase transactions for multi currency (#54456 )
(cherry picked from commit 601581d6f8 )
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
2026-04-27 15:23:05 +00:00
Mihir Kandoi
0df38a841e
fix: correct display depends on condition ( #54556 )
2026-04-27 10:08:47 +00:00
mergify[bot]
d56df96f73
fix: make inv dimen reqd only in delivery note (backport #54546 ) ( #54552 )
...
fix: make inv dimen reqd only in delivery note (#54546 )
(cherry picked from commit 0aadd1e3a5 )
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
2026-04-27 15:10:44 +05:30
mergify[bot]
cc85370d54
fix(stock): remove validation for transfer_qty field (backport #54542 ) ( #54545 )
...
fix(stock): remove validation for transfer_qty field (#54542 )
(cherry picked from commit 60a6b38c31 )
Co-authored-by: Pandiyan P <pandiyanpalani37@gmail.com >
2026-04-27 07:20:16 +00:00
mergify[bot]
ac9aa7f154
refactor: quality inspection item query (backport #54511 ) ( #54540 )
...
* refactor: quality inspection item query (#54511 )
(cherry picked from commit be2a4b7b2a )
# Conflicts:
# erpnext/stock/doctype/quality_inspection/quality_inspection.py
* chore: resolve conflicts
---------
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
2026-04-27 05:50:37 +00:00
MochaMind
23cac0df83
chore: update POT file ( #54535 )
2026-04-26 18:55:31 +02:00
mergify[bot]
5c0d2cb474
feat: danish_bosnian_address_template (backport #54093 ) ( #54516 )
...
feat: danish_bosnian_address_template (#54093 )
(cherry picked from commit e517eeaaa2 )
Co-authored-by: mahsem <137205921+mahsem@users.noreply.github.com >
2026-04-26 21:06:52 +05:30
mergify[bot]
cabea2f288
fix(stock): set incoming rate as zero for outward sle (backport #54514 ) ( #54533 )
...
fix(stock): set incoming rate as zero for outward sle
(cherry picked from commit ce37530e70 )
Co-authored-by: Sudharsanan11 <sudharsananashok1975@gmail.com >
2026-04-26 20:24:52 +05:30
rohitwaghchaure
4c95daaca5
Merge pull request #54531 from frappe/mergify/bp/version-16-hotfix/pr-54530
...
fix(stock): show item code in serial and batch selector dialog (backport #54530 )
2026-04-26 10:25:51 +05:30
Sudharsanan11
62bbe28a72
fix(stock): add stock entry in batch master connection
...
(cherry picked from commit fee5bcadb2 )
2026-04-26 04:35:42 +00:00
Sudharsanan11
85d1eb8379
fix(stock): show item code in serial and batch selector dialog
...
(cherry picked from commit f572bc51e1 )
2026-04-26 04:35:42 +00:00
mergify[bot]
8de9ac4e34
refactor(UX): selling settings form (backport #54412 ) ( #54527 )
2026-04-25 18:01:07 +05:30
mergify[bot]
f3996fb971
fix(PCV): set correct filters of from_date and to_date on General Ledger Report on clicking Ledger button (backport #54522 ) ( #54524 )
...
Co-authored-by: diptanilsaha <diptanil@frappe.io >
fix(PCV): set correct filters of `from_date` and `to_date` on General Ledger Report on clicking `Ledger` button (#54522 )
2026-04-25 00:08:27 +05:30
mergify[bot]
764c775e19
refactor: tax witholding report (backport #54449 ) (backport #54477 ) ( #54519 )
...
* refactor: use consistent report column names
(cherry picked from commit 6dca96b423 )
(cherry picked from commit 9276cd7343 )
* refactor: how data is built
(cherry picked from commit c3e7f7f02f )
(cherry picked from commit be0e58fb23 )
* refactor: better label for entity type
(cherry picked from commit 53666974a3 )
(cherry picked from commit fffaf834fd )
* refactor: updated key for withholding_date
(cherry picked from commit 07b023a934 )
(cherry picked from commit e6cfdb8e4d )
* test: None is better than zero, as no values exist
(cherry picked from commit b5550f747e )
(cherry picked from commit 40466be9ef )
* refactor: make report extensible by regional apps
(cherry picked from commit f0ea20e579 )
(cherry picked from commit 6392126ca5 )
* fix: add party type for dynamic link support
(cherry picked from commit b925469c4d )
(cherry picked from commit c6d4802857 )
---------
Co-authored-by: Smit Vora <smitvora203@gmail.com >
2026-04-24 14:39:42 +00:00
Frappe PR Bot
66ec6a4d20
chore(release): Bumped to Version 16.15.1
...
## [16.15.1](https://github.com/frappe/erpnext/compare/v16.15.0...v16.15.1 ) (2026-04-24)
### Bug Fixes
* preserve inventory dimensions when raw materials are reset (backport [#54440 ](https://github.com/frappe/erpnext/issues/54440 )) (backport [#54493 ](https://github.com/frappe/erpnext/issues/54493 )) ([#54513 ](https://github.com/frappe/erpnext/issues/54513 )) ([610735d ](610735d1c5 ))
v16.15.1
2026-04-24 12:35:07 +00:00
mergify[bot]
610735d1c5
fix: preserve inventory dimensions when raw materials are reset (backport #54440 ) (backport #54493 ) ( #54513 )
...
* fix: preserve inventory dimensions when raw materials are reset (backport #54440 ) (#54493 )
fix: preserve inventory dimensions when raw materials are reset (#54440 )
* fix: preserve inventory dimensions when raw materials are reset
* test: add test case
(cherry picked from commit 0e20e35842 )
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
(cherry picked from commit 456e99b352 )
# Conflicts:
# erpnext/patches.txt
* chore: resolve conflicts
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
2026-04-24 12:33:34 +00:00
Khushi Rawat
8a5fa64e1d
Merge pull request #54504 from frappe/mergify/bp/version-16-hotfix/pr-53314
...
fix: skip budget validation when cancelling GL entries (backport #53314 )
2026-04-24 17:39:05 +05:30
Smit Vora
aecf2c1c0e
Merge pull request #54505 from frappe/mergify/bp/version-16-hotfix/pr-54476
...
fix: ensure tax withholding entries respect date range of category (backport #54476 )
2026-04-24 13:39:54 +05:30