Rohit Waghchaure
f4e6f14342
fix: multiple issues related to BOM Creator
2026-06-12 19:01:56 +05:30
rohitwaghchaure
48886467ec
Merge pull request #55861 from frappe/mergify/bp/version-15-hotfix/pr-55858
...
fix: permissions in workstation file (backport #55844 ) (backport #55858 )
2026-06-12 19:00:06 +05:30
rohitwaghchaure
baafb95e74
chore: fix conflicts
2026-06-12 18:36:53 +05:30
rohitwaghchaure
f4630273ad
chore: fix linters issue
...
(cherry picked from commit 11c7a35eae )
2026-06-12 12:29:08 +00:00
rohitwaghchaure
a65629da1a
chore: fix conflicts
...
(cherry picked from commit d04965b6b2 )
2026-06-12 12:29:08 +00:00
Rohit Waghchaure
808ca06801
fix: permissions in workstation file
...
(cherry picked from commit cf127e8900 )
# Conflicts:
# erpnext/manufacturing/doctype/workstation/workstation.py
(cherry picked from commit 0fea93388d )
# Conflicts:
# erpnext/manufacturing/doctype/workstation/workstation.py
2026-06-12 12:29:08 +00:00
Mihir Kandoi
74da3b8775
Merge pull request #55839 from frappe/mergify/bp/version-15-hotfix/pr-55838
...
fix(stock): make uom mandatory in item uom table (backport #55838 )
2026-06-12 07:34:20 +05:30
pandiyan
c3a3eb3df3
fix(stock): make uom mandatory in item uom table
...
(cherry picked from commit a0177fdbe8 )
2026-06-12 07:17:08 +05:30
Mihir Kandoi
d4baf0aeba
Merge pull request #55833 from frappe/mergify/bp/version-15-hotfix/pr-55820
...
fix: show user disable audit log (backport #55820 )
2026-06-11 21:50:07 +05:30
Mihir Kandoi
e40999c879
fix: sync employee user status after save
2026-06-11 20:58:35 +05:30
pandiyan
559585fb7b
fix: show user disable audit log
...
(cherry picked from commit 73d1852773 )
2026-06-11 15:01:32 +00:00
Mihir Kandoi
ee3f502538
Merge pull request #55814 from frappe/mergify/bp/version-15-hotfix/pr-55813
...
fix(bom): fetch routing operations when Routing is selected (backport #55813 )
2026-06-11 20:30:35 +05:30
Mihir Kandoi
f37727d399
chore: resolve conflicts
2026-06-11 20:28:55 +05:30
Mihir Kandoi
b8d507e496
chore: resolve conflicts
2026-06-11 20:28:31 +05:30
ruthra kumar
11359b0ac2
Merge pull request #55819 from frappe/mergify/bp/version-15-hotfix/pr-55696
...
fix: apply user permissions to receivable/payable reports (backport #55696 )
2026-06-11 16:59:48 +05:30
Kaushal Shriwas
7639a3360e
test: clean up receivable entries to avoid cross-report leakage
2026-06-11 16:43:05 +05:30
mergify[bot]
f1fc9e3261
fix: added doctype filter validation for sales person wise transaction summary report (backport #55812 ) ( #55817 )
...
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
fix: added doctype filter validation for sales person wise transaction summary report (#55812 )
2026-06-11 07:08:59 +00:00
Kaushal Shriwas
b9a694bb37
test: cover user permission scoping in receivable report
...
(cherry picked from commit 4200d17c9b )
2026-06-11 06:58:06 +00:00
Kaushal Shriwas
c03a66a1bf
fix: apply user permissions to receivable/payable reports
...
(cherry picked from commit b05abbc53b )
2026-06-11 06:58:06 +00:00
Mohammad Umair Sayed
02e38e80a7
fix(bom): fetch routing operations when Routing is selected ( #55813 )
...
fix(bom): fetch routing operations when routing is selected
frm.doc.operations is always an array in Frappe, so !frm.doc.operations
was always false (empty array [] is truthy in JS), causing get_routing()
to never fire when a Routing is selected on a BOM with no existing
operations.
Changed the guard to !frm.doc.operations.length so the fetch triggers
correctly when the operations table is empty.
Also wired the same fetch into the with_operations handler so that
enabling the checkbox after a Routing is already set will populate
operations without requiring the user to re-select the Routing.
Co-authored-by: Umair Sayed <umairsayed@Umairs-MacBook-Air-2.local >
(cherry picked from commit 9249fa89aa )
# Conflicts:
# erpnext/manufacturing/doctype/bom/bom.js
2026-06-11 06:25:34 +00:00
Nabin Hait
2905669af4
Merge pull request #55794 from frappe/mergify/bp/version-15-hotfix/pr-55789
...
fix: prefetch batchwise valuations before streaming SLEs in stock ageing (backport #55789 )
2026-06-10 12:14:37 +05:30
Mihir Kandoi
c6176500d2
fix: prefetch batchwise valuations before streaming SLEs in stock ageing
...
Stock Ageing iterates stock ledger entries through an unbuffered
(streaming) cursor. _get_batchwise_valuation() lazily queried
Batch.use_batchwise_valuation from inside that loop whenever a row
carried the legacy batch_no field, and the nested query invalidated
the active streaming result set — crashing the report (or silently
dropping the remaining rows, depending on the driver version).
Resolve the valuation flags in a single query before entering the
unbuffered cursor block; the lazy lookup now only serves callers that
pass stock ledger entries in directly, where no streaming is active.
Fixes https://github.com/frappe/erpnext/issues/55786
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
(cherry picked from commit 060a5c4eeb )
2026-06-10 06:07:48 +00:00
ruthra kumar
bd41e741be
test(inactive customers): use FrappeTestCase
2026-06-10 10:16:32 +05:30
Frappe PR Bot
2b3e3dfd83
chore(release): Bumped to Version 15.111.0
...
# [15.111.0](https://github.com/frappe/erpnext/compare/v15.110.0...v15.111.0 ) (2026-06-10)
### Bug Fixes
* **accounts:** include asset items in purchase receipt validation ([#55150 ](https://github.com/frappe/erpnext/issues/55150 )) ([611849f ](611849f953 ))
* add permission checks in accounts whitelisted methods ([2d1c0dc ](2d1c0dcb53 ))
* bypass project permission check when updating consumed material … (backport [#55645 ](https://github.com/frappe/erpnext/issues/55645 )) ([#55706 ](https://github.com/frappe/erpnext/issues/55706 )) ([cedd0a1 ](cedd0a1903 ))
* **cheque_print_template:** print format creation from cheque print template requires system manager (backport [#55708 ](https://github.com/frappe/erpnext/issues/55708 )) ([#55711 ](https://github.com/frappe/erpnext/issues/55711 )) ([2f5b93e ](2f5b93e308 ))
* correct field order in Address and Contacts report ([bde46cf](bde46cffd0 ))
* correct field order in Address and Contacts report ([08f3cf9 ](08f3cf98f9 ))
* do not allow to make changes in SABB after submit ([07b6111 ](07b61113af ))
* drop ignore_permissions handling from add_ac ([2d0e3fd ](2d0e3fd9af ))
* duplicating a Customer/Supplier shouldn't inherit the source's primary contact and address (backport [#55421 ](https://github.com/frappe/erpnext/issues/55421 )) ([#55608 ](https://github.com/frappe/erpnext/issues/55608 )) ([013bd1a ](013bd1a566 ))
* handle multi-select stock ageing filters ([#55776 ](https://github.com/frappe/erpnext/issues/55776 )) ([95f46df ](95f46dfc01 ))
* **item:** format integer numeric variant attributes without decimals (backport [#55561 ](https://github.com/frappe/erpnext/issues/55561 )) ([#55563 ](https://github.com/frappe/erpnext/issues/55563 )) ([4772799 ](4772799db2 ))
* naming series issue ([e7eaa87 ](e7eaa87a77 ))
* persist main item code for MR plan items ([#55623 ](https://github.com/frappe/erpnext/issues/55623 )) ([e8e0514 ](e8e0514a30 ))
* prevent leakage of party-derived fields in cross doctype transactions (backport [#55336 ](https://github.com/frappe/erpnext/issues/55336 )) ([#55578 ](https://github.com/frappe/erpnext/issues/55578 )) ([0e64acb ](0e64acb0fa ))
* prevent selling items from sample retention warehouse (backport [#55613 ](https://github.com/frappe/erpnext/issues/55613 )) ([#55633 ](https://github.com/frappe/erpnext/issues/55633 )) ([c15012c ](c15012cd51 ))
* **process statement of accounts:** validate pdf_name and validate permission before triggering send_auto_email (backport [#55781 ](https://github.com/frappe/erpnext/issues/55781 )) ([#55782 ](https://github.com/frappe/erpnext/issues/55782 )) ([18ca96c ](18ca96c36b ))
* remove item name from update items dialog item code column (backport [#55718 ](https://github.com/frappe/erpnext/issues/55718 )) ([#55722 ](https://github.com/frappe/erpnext/issues/55722 )) ([09453f8 ](09453f883b ))
* resolve conflict ([271ddb6 ](271ddb6add ))
* restrict already invoiced qty in intercompany purchase invoice ([#55754 ](https://github.com/frappe/erpnext/issues/55754 )) ([a5c23a3 ](a5c23a3d16 ))
* **selling:** consider delivered qty (backport [#55597 ](https://github.com/frappe/erpnext/issues/55597 )) ([#55606 ](https://github.com/frappe/erpnext/issues/55606 )) ([e8267e3 ](e8267e3237 ))
* simplify New Zealand sales accounts ([eebb37f ](eebb37f9fd ))
* sql injection ([a94e362 ](a94e362b8c ))
* **stock:** add validation for work order seial nos and batch nos ([6d3f9d3 ](6d3f9d3c6f ))
* update items respects workflow "Only Allow Edit For" role (backport [#55667 ](https://github.com/frappe/erpnext/issues/55667 )) ([#55705 ](https://github.com/frappe/erpnext/issues/55705 )) ([7852ea6 ](7852ea65af ))
* use new_doc with field allowlist in CRM integration endpoints ([45b232d ](45b232d369 ))
* validate fg and materials qty in the disassemble entry ([ba19a24 ](ba19a24526 ))
* work order status should be in process if material transfer is skipped (backport [#55641 ](https://github.com/frappe/erpnext/issues/55641 ) to version-15-hotfix) ([#55643 ](https://github.com/frappe/erpnext/issues/55643 )) ([55b0715 ](55b0715310 ))
### Features
* add New Zealand chart of accounts ([f8a123e ](f8a123e79d ))
### Performance Improvements
* **transaction:** exit early before backend query (backport [#55556 ](https://github.com/frappe/erpnext/issues/55556 )) ([#55557 ](https://github.com/frappe/erpnext/issues/55557 )) ([ccbca57 ](ccbca57420 ))
v15.111.0
2026-06-10 00:24:00 +00:00
Mihir Kandoi
316bb13853
Merge pull request #55763 from frappe/version-15-hotfix
2026-06-10 05:52:23 +05:30
mergify[bot]
18ca96c36b
fix(process statement of accounts): validate pdf_name and validate permission before triggering send_auto_email (backport #55781 ) ( #55782 )
...
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
fix(process statement of accounts): validate pdf_name and validate permission before triggering send_auto_email (#55781 )
2026-06-09 19:10:24 +00:00
Mihir Kandoi
95f46dfc01
fix: handle multi-select stock ageing filters ( #55776 )
2026-06-09 13:45:52 +00:00
mergify[bot]
0e64acb0fa
fix: prevent leakage of party-derived fields in cross doctype transactions (backport #55336 ) ( #55578 )
...
Co-authored-by: Nabin Hait <nabinhait@gmail.com >
Co-authored-by: Lakshit Jain <ljain112@gmail.com >
fix: prevent leakage of party-derived fields in cross doctype transactions (#55336 )
2026-06-09 13:23:49 +00:00
ljain112
5629056ec2
chore: resolve conflicts
2026-06-09 18:12:53 +05:30
Lakshit Jain
eef075a2ba
fix: update round off account functions to accept document context for regional overrides ( #55758 )
...
(cherry picked from commit 08129ff71c )
# Conflicts:
# erpnext/controllers/taxes_and_totals.py
# erpnext/controllers/tests/test_taxes_and_totals.py
# erpnext/public/js/controllers/taxes_and_totals.js
2026-06-09 12:24:31 +00:00
Pandiyan P
a5c23a3d16
fix: restrict already invoiced qty in intercompany purchase invoice ( #55754 )
2026-06-09 13:13:23 +05:30
mergify[bot]
2f5b93e308
fix(cheque_print_template): print format creation from cheque print template requires system manager (backport #55708 ) ( #55711 )
...
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
fix(cheque_print_template): print format creation from cheque print template requires system manager (#55708 )
2026-06-09 13:01:40 +05:30
rohitwaghchaure
aeed6a459f
Merge pull request #55751 from frappe/mergify/bp/version-15-hotfix/pr-55748
...
fix: sql injection (backport #55748 )
2026-06-09 09:49:16 +05:30
rohitwaghchaure
c0f56cd284
chore: fix conflicts
...
Removed conflicting code related to date_field assignment based on filters.
2026-06-09 09:31:58 +05:30
Rohit Waghchaure
a94e362b8c
fix: sql injection
...
(cherry picked from commit bd0acf4413 )
# Conflicts:
# erpnext/accounts/report/inactive_sales_items/inactive_sales_items.py
2026-06-09 03:58:13 +00:00
rohitwaghchaure
a121048f9b
Merge pull request #55741 from frappe/mergify/bp/version-15-hotfix/pr-55740
...
fix: validate fg and materials qty in the disassemble entry (backport #55740 )
2026-06-08 22:45:45 +05:30
mergify[bot]
cedd0a1903
fix: bypass project permission check when updating consumed material … (backport #55645 ) ( #55706 )
...
* fix: bypass project permission check when updating consumed material cost
(cherry picked from commit 4b0b7adeee )
# Conflicts:
# erpnext/stock/doctype/stock_entry/stock_entry.py
* chore: resolve conflicts
* chore: resolve conflicts
---------
Co-authored-by: pandiyan <pandiyanpalani37@gmail.com >
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
2026-06-08 14:22:54 +00:00
rohitwaghchaure
8bccc25b1a
chore: fix conflicts
...
Removed unused test cases related to sample retention stock entry.
2026-06-08 19:45:39 +05:30
rohitwaghchaure
335173c5ba
chore: fix conflicts
...
Reintroduce the _qty_tolerance function to handle float rounding.
2026-06-08 19:44:48 +05:30
Rohit Waghchaure
ba19a24526
fix: validate fg and materials qty in the disassemble entry
...
(cherry picked from commit 4453c1072a )
# Conflicts:
# erpnext/stock/doctype/stock_entry/stock_entry.py
# erpnext/stock/doctype/stock_entry/test_stock_entry.py
2026-06-08 14:01:31 +00:00
rohitwaghchaure
2c4b89d1df
Merge pull request #55734 from frappe/mergify/bp/version-15-hotfix/pr-55716
...
fix: do not allow to make changes in SABB after submit (backport #55716 )
2026-06-08 16:02:35 +05:30
ruthra kumar
14bafe9dfd
Merge pull request #55728 from frappe/mergify/bp/version-15-hotfix/pr-55486
...
Validations in CRM-api endpoints (backport #55486 )
2026-06-08 15:50:23 +05:30
ruthra kumar
77d9849d16
Merge pull request #55730 from frappe/mergify/bp/version-15-hotfix/pr-55487
...
fix: add validations in accounts whitelisted methods (backport #55487 )
2026-06-08 15:49:34 +05:30
mergify[bot]
09453f883b
fix: remove item name from update items dialog item code column (backport #55718 ) ( #55722 )
...
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
Co-authored-by: Abdullah <frappe@LAPTOP-4E788RM4.localdomain >
fix: remove item name from update items dialog item code column (#55718 )
2026-06-08 15:42:09 +05:30
rohitwaghchaure
dc1fb3f804
chore: fix conflicts
...
Removed unused methods related to stock ledger entries and negative stock handling.
2026-06-08 15:28:44 +05:30
Rohit Waghchaure
07b61113af
fix: do not allow to make changes in SABB after submit
...
(cherry picked from commit e36426e235 )
# Conflicts:
# erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py
2026-06-08 09:56:01 +00:00
Shllokkk
2d1c0dcb53
fix: add permission checks in accounts whitelisted methods
...
(cherry picked from commit 5dbf3fdde0 )
# Conflicts:
# erpnext/accounts/doctype/payment_entry/payment_entry.py
2026-06-08 15:17:26 +05:30
Shllokkk
45b232d369
fix: use new_doc with field allowlist in CRM integration endpoints
...
(cherry picked from commit e460e83516 )
2026-06-08 09:41:05 +00:00
Nabin Hait
30efbf8c9b
test(inactive_customers): remove non-positive days test case
...
(cherry picked from commit 601f39dda7 )
2026-06-08 07:50:34 +00:00
Nabin Hait
1cba32eb1a
refactor(inactive_customers): rename sales alias to sales_doctype
...
(cherry picked from commit 8d7edafc99 )
2026-06-08 07:50:34 +00:00