Pandiyan P
144f92d58e
feat(manufacturing): create material request for raw materials from work order ( #56980 )
...
* feat(manufacturing): create material request for raw materials from work order
* test(manufacturing): cover work order material request flow
2026-07-09 19:43:01 +05:30
Diptanil Saha
6707d8e0ad
Merge pull request #56969 from frappe/mergify/bp/version-16-hotfix/pr-56674
...
fix(crm_settings): skip allowed users check when frappe crm is installed locally (backport #56674 )
2026-07-09 15:52:21 +05:30
diptanilsaha
eb76872da9
chore: patch to clear out allowed users on crm_settings if frappe crm is installed on the site
...
(cherry picked from commit 0f987d7135 )
2026-07-09 10:02:15 +00:00
diptanilsaha
eac3afcd88
fix(frappe_crm_api): handle failure for after_app_install and after_app_uninstall
...
(cherry picked from commit 2de423e225 )
2026-07-09 10:02:14 +00:00
diptanilsaha
cb2a930a32
feat(crm_settings): auto-update crm sync settings on frappe crm install and uninstall
...
(cherry picked from commit c86aa2d6fe )
2026-07-09 10:02:14 +00:00
diptanilsaha
dfe4d5ab73
fix(crm_settings): skip allowed users check when frappe crm is installed locally
...
(cherry picked from commit 41badb3d74 )
2026-07-09 10:02:14 +00:00
mergify[bot]
14efd14384
fix(patch): moved create_company_custom_fields from pre_model_sync to post_model_sync (backport #56962 ) ( #56965 )
...
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
2026-07-09 09:32:48 +00:00
Shllokkk
7301be3e4c
Merge pull request #56940 from frappe/mergify/bp/version-16-hotfix/pr-56926
...
fix: validate template and its variant in the same Pricing Rule (backport #56926 )
2026-07-09 01:04:17 +05:30
mergify[bot]
393b5d1f74
feat(sla): filter service level agreement link by document type (backport #56954 ) ( #56956 )
...
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com >
2026-07-08 17:29:33 +02:00
mergify[bot]
7ce1289c10
fix: added permission checks on various whitelisted functions (backport #56745 ) ( #56946 )
...
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
2026-07-08 18:10:27 +05:30
ruthra kumar
b32bfab66f
Merge pull request #56938 from frappe/mergify/bp/version-16-hotfix/pr-54043
...
fix: precision issue causing reconciliation error (backport #54043 )
2026-07-07 21:42:23 +05:30
Shllokkk
159a2538da
fix: validate template and its variant in the same Pricing Rule
...
(cherry picked from commit a88048b378 )
2026-07-07 14:30:22 +00:00
Dany Robert
20df15b3ac
fix: precision issue causing reconciliation error ( #54043 )
...
* fix: precision issue causing reconciliation error
* chore: code styling changes
* test: precision causing reconciliation failure
* fix: enhance payment reconciliation tests for floating-point precision
* fix(test): incorrect assertion on status
---------
Co-authored-by: ruthra kumar <ruthra@erpnext.com >
(cherry picked from commit be10c8ced9 )
2026-07-07 14:29:21 +00:00
MochaMind
5c6631f6af
chore: update POT file ( #56900 )
2026-07-05 20:30:21 +02:00
ruthra kumar
d27bc77644
Merge pull request #56876 from frappe/mergify/bp/version-16-hotfix/pr-56852
...
fix: race condition in process pcv (backport #56852 )
2026-07-04 16:32:51 +05:30
ruthra kumar
5a9d40ce04
chore: linter fix
...
(cherry picked from commit a9ffdac806 )
2026-07-04 10:53:20 +00:00
ruthra kumar
9cf7f441fb
refactor(test): row name based utility methods
...
(cherry picked from commit dbc409736a )
2026-07-04 10:53:19 +00:00
ruthra kumar
d759574f9a
refactor: prevent whole table scan while scheduling next date
...
- helps in concurrency isolation
(cherry picked from commit 21f4603144 )
2026-07-04 10:53:19 +00:00
ruthra kumar
019b02adcd
fix: prevent repeatable read related concurrency errors
...
Process Period Closing Voucher and Process Period Closing Voucher
Details are trackers how the jobs are processed. Keep transactions on
them very short.
(cherry picked from commit 7e4045e828 )
2026-07-04 10:53:19 +00:00
ruthra kumar
6d9f5fac76
fix: race condition and repeatable read in process pcv
...
- Update using child table name to avoid scanning whole table, which
eventually leads to mariadb 1020 (REPEATABLE READ).
- Avoid race condition in final summarization
(cherry picked from commit ff6881764b )
2026-07-04 10:53:19 +00:00
Mihir Kandoi
8277d62025
Merge pull request #56870 from frappe/mergify/bp/version-16-hotfix/pr-56859
...
Fix(stock): item form permission errors (backport #56859 )
2026-07-04 14:18:51 +05:30
pandiyan
c964811293
fix: skip item prices tab render for users without item price read access
...
(cherry picked from commit ef794f390c )
2026-07-04 08:38:42 +00:00
pandiyan
a39753ee08
fix: clear stray permission message when item dashboard has no warehouse access
...
(cherry picked from commit 8c7b2f4d3c )
2026-07-04 08:38:42 +00:00
Pandiyan P
3c1f163e3b
Merge pull request #56863 from frappe/mergify/bp/version-16-hotfix/pr-56837
...
fix: remove company default on cost center in stock entry detail (backport #56837 )
2026-07-04 12:57:19 +05:30
Pandiyan P
3aad7fee24
fix: resolve conflicts
2026-07-04 12:46:32 +05:30
rohitwaghchaure
17f2de42f3
fix: auto fetch serial no from previous operation output (backport to v16) ( #56861 )
2026-07-03 17:32:05 +00:00
mergify[bot]
1da28f2278
fix: use live source warehouse valuation for internal transfer purchase receipts (backport #56431 ) ( #56677 )
...
fix: use live source warehouse valuation for internal transfer purchase receipts (#56431 )
fix: anchor incoming SLE rate to DN rate for intra-company PR transfers
(cherry picked from commit 35de9deb0a )
Co-authored-by: Shllokkk <140623894+Shllokkk@users.noreply.github.com >
2026-07-03 22:48:35 +05:30
pandiyan
149af49d01
test: cover cost center fallback to item group default in manufacture entry
...
the existing test_cost_center_for_manufacture only checks a raw material
row against an item-level override, which is set independently of the
":company" default guard and never exercised the bug.
(cherry picked from commit a168bb7ea4 )
2026-07-03 15:43:14 +00:00
pandiyan
a1fe6cee5d
fix: remove company default on cost center in stock entry detail
...
the ":company" default pre-filled every row before set_default_cost_center()
ran, so its "if not row.cost_center" guard was always false and the
project/item group/brand priority chain in get_default_cost_center()
never ran.
(cherry picked from commit edfa0a7a1d )
# Conflicts:
# erpnext/stock/doctype/stock_entry_detail/stock_entry_detail.json
2026-07-03 15:43:14 +00:00
Mihir Kandoi
d20b18a209
Merge pull request #56825 from aerele/backport-56806
...
fix: skip stock reservation for opted-out production plans
2026-07-03 13:56:00 +05:30
Mihir Kandoi
f6916c6f2d
Merge pull request #56839 from frappe/mergify/bp/version-16-hotfix/pr-56826
...
fix: FIFO queue checks and incorrect entries filter in stock ledger reports (backport #56826 )
2026-07-03 13:51:41 +05:30
Mihir Kandoi
feb58caf1e
test: drop redundant cleanup, db rolls back after each test
...
(cherry picked from commit 3b1e57966e )
2026-07-03 07:50:22 +00:00
Mihir Kandoi
056195ce07
fix: address review comments
...
- restore mutated SLE after test via addCleanup
- explicit return False in has_difference
- comment the fifo_stock_diff guard for non-queue predecessors
(cherry picked from commit ef5f47fafd )
2026-07-03 07:50:22 +00:00
Mihir Kandoi
3571512101
fix: FIFO queue checks and incorrect entries filter in stock ledger reports
...
- 'Show Incorrect Entries' always returned an empty result (regression
from #43619 ); now returns entries from one row before the first
incorrect one
- FIFO queue columns were computed for serialized/batched SLEs that
don't maintain a stock queue, showing false differences; left empty
for such rows
- compare value/valuation differences at currency precision, qty at
float precision
(cherry picked from commit 94ab09e4a3 )
# Conflicts:
# erpnext/stock/report/stock_ledger_invariant_check/test_stock_ledger_invariant_check.py
2026-07-03 07:50:22 +00:00
Khushi Rawat
5034e110cf
Merge pull request #56813 from frappe/mergify/bp/version-16-hotfix/pr-56811
...
fix: render letter head footer in print formats (backport #56811 )
2026-07-03 12:11:49 +05:30
Khushi Rawat
b09514465d
Merge branch 'version-16-hotfix' into mergify/bp/version-16-hotfix/pr-56811
2026-07-03 11:38:18 +05:30
pandiyan
91a319c9e3
test: cover reserve stock gating on purchase receipt submit
...
(backport of #56798 )
Co-Authored-By: pandiyan <pandiyanpalani37@gmail.com >
2026-07-03 11:06:39 +05:30
pandiyan
17598e2626
fix: skip stock reservation for opted-out production plans
...
(backport of #56798 )
Co-Authored-By: pandiyan <pandiyanpalani37@gmail.com >
2026-07-03 11:06:29 +05:30
mergify[bot]
8c56a5ac0c
fix: don't attempt to create SABB for non-serialized / non-batch items (backport #56627 ) ( #56803 )
...
* fix: don't attempt to create SABB for non-serialized / non-batch items (#56627 )
* fix: don't attempt to create SABB for non-serialized / non-batch items
* fix(stock): skip serial batch lookup for rows without item code
(cherry picked from commit 5b738b7b0d )
# Conflicts:
# erpnext/stock/services/serial_batch_bundle_service.py
* chore: resolve conflicts
---------
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com >
2026-07-03 10:35:43 +05:30
khushi8112
0371e8eaf0
fix: add page numbers to print format footer
...
(cherry picked from commit 2d0c0a8c09 )
2026-07-02 21:13:53 +00:00
khushi8112
fa4d32dcdb
fix: render letter head footer in print formats
...
(cherry picked from commit e60a467972 )
2026-07-02 21:13:53 +00:00
Shllokkk
8907e8a492
Merge pull request #56805 from frappe/mergify/bp/version-16-hotfix/pr-56804
...
fix: guard against missing DocType in onboarding steps patch (backport #56804 )
2026-07-03 02:12:52 +05:30
Shllokkk
f72289e27c
fix: guard against missing DocType in onboarding steps patch ( #56804 )
...
(cherry picked from commit caa4358057 )
2026-07-02 14:04:47 +00:00
mergify[bot]
003b6554c4
fix(company): ignore user permissions for link fields having link to Account and Cost Center (backport #56748 ) ( #56795 )
...
* fix(company): ignore user permissions for link fields having link to `Account` and `Cost Center` (#56748 )
(cherry picked from commit 9cea43b006 )
# Conflicts:
# erpnext/setup/doctype/company/company.json
* chore: resolves conflict
---------
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
2026-07-02 12:55:16 +00:00
Mihir Kandoi
0e25e62750
Merge pull request #56712 from aerele/backport-56552-version-16-hotfix
...
fix: set conversion_rate on quotation created from customer
2026-07-02 15:20:39 +05:30
mergify[bot]
19d03fee46
fix: block serialized to non-serialized item change when SABB exists (backport #56773 ) ( #56775 )
...
* fix: block serialized to non-serialized item change when SABB exists (#56773 )
(cherry picked from commit 0e8ae7548d )
# Conflicts:
# erpnext/stock/doctype/item/item.py
# erpnext/stock/doctype/item/test_item.py
* chore: fix conflicts
Remove validation for standard cost change and adjust serialized item change validation.
* chore: fix conflicts
Removed test for opening stock with serial and batch numbers.
---------
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com >
2026-07-02 09:31:16 +00:00
mergify[bot]
4573cd15a9
fix: restore Save button on reverse journal entry (backport #56770 ) ( #56772 )
...
fix: restore Save button on reverse journal entry (#56770 )
Reversing a submitted Journal Entry opened a draft with reversal_of set,
which called frm.set_read_only(). That strips the write and submit perms
from frm.perm, so the toolbar never rendered the Save (or later Submit)
button and the reversal could not be saved.
Lock the fields and the accounts grid as read_only instead, leaving perms
intact so Save and Submit still work while nothing stays editable.
Ticket: 72857
(cherry picked from commit 0a05dd4426 )
Co-authored-by: Jatin3128 <140256508+Jatin3128@users.noreply.github.com >
2026-07-02 13:50:57 +05:30
Nabin Hait
0f9405646b
Merge pull request #55970 from frappe/mergify/bp/version-16-hotfix/pr-55947
...
fix(accounts): clear clearance date when amending reconciled voucher (backport #55947 )
2026-07-02 13:22:20 +05:30
Mihir Kandoi
84af478eec
Merge pull request #56753 from aerele/backport-56670
...
fix: recompute transferred qty before deciding work order status
2026-07-02 13:16:16 +05:30
Mihir Kandoi
5b133dcf18
Merge pull request #56764 from frappe/mergify/bp/version-16-hotfix/pr-56757
...
fix: don't treat batch slot at FIFO queue head as qty slot (backport #56757 )
2026-07-02 13:09:15 +05:30