mergify[bot]
954a5ec006
fix(stock): confirm before changing item qty from the batch selector (backport #58123 ) ( #58124 )
...
fix(stock): confirm before changing item qty from the batch selector (#58123 )
the batch selector silently overwrote the item qty with the bundle total,
so editing a row qty in the dialog changed the delivered qty without any
warning. prompt for confirmation when the rows do not add up to the qty
to fetch, and only proceed if the user agrees.
(cherry picked from commit a2976dd29e )
Co-authored-by: Sudharsanan Ashok <135326972+Sudharsanan11@users.noreply.github.com >
2026-08-13 16:40:26 +05:30
Mihir Kandoi
a1ecea1794
fix(manufacturing): derive material transfers from actual coverage ( #58114 )
2026-08-13 09:39:21 +00:00
Diptanil Saha
a7e21e834d
Merge pull request #58111 from frappe/mergify/bp/version-15-hotfix/pr-55491
...
fix: remove ignore_permissions from get_party_details signature (backport #55491 )
2026-08-13 13:26:09 +05:30
diptanilsaha
23919967f6
chore: resolve conflicts
2026-08-13 13:01:53 +05:30
Shllokkk
4cd39aa147
fix: remove ignore_permissions from get_party_details signature ( #55491 )
...
(cherry picked from commit efb8336bf8 )
# Conflicts:
# erpnext/accounts/doctype/sales_invoice/sales_invoice.py
# erpnext/accounts/party.py
2026-08-13 07:23:22 +00:00
Khushi Rawat
afa2437910
Merge pull request #57564 from khushi8112/refactor-depreciation-entry-v15
...
refactor: split make_depreciation_entry into public and internal helpers
2026-08-13 12:33:09 +05:30
Khushi Rawat
9638e81762
Merge pull request #58088 from frappe/mergify/bp/version-15-hotfix/pr-57820
...
fix(assets): split fifo/lifo rate across grouped stock item rows (backport #57820 )
2026-08-13 12:28:26 +05:30
ervishnucs
1e23d48a5b
test(assets): cover grouped stock item rows splitting FIFO rate
...
(cherry picked from commit 2cbc5b89d6 )
# Conflicts:
# erpnext/assets/doctype/asset_capitalization/test_asset_capitalization.py
2026-08-13 12:01:31 +05:30
khushi8112
6650ac8c36
refactor: split make_depreciation_entry into public and internal helpers
2026-08-13 11:39:33 +05:30
mergify[bot]
bfa3edbf95
Fix/item description in the item price list (backport #58084 ) ( #58101 )
...
Co-authored-by: Mohsin Akhtar <167299936+akhtarmohsin@users.noreply.github.com >
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
2026-08-13 04:42:02 +00:00
mergify[bot]
8c8a4b6f20
fix: filter available batch report by company (backport #57995 ) ( #58076 )
...
Co-authored-by: Krishna Shirsath <shirsathkrishna19@gmail.com >
2026-08-12 17:33:56 +05:30
ervishnucs
c2c4e5ee8b
fix(assets): split FIFO/LIFO rate across grouped stock item rows
...
(cherry picked from commit a05ec49062 )
2026-08-12 09:04:48 +00:00
Diptanil Saha
d0ef967890
fix(coa_importer): added server-side validations for importing chart of accounts (backport #58065 ) ( #58067 )
2026-08-11 22:54:34 +00:00
Diptanil Saha
00d8dc73b9
fix(coa_importer): allow importing COA through import_coa only for Accounts Manager (backport #56132 ) ( #58064 )
...
Co-authored-by: Pratheep S <pratheeps2024@gmail.com >
2026-08-11 21:16:40 +00:00
mergify[bot]
01372cf295
fix(selling): reset stale item details on item change (backport #58051 ) ( #58052 )
2026-08-11 15:54:04 +00:00
Mihir Kandoi
9c9bc8e9bf
Merge pull request #58039 from mihir-kandoi/backport-58036-version-15-hotfix
...
fix(stock): validate warehouse accounts when used (backport #58036 )
2026-08-11 19:15:29 +05:30
Mihir Kandoi
5a61ea6496
test(stock): isolate warehouse account fixtures from class-level state
...
FrappeTestCase on this branch rolls back per class, not per test, so
sibling tests leak state. test_new_warehouse_can_inherit_inventory_account
left an explicit account on the root group, which made later ambiguous
fixtures resolve through the root: the insert validation stopped raising
and the unresolved warehouse stayed in the map.
The fixture helper now clears group warehouse accounts so every call
re-establishes ambiguity. The fallback test also clears the account of
the warehouse it picks, since a leftover explicit account skips the
single-account fallback it asserts.
2026-08-11 18:58:49 +05:30
Mihir Kandoi
da2c422bf6
test(stock): cover named validation error and same-transaction parent inheritance
2026-08-11 18:31:25 +05:30
Mihir Kandoi
5e3d0947c8
fix(stock): validate new warehouse inventory account after naming
...
Move the insert-time check from before_insert to validate. before_insert
runs before set_new_name, so the validation message rendered the
warehouse name as None. validate runs after naming and only applies to
new documents via is_new().
Resolve inheritance through the parent's lft/rgt bounds instead of the
request-cached warehouse account map. The cached map can be stale within
a request (a parent created moments earlier is missing from it), which
made get_warehouse_account trigger a full nested-set rebuild_tree and
could falsely reject a child whose parent carries a valid account.
rebuild_tree enables auto_commit_on_many_writes, which must not run
inside a document insert.
2026-08-11 18:31:25 +05:30
Mihir Kandoi
d620720445
fix(stock): validate warehouse accounts when used
2026-08-11 18:04:30 +05:30
Mihir Kandoi
f5e411669a
Merge pull request #58022 from frappe/mergify/bp/version-15-hotfix/pr-58020
...
fix(setup): fetch driver address by supplier link (backport #58020 )
2026-08-11 15:31:09 +05:30
Mihir Kandoi
2a4a9fff3d
fix(setup): fetch driver address by supplier link
...
(cherry picked from commit 3ffb888d26 )
2026-08-11 09:47:54 +00:00
Mihir Kandoi
5c3063fa43
Merge pull request #58011 from mihir-kandoi/backport-58003-version-15-hotfix
...
fix(selling): bill re-delivered sales order quantities (backport #58003 )
2026-08-11 14:10:29 +05:30
Mihir Kandoi
39e4641a29
Merge pull request #58015 from mihir-kandoi/require-transfer-before-job-card-start-v15
...
fix: require material transfer before job card time logs (v15)
2026-08-11 14:04:17 +05:30
Mihir Kandoi
ac4e9c34cf
chore(selling): annotate make_sales_invoice arguments
2026-08-11 13:49:48 +05:30
Mihir Kandoi
b70fa4fdd1
test: job card time log blocked until material transfer
2026-08-11 13:41:59 +05:30
Mihir Kandoi
2e5ae188d6
fix: require material transfer before job card time logs
...
v15 adaptation of the develop fix: the timer flow here runs through
add_time_log via make_time_log, so gate that instead of the
start_timer/complete_job_card methods that only exist on develop, and
hide Start Job while transfer is pending. Corrective job cards and
job cards without items (transfer against Work Order) stay exempt,
matching validate_transfer_qty on submit.
2026-08-11 13:41:57 +05:30
Mihir Kandoi
a99b10d213
Merge pull request #58008 from frappe/codex/backport-57963-version-15
...
fix(manufacturing): correct nested BOM Explorer quantities
2026-08-11 13:34:29 +05:30
Mihir Kandoi
220b25db09
test(selling): cover invoicing after returns and re-deliveries
2026-08-11 13:26:00 +05:30
Mihir Kandoi
47c6274b13
fix(selling): bill re-delivered sales order quantities
2026-08-11 13:25:59 +05:30
Mihir Kandoi
5c2123f6ed
fix(manufacturing): avoid child BOM cache lookups
2026-08-11 13:14:49 +05:30
Mihir Kandoi
bb72ae6a3c
Merge pull request #58001 from frappe/mergify/bp/version-15-hotfix/pr-57997
...
fix: keep item code searchable when a barcode matches the same text (backport #57997 )
2026-08-11 13:08:48 +05:30
Mihir Kandoi
a3103469e2
fix(manufacturing): correct nested BOM quantities
2026-08-11 13:01:41 +05:30
Mihir Kandoi
43b874f0d4
Merge pull request #57998 from frappe/mergify/bp/version-15-hotfix/pr-57972
...
refactor: drop redundant time_in_mins assignment in workstation complete_job (backport #57972 )
2026-08-11 12:28:42 +05:30
Kaushal Shriwas
a9743ae5da
chore: resolve backport conflict in bom.py
2026-08-11 12:25:29 +05:30
Kaushal Shriwas
760b365225
test(manufacturing): cover BOM item search when item code collides with a barcode
...
(cherry picked from commit 23024d1ea9 )
2026-08-11 06:42:55 +00:00
Kaushal Shriwas
0310db22ec
fix(manufacturing): keep item code searchable when a barcode matches the same text
...
(cherry picked from commit bf5d506637 )
# Conflicts:
# erpnext/manufacturing/doctype/bom/mapper.py
2026-08-11 06:42:55 +00:00
Mihir Kandoi
496883f4e1
refactor: drop redundant time_in_mins assignment in complete_job
...
(cherry picked from commit 3cffeb68e3 )
2026-08-11 06:39:14 +00:00
pandiyan
5e753ec6e4
fix: convert hours to minutes in workstation complete_job
...
`time_diff_in_hours` returns hours, so `time_in_mins` needs `* 60`, not
`/ 60`. Matches `Job Card.validate_time_log_row`.
No behaviour change: the `doc.save()` on the next line runs Job Card's
`validate`, which recomputes `time_in_mins` correctly before the row is
written. This only stops the expression from reading as a bug.
(cherry picked from commit 422a9161dd )
2026-08-11 06:39:14 +00:00
mergify[bot]
27af9baaa5
refactor(queries): using frappe.get_query in get_filtered_child_rows (backport #57991 ) ( #57992 )
...
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
2026-08-10 19:51:55 +00:00
mergify[bot]
a0d156120b
fix: field validation and perm checks on get_stock_reservation_entries_for_voucher (backport #57968 ) ( #57986 )
...
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
2026-08-10 22:04:42 +05:30
mergify[bot]
713af31eda
fix: preserve custom title on new JV (backport #57987 ) ( #57988 )
...
Co-authored-by: rehanrehman389 <rehanrehman389@gmail.com >
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
2026-08-10 16:27:03 +00:00
ruthra kumar
df8edcdc91
Merge pull request #57830 from aerele/backport-57140-v15
...
fix: clear deferred revenue/expense fields on uncheck (backport #57140 )
2026-08-10 15:04:11 +05:30
Pandiyan P
d510978a44
fix: re-check future sle before queuing repost on submit ( #57664 ) ( #57960 )
...
* test: cover both repost branches and the no-repost case
* fix: queue repost for entries backdated by a concurrent submit
---------
(cherry picked from commit 399ff463cc )
Co-authored-by: nareshkannasln <nareshkannashanmugam@gmail.com >
2026-08-10 14:03:41 +05:30
mergify[bot]
f9a09f0ac4
fix: skip incoming rate calc when serial no qty is zero (backport #57427 ) ( #57956 )
...
fix: skip incoming rate calc when serial no qty is zero (#57427 )
(cherry picked from commit a25decfa50 )
Co-authored-by: Shllokkk <140623894+Shllokkk@users.noreply.github.com >
2026-08-10 06:48:58 +00:00
Khushi Rawat
a2b2f5173e
Merge pull request #57823 from Shllokkk/asset-repair-downtime-recalc-v15
...
fix: keep asset repair downtime in sync with entered dates
2026-08-10 12:05:01 +05:30
mergify[bot]
2ca71f16c4
fix: escape customer_details on lead creation from appointment (backport #57947 ) ( #57948 )
...
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
2026-08-09 19:30:11 +00:00
Shllokkk
ae18d13e6e
Merge pull request #57928 from Shllokkk/sales-register-ledger-pos-paid-v15
...
fix: reflect in-invoice receivable credits in Sales Register ledger view
2026-08-09 23:39:00 +05:30
Shllokkk
7edb95628c
test: cover POS-paid invoice in Sales Register ledger view
2026-08-09 20:22:31 +05:30
Shllokkk
91afc04d9f
fix: reflect in-invoice receivable settlements in Sales Register ledger view
2026-08-09 20:22:31 +05:30