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
ljain112
719d982a07
fix: ensure tax withholding entries respect date range of category
...
(cherry picked from commit 9ead8d4e3f )
2026-04-24 07:48:53 +00:00
nareshkannasln
1b146738c4
fix: skip BudgetValidation when cancelling GL entries
...
(cherry picked from commit fa34ebea94 )
2026-04-24 06:45:16 +00:00
mergify[bot]
c4010b0581
ci: fix timezone for python mariadb tests (backport #54464 ) ( #54465 )
...
ci: fix timezone for python mariadb tests (#54464 )
(cherry picked from commit 0d2da6d86c )
Co-authored-by: diptanilsaha <diptanil@frappe.io >
2026-04-23 22:31:16 +00:00
mergify[bot]
456e99b352
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 >
2026-04-23 17:37:04 +00:00
mergify[bot]
2a244d162b
fix(edi): restrict Code List imports to files and trusted backend URLs (backport #54137 ) ( #54266 )
...
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com >
fix(edi): restrict Code List imports to files and trusted backend URLs (#54137 )
fix(edi): hardcode "Code List" DocType in importer (#54488 )
2026-04-23 15:36:35 +00:00
mergify[bot]
ddc9ea16cc
ci: test correctness pattern (backport #54186 ) ( #54473 )
...
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com >
2026-04-23 13:29:15 +00:00
mergify[bot]
f7b87ed0e3
fix(stock): show available qty in warehouse link field (backport #54474 ) ( #54484 )
...
fix(stock): show available qty in warehouse link field (#54474 )
(cherry picked from commit ab19b16fe2 )
Co-authored-by: Sudharsanan Ashok <135326972+Sudharsanan11@users.noreply.github.com >
2026-04-23 18:19:28 +05:30
Smit Vora
01b22254e7
Merge pull request #54486 from frappe/mergify/bp/version-16-hotfix/pr-53190
2026-04-23 17:54:28 +05:30
Smit Vora
df3fbeded2
feat: Add XLSX styling support to custom financial report templates (backport #52612 ) ( #54485 )
...
Co-authored-by: Abdeali Chharchhodawala <99460106+Abdeali099@users.noreply.github.com >
2026-04-23 17:50:52 +05:30
Abdeali Chharchhodawala
96bab08ae0
feat: enhance account category with root type ( #53190 )
...
(cherry picked from commit f6639db0e9 )
2026-04-23 12:05:07 +00:00
Abdeali Chharchhodawala
055ff56ce4
feat: Add XLSX styling support to custom financial report templates ( #52612 )
...
(cherry picked from commit c35221852a )
2026-04-23 11:46:01 +00:00
Smit Vora
4f8184ec70
Merge pull request #54477 from frappe/mergify/bp/version-16-hotfix/pr-54449
2026-04-23 15:18:46 +05:30
Smit Vora
c6d4802857
fix: add party type for dynamic link support
...
(cherry picked from commit b925469c4d )
2026-04-23 09:27:53 +00:00
Smit Vora
6392126ca5
refactor: make report extensible by regional apps
...
(cherry picked from commit f0ea20e579 )
2026-04-23 09:27:53 +00:00
Smit Vora
40466be9ef
test: None is better than zero, as no values exist
...
(cherry picked from commit b5550f747e )
2026-04-23 09:27:53 +00:00
Smit Vora
e6cfdb8e4d
refactor: updated key for withholding_date
...
(cherry picked from commit 07b023a934 )
2026-04-23 09:27:53 +00:00
Smit Vora
fffaf834fd
refactor: better label for entity type
...
(cherry picked from commit 53666974a3 )
2026-04-23 09:27:52 +00:00
Smit Vora
be0e58fb23
refactor: how data is built
...
(cherry picked from commit c3e7f7f02f )
2026-04-23 09:27:52 +00:00
Smit Vora
9276cd7343
refactor: use consistent report column names
...
(cherry picked from commit 6dca96b423 )
2026-04-23 09:27:52 +00:00
rohitwaghchaure
dd2763aabc
Merge pull request #54472 from frappe/mergify/bp/version-16-hotfix/pr-54471
...
fix: delivery schedule in the sales order (backport #54471 )
2026-04-22 22:11:01 +05:30
Rohit Waghchaure
386f49978e
fix: delivery schedule in the sales order
...
(cherry picked from commit 435db260ee )
2026-04-22 16:33:12 +00:00
mergify[bot]
090aab33fb
fix: py error on stock ageing report (backport #54467 ) ( #54469 )
...
fix: py error on stock ageing report (#54467 )
(cherry picked from commit f5357c233d )
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
2026-04-22 14:41:13 +00:00
ruthra kumar
99bc2c174b
Merge pull request #54463 from frappe/mergify/bp/version-16-hotfix/pr-54447
...
refactor(test): remove explicit sql delete calls (backport #54447 )
2026-04-22 11:34:10 +05:30
ruthra kumar
91a748d9bf
refactor(test): remove explicit sql delete calls
...
(cherry picked from commit b16dd3f2dd )
2026-04-22 05:43:48 +00:00
Frappe PR Bot
c99b9e1b64
chore(release): Bumped to Version 16.15.0
...
# [16.15.0](https://github.com/frappe/erpnext/compare/v16.14.0...v16.15.0 ) (2026-04-22)
### Bug Fixes
* **accounts:** fetch project name from payment entry to journal entry (backport [#54307 ](https://github.com/frappe/erpnext/issues/54307 )) ([#54453 ](https://github.com/frappe/erpnext/issues/54453 )) ([62a9a76 ](62a9a761b7 ))
* add portal user ownership check to supplier quotation (backport [#54298 ](https://github.com/frappe/erpnext/issues/54298 )) ([#54300 ](https://github.com/frappe/erpnext/issues/54300 )) ([d7da5b0 ](d7da5b047d ))
* add project filter to accounts payable and receivable reports (backport [#54344 ](https://github.com/frappe/erpnext/issues/54344 )) ([#54442 ](https://github.com/frappe/erpnext/issues/54442 )) ([57cd2a0 ](57cd2a06e8 ))
* append row level user remarks in gl map ([aa359ad ](aa359aded4 ))
* changed qty validation from qty field to stock_qty (backport [#54352 ](https://github.com/frappe/erpnext/issues/54352 )) ([#54357 ](https://github.com/frappe/erpnext/issues/54357 )) ([fa76e8a ](fa76e8ac7f ))
* clear conditions table when calculate_based_on is set to Fixed ([7849733 ](78497336c7 ))
* clear shipping rule conditions for fixed shipping rule ([319d769 ](319d769c6f ))
* **dashboard-trends:** set default fiscal year and company before val… (backport [#54339 ](https://github.com/frappe/erpnext/issues/54339 )) ([#54400 ](https://github.com/frappe/erpnext/issues/54400 )) ([b1825c0 ](b1825c0cbe ))
* default company perms for HR manager ([47abaf7 ](47abaf70b2 ))
* default perm for HR manager & HR user ([95213fb ](95213fb9b8 ))
* default perm for HR manager & HR user ([a7b1fec ](a7b1fec21d ))
* default permission for HR manager role ([534891a ](534891aac4 ))
* default permission for HR User role ([0d6d64f ](0d6d64ff05 ))
* Disallow negative rates in Purchase invoice (backport [#54254 ](https://github.com/frappe/erpnext/issues/54254 )) ([#54393 ](https://github.com/frappe/erpnext/issues/54393 )) ([cac9073 ](cac907383b ))
* dropship logic should come above non stock logic in gross profit… (backport [#54383 ](https://github.com/frappe/erpnext/issues/54383 )) ([#54385 ](https://github.com/frappe/erpnext/issues/54385 )) ([78aaf6c ](78aaf6c7e8 ))
* fetch item tax template from item group when creating item (backport [#54258 ](https://github.com/frappe/erpnext/issues/54258 )) ([#54368 ](https://github.com/frappe/erpnext/issues/54368 )) ([3914d5d ](3914d5d1b7 ))
* hide operations field in bom creator if phantom (backport [#54336 ](https://github.com/frappe/erpnext/issues/54336 )) ([#54337 ](https://github.com/frappe/erpnext/issues/54337 )) ([b252ad4 ](b252ad49b7 ))
* make Target Warehouse mandatory on UI ([46f5de0 ](46f5de0b1c ))
* **manufacturing:** handle empty list in query builder ([d2cc549 ](d2cc549696 ))
* move make_dimension_in_accounting_doctypes from after_insert to on_update ([f287edd ](f287edd8c2 ))
* negative batch report showing same batch-warehouse multiple times ([493f36b ](493f36b3ce ))
* non-collapsible in customer quick entry ([101f68c ](101f68c8e8 ))
* **pos_invoice_item:** fetch `grant_commission` from `item_code` (backport [#54413 ](https://github.com/frappe/erpnext/issues/54413 )) ([#54418 ](https://github.com/frappe/erpnext/issues/54418 )) ([dd6d4d1 ](dd6d4d1910 ))
* **purchase_register:** filter tax rows by parenttype in invoice tax map query (backport [#54272 ](https://github.com/frappe/erpnext/issues/54272 )) ([#54444 ](https://github.com/frappe/erpnext/issues/54444 )) ([01aff64 ](01aff6492c ))
* recalculate operating costs if workstation type is changed (backport [#54390 ](https://github.com/frappe/erpnext/issues/54390 )) ([#54398 ](https://github.com/frappe/erpnext/issues/54398 )) ([cfcba1f ](cfcba1fcf2 ))
* remove unwanted perm for HR user role ([4940aeb ](4940aeb712 ))
* reset base_rounded_total when rounded_total resets (backport [#54241 ](https://github.com/frappe/erpnext/issues/54241 )) ([#54304 ](https://github.com/frappe/erpnext/issues/54304 )) ([45052ce ](45052ce8a7 ))
* resolve conflict ([9e6300b ](9e6300bf76 ))
* sales order is not valid when creating WO from MR from PP (backport [#54435 ](https://github.com/frappe/erpnext/issues/54435 )) ([#54436 ](https://github.com/frappe/erpnext/issues/54436 )) ([5397b7d ](5397b7da25 ))
* Table row in dialog should not have delete row option ([5916e57 ](5916e570af ))
* **taxes_and_totals:** apply conversion_rate to taxable_amount in get_itemised_tax ([d506e57 ](d506e574d2 ))
* **test:** missing repost allowed defaults ([d49c343 ](d49c34389b ))
* use qty instead of stock qty dropship gross profit report (backport [#54389 ](https://github.com/frappe/erpnext/issues/54389 )) ([#54391 ](https://github.com/frappe/erpnext/issues/54391 )) ([7556550 ](7556550158 ))
* validate south africa company in vat audit report (backport [#54030 ](https://github.com/frappe/erpnext/issues/54030 )) ([#54394 ](https://github.com/frappe/erpnext/issues/54394 )) ([aa2cba9 ](aa2cba9780 ))
* zero valuation rate popup on SI (backport [#54376 ](https://github.com/frappe/erpnext/issues/54376 )) ([#54377 ](https://github.com/frappe/erpnext/issues/54377 )) ([104eac2 ](104eac21e8 ))
### Features
* add option to create production plan from sales order (backport [#53662 ](https://github.com/frappe/erpnext/issues/53662 )) ([#54323 ](https://github.com/frappe/erpnext/issues/54323 )) ([b487f69 ](b487f69b59 ))
* add support for 'not applicable' tax in item tax templates ([#50898 ](https://github.com/frappe/erpnext/issues/50898 )) ([52a4ca9 ](52a4ca9c41 ))
* backflush based on in BOM ([2c73e37 ](2c73e37f80 ))
* make fg phantom-able in bom creator (backport [#54332 ](https://github.com/frappe/erpnext/issues/54332 )) ([#54333 ](https://github.com/frappe/erpnext/issues/54333 )) ([10dbfd3 ](10dbfd310f ))
* use single remark field with custom remark toggle ([27c5dab ](27c5dab7e4 ))
v16.15.0
2026-04-22 00:21:02 +00:00
diptanilsaha
a9747213f5
Merge pull request #54437 from frappe/version-16-hotfix
2026-04-22 05:49:31 +05:30
mergify[bot]
5923618df3
refactor(test): move contact and address creation to bootstrap (backport #54406 ) ( #54410 )
...
Co-authored-by: ruthra kumar <ruthra@erpnext.com >
2026-04-22 00:24:36 +05:30
MochaMind
193a44f298
chore: update POT file ( #54401 )
2026-04-22 00:16:52 +05:30
Khushi Rawat
d9731d7c72
Merge pull request #54427 from frappe/mergify/bp/version-16-hotfix/pr-54131
...
feat: use single remark field with custom remark toggle (backport #54131 )
2026-04-22 00:05:24 +05:30
mergify[bot]
457adcee95
refactor: fix test cases in tax withholding details report (backport #54422 ) ( #54445 )
...
Co-authored-by: ljain112 <ljain112@gmail.com >
2026-04-21 23:58:57 +05:30