mergify[bot]
ea60efd91a
refactor: use frappe.db.bulk_update instead of Case queries in subcon… (backport #55232 ) ( #55233 )
...
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
2026-05-24 09:56:53 +00:00
mergify[bot]
a1457c759d
fix: consider batchwise valuation in stock ageing report (backport #54919 ) ( #55230 )
...
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
fix: consider batchwise valuation in stock ageing report (#54919 )
2026-05-24 07:18:07 +00:00
rohitwaghchaure
ab9e30b487
Merge pull request #55183 from frappe/mergify/bp/version-16-hotfix/pr-55091
...
feat: pending qty in job card (backport #55091 )
2026-05-24 09:30:01 +05:30
Nishka Gosalia
9596e6e1e9
Merge pull request #55196 from frappe/mergify/bp/version-16-hotfix/pr-55189
...
fix(project): update customer and sales order as no copy (backport #55189 )
2026-05-23 15:32:06 +05:30
nareshkannasln
1e61ca162f
fix(project): update customer and sales order as no copy
...
(cherry picked from commit 9d8f3863f2 )
2026-05-22 12:21:34 +00:00
mergify[bot]
edf6bea2ee
fix(stock): apply posting datetime filters while fetching available batches (backport #54976 ) ( #55185 )
...
Co-authored-by: Sudharsanan Ashok <135326972+Sudharsanan11@users.noreply.github.com >
fix(stock): apply posting datetime filters while fetching available batches (#54976 )
2026-05-22 11:23:24 +00:00
mergify[bot]
ea863477a4
fix: invalid filter on item_group (backport #55186 ) ( #55188 )
...
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
fix: invalid filter on item_group (#55186 )
2026-05-22 16:49:23 +05:30
rohitwaghchaure
171cd41928
chore: fix conflicts
2026-05-22 15:25:34 +05:30
Rohit Waghchaure
d2a793b03b
refactor: better timer and complete button
...
(cherry picked from commit 1be92f6d05 )
# Conflicts:
# erpnext/manufacturing/doctype/job_card/job_card.js
2026-05-22 09:52:50 +00:00
Rohit Waghchaure
3081368aad
refactor: job_card.js code for better readability
...
(cherry picked from commit 0a215b0717 )
# Conflicts:
# erpnext/manufacturing/doctype/job_card/job_card.js
2026-05-22 09:52:49 +00:00
Rohit Waghchaure
b372e6f118
feat: pending qty in job card
...
(cherry picked from commit db64f451c1 )
2026-05-22 09:52:49 +00:00
rohitwaghchaure
e2558b6e51
Merge pull request #55182 from frappe/mergify/bp/version-16-hotfix/pr-55159
...
fix: slow query (backport #55159 )
2026-05-22 15:22:18 +05:30
Rohit Waghchaure
66c9170465
fix: slow query
...
(cherry picked from commit d44f574581 )
2026-05-22 09:18:04 +00:00
mergify[bot]
123b4ad563
fix: edit stock uom qty for purchase documents (backport #55135 ) ( #55179 )
...
Co-authored-by: Nishka Gosalia <58264710+nishkagosalia@users.noreply.github.com >
fix: edit stock uom qty for purchase documents (#55135 )
2026-05-22 09:14:32 +00:00
ruthra kumar
92689e05da
perf: skip delink_original_entry during cancellation when Immutable Ledger is enabled (backport #55130 ) ( #55166 )
...
perf: skip delink_original_entry during cancellation when Immutable Ledger is enabled (#55130 )
* perf: get payment ledger and remove update from delink when immutable ledger is enabled
* revert: changes of get_payment_ledger_entries
* perf: skip delink_original_entry during cancellation when Immutable Ledger is enabled
* test: for immutable ledger
* test: add posting_date in create_sales_invoice
* fix: link validation err with immutable ledger on
* test: update testcase of the immutable ledger
* refactor(test): simpler test for immutable invariants
---------
Co-authored-by: ruthra kumar <ruthra@erpnext.com >
(cherry picked from commit 9eeccecd30 )
# Conflicts:
# erpnext/accounts/general_ledger.py
Co-authored-by: Nihantra C. Patel <141945075+Nihantra-Patel@users.noreply.github.com >
2026-05-22 14:25:32 +05:30
mergify[bot]
bde7f1660e
fix(manufacturing): remove forecast_qty and adjust_qty fields from sa… (backport #55129 ) ( #55136 )
...
Co-authored-by: Pandiyan P <pandiyanpalani37@gmail.com >
fix(manufacturing): remove forecast_qty and adjust_qty fields from sa… (#55129 )
2026-05-22 14:23:51 +05:30
Nihantra C. Patel
8a4cb28d90
perf: skip delink_original_entry during cancellation when Immutable Ledger is enabled ( #55130 )
...
* perf: get payment ledger and remove update from delink when immutable ledger is enabled
* revert: changes of get_payment_ledger_entries
* perf: skip delink_original_entry during cancellation when Immutable Ledger is enabled
* test: for immutable ledger
* test: add posting_date in create_sales_invoice
* fix: link validation err with immutable ledger on
* test: update testcase of the immutable ledger
* refactor(test): simpler test for immutable invariants
---------
Co-authored-by: ruthra kumar <ruthra@erpnext.com >
(cherry picked from commit 9eeccecd30 )
# Conflicts:
# erpnext/accounts/general_ledger.py
2026-05-22 12:49:43 +05:30
diptanilsaha
498bd2fb4b
Merge pull request #55144 from frappe/mergify/bp/version-16-hotfix/pr-55127
...
refactor: migrate get_tax_template to query builder with hierarchical group matching (backport #55127 )
2026-05-22 01:48:45 +05:30
Khushi Rawat
bfb7a0e941
Merge pull request #55152 from frappe/mergify/bp/version-16-hotfix/pr-55146
...
fix: correct remarks for foreign currency payment entries (backport #55146 )
2026-05-21 20:33:30 +05:30
khushi8112
f3f8f327df
fix: correct remarks for foreign currency payment entries
...
(cherry picked from commit c6cde700b5 )
2026-05-21 14:42:44 +00:00
Khushi Rawat
0d816010dd
Merge pull request #55148 from frappe/mergify/bp/version-16-hotfix/pr-55147
...
fix: correct description for Is Rate Adjustment Entry (Debit Note) checkbox (backport #55147 )
2026-05-21 20:08:20 +05:30
khushi8112
a39733ddd0
fix: correct description for Is Rate Adjustment Entry (Debit Note) checkbox
...
(cherry picked from commit 92c969478e )
2026-05-21 12:38:23 +00:00
Khushi Rawat
5c9149c5a5
Merge pull request #55145 from frappe/mergify/bp/version-16-hotfix/pr-55142
...
fix: don't reset net_purchase_amount for Composite Asset if already set (backport #55142 )
2026-05-21 17:11:24 +05:30
khushi8112
99642b9636
fix: don't reset net_purchase_amount for Composite Asset if already set
...
(cherry picked from commit 98dae6e43a )
2026-05-21 11:38:28 +00:00
diptanilsaha
a63b344a0a
test: add tests for supplier group hierarchy and use_for_shopping_cart filter
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit 8c43118725 )
2026-05-21 11:36:30 +00:00
diptanilsaha
54be4ee275
fix: default use_for_shopping_cart to 0 in set_taxes
...
Ensures regular transactions only match tax rules where
use_for_shopping_cart = 0, preventing webshop-specific rules
from applying to standard documents.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit 4d43c74f5f )
2026-05-21 11:36:30 +00:00
diptanilsaha
c45d2a3487
refactor: rewrite get_tax_template using query builder
...
Migrates from raw frappe.db.sql with string interpolation to frappe.qb.
Adds hierarchical supplier_group matching (mirrors customer_group behaviour).
Removes unused get_customer_group_condition helper.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit f98975f51a )
2026-05-21 11:36:30 +00:00
diptanilsaha
82793cbd4d
feat: add get_parent_supplier_groups using query builder
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit cb610b79d2 )
2026-05-21 11:36:29 +00:00
diptanilsaha
620161c526
refactor: migrate get_parent_customer_groups to query builder
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit 91a2a7b0a0 )
2026-05-21 11:36:29 +00:00
mergify[bot]
dfc91441b4
fix: consumed operation cost calculation (backport #54858 ) ( #55133 )
...
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
fix: consumed operation cost calculation (#54858 )
2026-05-21 10:33:43 +00:00
rohitwaghchaure
e630ab64eb
Merge pull request #55139 from frappe/mergify/bp/version-16-hotfix/pr-55134
...
fix: removed redundant code (backport #55134 )
2026-05-21 15:56:28 +05:30
Rohit Waghchaure
a7eb3acd1a
fix: removed redundant code
...
(cherry picked from commit 14b17cd8a6 )
2026-05-21 09:55:48 +00:00
Mihir Kandoi
02f4d9a4d6
chore: add whitelist ( #55113 )
2026-05-20 16:33:00 +00:00
mergify[bot]
6d8bbc5b6f
chore: migrate Address/Contact custom fields from JSON fixtures to install (backport #55084 ) ( #55088 )
...
Co-authored-by: diptanilsaha <diptanil@frappe.io >
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
fixtures to install (#55084 )
2026-05-20 21:24:40 +05:30
mergify[bot]
cc438a4600
fix: item price with party condition (backport #55100 ) ( #55107 )
...
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
fix: item price with party condition (#55100 )
2026-05-20 20:24:56 +05:30
mergify[bot]
b11365b8c2
fix: valuation rate missing for standalone credit notes for moving av… (backport #55102 ) ( #55104 )
...
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
fix: valuation rate missing for standalone credit notes for moving av… (#55102 )
2026-05-20 11:49:54 +00:00
mergify[bot]
bb87ffc90a
fix: set bin details when adding item using update items (backport #55096 ) ( #55098 )
...
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
fix: set bin details when adding item using update items (#55096 )
2026-05-20 16:21:10 +05:30
mergify[bot]
17bc2b691f
fix: incorrect error message string in sales order (backport #55090 ) ( #55095 )
...
Co-authored-by: Shllokkk <140623894+Shllokkk@users.noreply.github.com >
fix: incorrect error message string in sales order (#55090 )
2026-05-20 09:33:40 +00:00
mergify[bot]
36aca51fbb
fix(manufacturing): fetch from_bom name in production plan (backport #55085 ) ( #55092 )
...
Co-authored-by: Pandiyan P <pandiyanpalani37@gmail.com >
fix(manufacturing): fetch from_bom name in production plan (#55085 )
2026-05-20 09:19:31 +00:00
mergify[bot]
56a9b37fac
fix(stock): remove recalculate current qty function (backport #54774 ) ( #55075 )
...
Co-authored-by: Sudharsanan Ashok <135326972+Sudharsanan11@users.noreply.github.com >
fix(stock): remove recalculate current qty function (#54774 )
2026-05-20 14:41:55 +05:30
Frappe PR Bot
6ef4a2d82c
chore(release): Bumped to Version 16.19.1
...
## [16.19.1](https://github.com/frappe/erpnext/compare/v16.19.0...v16.19.1 ) (2026-05-20)
### Bug Fixes
* faster range calculation on process period closing voucher ([fa4aa0c ](fa4aa0c1b6 ))
v16.19.1
2026-05-20 07:25:32 +00:00
ruthra kumar
e4e796146d
Merge pull request #55082 from frappe/mergify/bp/version-16/pr-55072
...
perf: faster opening balance range calculation in process period closing voucher (backport #55072 )
2026-05-20 12:53:58 +05:30
ruthra kumar
ea1d0cc277
refactor: ppcv select with for update and skip locked
...
(cherry picked from commit eba58b2837 )
2026-05-20 06:51:01 +00:00
ruthra kumar
fa4aa0c1b6
fix: faster range calculation on process period closing voucher
...
(cherry picked from commit ee33574a6d )
2026-05-20 06:51:01 +00:00
ruthra kumar
05f641d3bc
Merge pull request #55078 from frappe/mergify/bp/version-16-hotfix/pr-55072
...
perf: faster opening balance range calculation in process period closing voucher (backport #55072 )
2026-05-20 12:06:32 +05:30
ruthra kumar
830d035459
refactor: ppcv select with for update and skip locked
...
(cherry picked from commit eba58b2837 )
2026-05-20 06:19:03 +00:00
ruthra kumar
e56ee383bc
fix: faster range calculation on process period closing voucher
...
(cherry picked from commit ee33574a6d )
2026-05-20 06:19:02 +00:00
Frappe PR Bot
fdfcbf72bd
chore(release): Bumped to Version 16.19.0
...
# [16.19.0](https://github.com/frappe/erpnext/compare/v16.18.3...v16.19.0 ) (2026-05-20)
### Bug Fixes
* add filter subtitle in print formats ([c4037da ](c4037daca8 ))
* add warehouse vaildation for repack entry (backport [#54866 ](https://github.com/frappe/erpnext/issues/54866 )) ([#54901 ](https://github.com/frappe/erpnext/issues/54901 )) ([596c257 ](596c2571f6 ))
* changes to gl print template ([caa524f ](caa524f661 ))
* disallow editing on reversal journals ([6a53982 ](6a53982f4a ))
* **general-ledger:** show raw GL entries when categorize_by is empty (backport [#54816 ](https://github.com/frappe/erpnext/issues/54816 )) ([#54830 ](https://github.com/frappe/erpnext/issues/54830 )) ([c041cd2 ](c041cd27b5 ))
* handle None delivery_date when sorting MPS data (backport [#55028 ](https://github.com/frappe/erpnext/issues/55028 )) ([#55059 ](https://github.com/frappe/erpnext/issues/55059 )) ([f272d32 ](f272d32f80 ))
* improve design and refactor ar print template ([059372a ](059372add5 ))
* improve filter details render logic to avoid showing duplicate information ([040b31d ](040b31d3a7 ))
* incoming rate for legacy serial no (backport [#54962 ](https://github.com/frappe/erpnext/issues/54962 )) ([#54978 ](https://github.com/frappe/erpnext/issues/54978 )) ([6bce78c ](6bce78c66d ))
* minor bug fixes for ar print template ([09b19f7 ](09b19f7a2a ))
* minor bugs in print templates ([e1446fc ](e1446fc6f4 ))
* minor changes in print template ([0ead229 ](0ead2296e6 ))
* minor changes in print template ([16bc28b ](16bc28bd70 ))
* minor changes in print templates ([0d50e03 ](0d50e03595 ))
* minor text issues in print ([daaa4ca ](daaa4ca0c8 ))
* normalize date comparison to avoid datatype mismatch ([42f6cb4 ](42f6cb40d1 ))
* **patch:** drop dead procedures first before other changes ([0df9591 ](0df9591910 ))
* **payment_entry:** fix paid/received amount calculation for multi-currency accounts (backport [#54963 ](https://github.com/frappe/erpnext/issues/54963 )) ([#54970 ](https://github.com/frappe/erpnext/issues/54970 )) ([48b09eb ](48b09eb52e ))
* posting date and time ([1c44c60 ](1c44c60dbd ))
* prevent duplicate task execution and timestamp error in transaction deletion (backport [#55021 ](https://github.com/frappe/erpnext/issues/55021 )) ([#55025 ](https://github.com/frappe/erpnext/issues/55025 )) ([9857cc6 ](9857cc64d6 ))
* remove parent page ([10b4090 ](10b409005d ))
* remove sql procedure method from AR report ([414319d ](414319daeb ))
* revamp print formats for accounts receivable summary and accounts payable summary reports ([928fab6 ](928fab6f7e ))
* status not changing for dropshipped POs and SOs (backport [#54934 ](https://github.com/frappe/erpnext/issues/54934 )) ([#54937 ](https://github.com/frappe/erpnext/issues/54937 )) ([3c571a1 ](3c571a1691 ))
* stock balance showing incorrect value because of incorrect SLE ([0b3344b ](0b3344bad9 ))
* **stock:** add whole number quantity validation in Stock Reconciliation (backport [#54922 ](https://github.com/frappe/erpnext/issues/54922 )) ([#54925 ](https://github.com/frappe/erpnext/issues/54925 )) ([c499454 ](c4994548c3 ))
* **stock:** ignore fetching warehouse account for asset items (backport [#54403 ](https://github.com/frappe/erpnext/issues/54403 )) ([#54961 ](https://github.com/frappe/erpnext/issues/54961 )) ([5e5b5cf ](5e5b5cfa0c ))
* **stock:** update buying amount calculation in gross profit report (backport [#55020 ](https://github.com/frappe/erpnext/issues/55020 )) ([#55024 ](https://github.com/frappe/erpnext/issues/55024 )) ([8870619 ](88706192d7 ))
* styling in trial_balance.html and print format ([9a18d31 ](9a18d318d9 ))
* toast message for item price insert ([#55009 ](https://github.com/frappe/erpnext/issues/55009 )) ([c967792 ](c967792ccb ))
* use route_options for Credit Note and Debit Note sidebar links (backport [#55026 ](https://github.com/frappe/erpnext/issues/55026 )) ([#55063 ](https://github.com/frappe/erpnext/issues/55063 )) ([1941c3b ](1941c3b136 ))
* **UX:** Buying settings form cleanup ([#54731 ](https://github.com/frappe/erpnext/issues/54731 )) ([e7ae296 ](e7ae296614 ))
* **UX:** Item master form cleanup ([#54538 ](https://github.com/frappe/erpnext/issues/54538 )) ([0eb049c ](0eb049cd85 ))
* validate company region in uae vat 201 (backport [#54899 ](https://github.com/frappe/erpnext/issues/54899 )) ([#55055 ](https://github.com/frappe/erpnext/issues/55055 )) ([4015c2b ](4015c2b9a4 ))
* warn when accounting dimension fieldname conflicts with existing fields (backport [#55036 ](https://github.com/frappe/erpnext/issues/55036 )) ([#55062 ](https://github.com/frappe/erpnext/issues/55062 )) ([68a5eae ](68a5eae3ff ))
### Features
* add print format for accounts payable report ([1c6dc80 ](1c6dc80b70 ))
* introduce print format for Accounts Receivable report ([4e7f2ee ](4e7f2eeaa0 ))
* introduce print formats for financial statements ([3283c46 ](3283c461f1 ))
* print format for report trial balance ([1d08448 ](1d08448d1a ))
### Reverts
* Revert "fix: debit credit not equal in purchase transactions for mult… (backport [#54906 ](https://github.com/frappe/erpnext/issues/54906 )) ([#54908 ](https://github.com/frappe/erpnext/issues/54908 )) ([0d07083 ](0d07083299 ))
v16.19.0
2026-05-20 04:10:54 +00:00
diptanilsaha
fb7f820885
Merge pull request #55051 from frappe/version-16-hotfix
...
chore: release v16
2026-05-20 09:39:15 +05:30
mergify[bot]
1941c3b136
fix: use route_options for Credit Note and Debit Note sidebar links (backport #55026 ) ( #55063 )
...
Co-authored-by: Nabin Hait <nabinhait@gmail.com >
fix: use route_options for Credit Note and Debit Note sidebar links (#55026 )
2026-05-20 00:37:32 +05:30