ljain112
eed5969c28
chore: resolve conflicts
2026-08-31 17:08:48 +05:30
ljain112
ae01c21614
chore: resolve conflicts
2026-08-31 16:56:39 +05:30
ljain112
7090c6fdab
fix(taxes): skip tax addition for invoice created from opening invoice tool
...
(cherry picked from commit e08a166281 )
# Conflicts:
# erpnext/accounts/doctype/opening_invoice_creation_tool/test_opening_invoice_creation_tool.py
# erpnext/accounts/services/taxes.py
2026-08-31 09:35:34 +00:00
Nishka Gosalia
0f84b25964
Merge pull request #58593 from frappe/mergify/bp/version-15-hotfix/pr-58325
...
fix(projects): check read permission on source in create_duplicate_project (backport #58325 )
2026-08-31 14:31:04 +05:30
Shllokkk
0ea03a688b
chore(projects): add type hints to create_duplicate_project
2026-08-31 14:04:32 +05:30
Shllokkk
af8c010aa8
fix(projects): check read permission on source in create_duplicate_project
...
(cherry picked from commit 8c8b282a2e )
2026-08-31 07:11:10 +00:00
mergify[bot]
c656497aac
fix(timesheet): scoping whitelisted methods output to projects and timesheets that are acccessible to users (backport #58267 ) ( #58576 )
...
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
2026-08-30 18:36:29 +00:00
Mihir Kandoi
9c19b024db
fix(manufacturing): use packed row delivery date ( #58569 )
2026-08-30 11:14:14 +00:00
Henil Maru
7454735595
fix: Work Order picks wrong Delivery Date when Sales Order has the same item in multiple rows ( #58527 )
2026-08-30 15:56:38 +05:30
mergify[bot]
2d46bb962c
fix(stock): load available serial no report (backport #58558 ) ( #58561 )
...
fix(stock): load available serial no report (#58558 )
(cherry picked from commit 8b43394533 )
Co-authored-by: Pandiyan P <pandiyanpalani37@gmail.com >
2026-08-29 14:56:06 +00:00
mergify[bot]
6a632d6d1c
refactor(stock): remove dead warehouse_condition branch on get_stock_ledger_entries (backport #58552 ) ( #58553 )
...
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
2026-08-29 17:55:45 +05:30
Shllokkk
e19686053f
Merge pull request #58543 from frappe/mergify/bp/version-15-hotfix/pr-58324
...
fix(crm): check write permission in edit_note (backport #58324 )
2026-08-29 13:28:02 +05:30
Shllokkk
f0ac82605c
chore: resolve merge conflicts
2026-08-29 13:08:42 +05:30
Shllokkk
2b2a005682
fix(crm): check write permission in edit_note
...
(cherry picked from commit eb49f51d29 )
# Conflicts:
# erpnext/crm/utils.py
2026-08-28 15:05:16 +00:00
mergify[bot]
c4e7cfa6a0
fix: persist redistributed additional costs during stock entry repost (backport #58433 ) ( #58532 )
...
* fix: persist redistributed additional costs during stock entry repost (#58433 )
* fix: persist redistributed additional costs during stock entry repost
* test: cover additional cost persistence on stock entry recalculation
(cherry picked from commit 074c84e880 )
# Conflicts:
# erpnext/stock/doctype/repost_item_valuation/test_repost_item_valuation.py
* chore: fix conflicts
Removed unused import 'flt' from test file.
---------
Co-authored-by: Afsal Syed <146159709+Afsalsyed@users.noreply.github.com >
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com >
2026-08-28 10:42:27 +00:00
Sudharsanan Ashok
1aa7528119
Merge pull request #58494 from frappe/mergify/bp/version-15-hotfix/pr-58493
...
fix(selling): check quotation write permission before marking lost (backport #58493 )
2026-08-28 13:29:46 +05:30
Sudharsanan Ashok
1a92047887
Merge pull request #58496 from frappe/mergify/bp/version-15-hotfix/pr-58492
...
fix(selling): check sales order permission before work order creation (backport #58492 )
2026-08-28 13:15:00 +05:30
pandiyan
33ebc7d7e3
fix(selling): check quotation write permission before marking lost ( #58493 )
...
(cherry picked from commit 5f99a3418d )
# Conflicts:
# erpnext/selling/doctype/quotation/quotation.py
2026-08-28 13:04:34 +05:30
pandiyan
0609b06564
fix(selling): check sales order permission before work order creation ( #58492 )
...
(cherry picked from commit a8ba713f80 )
# Conflicts:
# erpnext/selling/doctype/sales_order/mapper.py
2026-08-28 12:55:57 +05:30
Shllokkk
b8163e271d
Merge pull request #58500 from Shllokkk/work-order-transferred-qty-sum-alternate-items
...
fix: sum item and its alternate transferred qty on work order
2026-08-28 12:47:53 +05:30
Aarol D'Souza
44cb0c5141
Merge pull request #58426 from frappe/mergify/bp/version-15-hotfix/pr-58351
...
fix(company): throw if linked to demo_company field (backport #58351 )
2026-08-28 12:14:29 +05:30
mergify[bot]
1187fb8e01
fix(accounts): set pos profile on invoices respecting user permissions (backport #58508 ) ( #58518 )
...
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
2026-08-28 06:42:02 +00:00
Aarol D'Souza
be0fc95758
Merge branch 'version-15-hotfix' into mergify/bp/version-15-hotfix/pr-58351
2026-08-28 11:48:39 +05:30
AarDG10
3edd8ee8be
refactor: remove bold from formatter
2026-08-28 11:48:07 +05:30
Sudharsanan Ashok
d5318fbabc
Merge pull request #58522 from frappe/mergify/bp/version-15-hotfix/pr-58521
...
Revert "refactor(stock): use db.count for the empty ledger check (backport #58486 )" (backport #58521 )
2026-08-27 23:10:06 +05:30
mergify[bot]
d87a4b2541
fix: translate doctype in map msg (backport #58515 ) ( #58516 )
...
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com >
2026-08-27 19:26:19 +02:00
Sudharsanan11
c6717fb758
fix: resolve conflicts
2026-08-27 22:51:14 +05:30
Sudharsanan Ashok
0e7be81f86
Revert "refactor(stock): use db.count for the empty ledger check (backport #58486 )"
...
(cherry picked from commit 8287906a71 )
# Conflicts:
# erpnext/stock/stock_ledger.py
2026-08-27 17:16:30 +00:00
mergify[bot]
5a518951e4
fix(projects): ignore cancelled invoices in timesheet portal (backport #58501 ) ( #58503 )
...
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
2026-08-27 13:24:40 +00:00
Mihir Kandoi
099a5a71d9
fix(manufacturing): preserve job card qty in mr transfer (backport #58482 ) ( #58498 )
2026-08-27 12:39:48 +00:00
Shllokkk
70dff35736
test: transferred qty sums item and its alternate
2026-08-27 17:54:07 +05:30
Shllokkk
5851bb3b6e
fix: sum item and its alternate transferred qty on work order required items
2026-08-27 17:47:05 +05:30
Sudharsanan Ashok
b00062df86
fix(stock): reset bin when a repost finds no stock ledger entries ( #58434 )
...
* fix(stock): reset bin when a repost finds no stock ledger entries
`build()` wipes `prev_sle_dict` in `initialize_reposting()` before `update_bin()`
runs, so a repost over an item and warehouse whose ledger is empty writes no bin
at all. `actual_qty`, `stock_value` and `valuation_rate` keep their last values,
bin totals drift from the stock balance, and reposting again cannot heal it.
Reset those bins as a terminal step in `update_bin()`, guarded by a re-check that
no live SLE exists so ordinary valuation is untouched.
Cancel is already correct on this branch, since `initialize_previous_data()` seeds
zeros when there is no previous SLE and the sle_id path never calls
`initialize_reposting()`. That seeding stays; this is a repost-path fix only.
develop drops it in #58362 because the `cancelled` guard makes it dead code there.
* test(stock): cover bin reset when the stock ledger is empty
2026-08-27 16:23:10 +05:30
Sudharsanan Ashok
2ce0bb1009
Merge pull request #58474 from frappe/mergify/bp/version-15-hotfix/pr-58469
...
fix: clarify duplicate internal party messages (backport #58469 )
2026-08-27 16:13:40 +05:30
Sudharsanan Ashok
25ec044c09
Merge pull request #58428 from frappe/mergify/bp/version-15-hotfix/pr-58402
...
feat(analytics): filter sales and purchase analytics by entity (backport #58402 )
2026-08-27 16:12:13 +05:30
Aarol D'Souza
81cf874fd7
Merge branch 'version-15-hotfix' into mergify/bp/version-15-hotfix/pr-58351
2026-08-27 15:42:27 +05:30
mergify[bot]
d62f6e715f
fix: mark item tax templates as not applicable (backport #54673 ) (backport #54677 ) ( #58462 )
...
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com >
2026-08-27 09:46:30 +00:00
Pandiyan P
045d7086d1
fix(accounts): validate frozen accounts in period closing voucher ( #58477 )
2026-08-27 08:46:01 +00:00
Shllokkk
6f95c1ff92
Merge pull request #58473 from frappe/mergify/bp/version-15-hotfix/pr-58470
...
fix: validate items against source Sales Order in Material Request (backport #58470 )
2026-08-27 14:04:44 +05:30
pandiyan
17208e7434
fix: clarify duplicate internal party messages ( #58469 )
...
(cherry picked from commit 4d4cf034b5 )
# Conflicts:
# erpnext/selling/doctype/customer/customer.py
2026-08-27 13:53:43 +05:30
Shllokkk
59a9819dae
test: block item change on Sales Order-sourced Material Request row
...
(cherry picked from commit 07f8250e40 )
# Conflicts:
# erpnext/stock/doctype/material_request/test_material_request.py
2026-08-27 13:17:29 +05:30
Shllokkk
32d44c6e91
fix: validate items against source Sales Order in Material Request
...
(cherry picked from commit 65466464df )
2026-08-27 07:36:46 +00:00
Sudharsanan11
605918d3a2
fix: resolve analytics backport conflicts
2026-08-26 16:10:56 +05:30
Sudharsanan Ashok
0dddd00073
feat(analytics): filter sales and purchase analytics by entity ( #58402 )
...
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
(cherry picked from commit 3f29cdf8d2 )
# Conflicts:
# erpnext/buying/report/purchase_analytics/purchase_analytics.js
# erpnext/buying/report/purchase_analytics/test_purchase_analytics.py
# erpnext/selling/report/sales_analytics/sales_analytics.py
# erpnext/selling/report/sales_analytics/test_sales_analytics.py
2026-08-26 16:10:56 +05:30
Shllokkk
3bf19df761
Merge pull request #58440 from Shllokkk/incorrect-serial-batch-bundle-letter-head
...
fix: reset hardcoded letter head on Incorrect Serial and Batch Bundle report
2026-08-26 15:49:34 +05:30
Shllokkk
ccdaa92de8
fix: reset hardcoded letter head on Incorrect Serial and Batch Bundle report
2026-08-26 14:50:32 +05:30
Sudharsanan Ashok
6d59065d79
Merge pull request #58424 from frappe/mergify/bp/version-15-hotfix/pr-58405
...
fix(stock): keep pick list links when refetching stock entry items (backport #58374 ) (backport #58405 )
2026-08-26 13:40:13 +05:30
Jatin3128
228ab2d97e
fix: keep source rate on re-fetch when maintain same rate is enabled (backport #57479 ) ( #58332 )
...
* fix: keep source rate on re-fetch when maintain same rate is enabled (backport #57479 )
With "maintain same rate" on, re-fetching item details on a row mapped from a
source document (e.g. a Purchase Order) pulled the latest Item Price, giving a
rate the document can never be saved with. Skip the price list fetch for such
rows and keep the source rate, both for a single-row re-fetch and the bulk
apply_price_list path (price list / party / conversion rate change).
The rate is read from the linked source row in the database (not the mutable
target row) and permission-checked against the source document, so an unsaved
edit can't lock in a different rate and a crafted request can't disclose
another document's pricing.
Fixes frappe/erpnext#57436
* fix: resolve linter findings in get_item_details
Add missing type hints on the whitelisted get_item_details
signature and rename maintain_same_rate_enabled's sole "args"
parameter, both flagged by the semgrep security/code-quality
rules. Also drops an extra blank line that ruff-format rejected.
* fix: widen get_item_details doc type hint to include Document
accounts_controller.py calls get_item_details(args, self, ...)
during validate, passing the transaction Document itself, not
a dict/JSON string. The narrower hint tripped Frappe's runtime
argument type validation on every whitelisted call with a live
Document, failing test-record creation across the suite.
2026-08-26 13:14:25 +05:30
Sudharsanan11
e126c4597b
fix: resolve stock entry backport conflicts
2026-08-26 13:09:08 +05:30
Sudharsanan11
22377fa86d
fix(stock): keep pick list links when refetching stock entry items
...
(cherry picked from commit 01e0844d40 )
# Conflicts:
# erpnext/stock/doctype/stock_entry/stock_entry.js
2026-08-26 13:09:08 +05:30