pandiyan
15041a62dd
fix(accounts): disallow reversing a reverse journal entry
...
check read permission on the source entry before the guard runs, so the reversal relationship is not disclosed to a user who cannot read it.
2026-08-14 17:06:23 +05:30
pandiyan
754e7052ca
test(accounts): cover reversal of a reverse journal entry
...
also assert that a user without read access on the entry gets a permission error instead of the reversal relationship.
2026-08-14 16:56:06 +05:30
rohitwaghchaure
faaaa0776d
feat: sync serial no status from stock ledger in Stock Qty vs Serial No Count report (version-15-hotfix) ( #57865 )
...
* feat: sync serial no status from stock ledger in Stock Qty vs Serial No Count report
* fix: pick last bundle move in SQL ordered by posting datetime and SLE creation
* fix: derive synced serial no status from stock ledger helper and validate sync args
* fix: use posting datetime for last bundle move after version-15 field rename
* fix: order last bundle moves by bundle posting datetime
2026-08-14 11:51:18 +05:30
Khushi Rawat
15d430b959
Merge pull request #58093 from aerele/fix/budget-non-pnl-account-message
...
fix(accounts): attributeerror on budget against a non profit and loss account
2026-08-14 11:27:35 +05:30
mergify[bot]
9cc9aa0fa5
fix: ignore historical negative batch stock in outward validation (backport #58148 ) ( #58150 )
...
fix: ignore historical negative batch stock in outward validation (#58148 )
(cherry picked from commit 9239d1c2a3 )
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com >
2026-08-14 05:48:33 +00:00
Pandiyan P
81c53931b5
fix(buying): allow purchase returns against a closed purchase order ( #58140 )
2026-08-14 09:01:03 +05:30
mergify[bot]
167cc1e5b9
fix: asset scrap flow related changes (backport #55126 ) ( #58144 )
...
Co-authored-by: khushi8112 <khushirawat23@navgurukul.org >
2026-08-13 18:41:15 +00:00
Diptanil Saha
c6e6bdccae
Merge pull request #58142 from frappe/mergify/bp/version-15-hotfix/pr-58141
...
fix(crm_settings): create `crm_deal` fields on enabling frappe crm data synchronization (backport #58141 )
2026-08-13 23:28:36 +05:30
diptanilsaha
ff1a1914a1
fix: patch to delete the crm_deal custom fields
...
(cherry picked from commit 9613d72d81 )
2026-08-13 17:39:51 +00:00
diptanilsaha
eb85ca68f6
fix(crm_settings): create custom fields for Frappe CRM on enabling synchronization
...
(cherry picked from commit be2dea0ba2 )
2026-08-13 17:39:50 +00:00
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
pandiyan
2095411a28
fix: attributeerror on budget against a non profit and loss account
2026-08-12 16:12:55 +05:30
pandiyan
5700384989
test: budget against a balance sheet account
2026-08-12 16:12:55 +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