Commit Graph

59116 Commits

Author SHA1 Message Date
mergify[bot]
f4928d53cb fix(stock): allow creating stock closing balances (backport #58590) (#58685)
* fix(stock): allow creating stock closing balances (#58590)

(cherry picked from commit 2918e98a2b)

# Conflicts:
#	erpnext/stock/doctype/stock_closing_entry/test_stock_closing_entry.py

* chore: fix conflicts

Removed redundant test cases and cleaned up the test structure for StockClosingEntry.

---------

Co-authored-by: Krishna Pramod Shirsath <91021227+krishna-254@users.noreply.github.com>
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
(cherry picked from commit a1c8dc878d)
2026-09-03 10:29:51 +00:00
Frappe PR Bot
0b50853985 chore(release): Bumped to Version 16.34.1
## [16.34.1](https://github.com/frappe/erpnext/compare/v16.34.0...v16.34.1) (2026-09-02)

### Bug Fixes

* filter cancelled BOMs in BOM Stock Analysis (backport [#58647](https://github.com/frappe/erpnext/issues/58647)) ([#58693](https://github.com/frappe/erpnext/issues/58693)) ([d6f9dde](d6f9dde3cb))
* improve message formatting and translation for validation issues ([#58425](https://github.com/frappe/erpnext/issues/58425)) ([a43de7c](a43de7ce95))
* include payment deductions in sales/purchase register ledger bal… (backport [#58437](https://github.com/frappe/erpnext/issues/58437)) ([#58680](https://github.com/frappe/erpnext/issues/58680)) ([4137401](41374019ba))
v16.34.1
2026-09-02 12:24:04 +00:00
Sagar Vora
c19ddf187e Merge pull request #58707 from frappe/version-16-hotfix
chore: release v16
2026-09-02 17:51:22 +05:30
Sagar Vora
5f13a04633 Merge pull request #58704 from frappe/mergify/bp/version-16-hotfix/pr-58697
fix!: improve validation in financial report template (backport #58697)
2026-09-02 17:41:50 +05:30
Sagar Vora
7aad59b129 fix!: improve validation in financial report template 2026-09-02 17:31:36 +05:30
Sagar Vora
7c61dfe3e0 Merge pull request #58487 from frappe/mergify/bp/version-16-hotfix/pr-58425
fix: improve message formatting and translation for validation issues (backport #58425)
2026-09-02 17:24:03 +05:30
mergify[bot]
41374019ba fix: include payment deductions in sales/purchase register ledger bal… (backport #58437) (#58680) 2026-09-02 17:00:42 +05:30
mergify[bot]
d6f9dde3cb fix: filter cancelled BOMs in BOM Stock Analysis (backport #58647) (#58693) 2026-09-02 15:28:17 +05:30
Frappe PR Bot
80c2c9e0e0 chore(release): Bumped to Version 16.34.0
# [16.34.0](https://github.com/frappe/erpnext/compare/v16.33.0...v16.34.0) (2026-09-02)

### Bug Fixes

* **accounts:** add permission checks on payment entry whitelisted methods ([#58644](https://github.com/frappe/erpnext/issues/58644)) ([c745558](c745558168))
* **accounts:** added permission checks on `get_available_payment_schedules` (backport [#58588](https://github.com/frappe/erpnext/issues/58588)) ([#58595](https://github.com/frappe/erpnext/issues/58595)) ([765a773](765a7736ed))
* **accounts:** guard get_gl_dict for v16 and drop unused base_gl_composer ([abf311e](abf311e8ca))
* **accounts:** prevent child table doctypes as accounting dimensions ([6dbaa50](6dbaa5048e))
* **accounts:** resolve subscription plans for any reference doctype in Payment Request (backport [#58438](https://github.com/frappe/erpnext/issues/58438)) ([#58450](https://github.com/frappe/erpnext/issues/58450)) ([3c63fff](3c63fffcb6))
* **accounts:** set pos profile on invoices respecting user permissions (backport [#58508](https://github.com/frappe/erpnext/issues/58508)) ([#58519](https://github.com/frappe/erpnext/issues/58519)) ([23290a6](23290a60da))
* add missing perm checks on various whitelisted methods (backport [#58652](https://github.com/frappe/erpnext/issues/58652)) ([#58654](https://github.com/frappe/erpnext/issues/58654)) ([86e9480](86e9480362))
* add type hints to make_request_for_quotation ([4435f16](4435f166ea))
* clarify duplicate internal party messages ([#58469](https://github.com/frappe/erpnext/issues/58469)) ([f0e603a](f0e603aec5))
* **company:** throw if linked to demo_company field ([9f3dd7e](9f3dd7eabd))
* correct is_frozen description on customer and supplier ([#58168](https://github.com/frappe/erpnext/issues/58168)) ([9e00888](9e00888d67))
* **crm:** add missing permission validation on `get_contract_template` (backport [#58621](https://github.com/frappe/erpnext/issues/58621)) ([#58623](https://github.com/frappe/erpnext/issues/58623)) ([30f0cd9](30f0cd9c95))
* **crm:** check write permission in edit_note ([c2261f6](c2261f6129))
* **crm:** validate contact email before saving an email campaign (backport [#58667](https://github.com/frappe/erpnext/issues/58667)) ([#58672](https://github.com/frappe/erpnext/issues/58672)) ([f22f84a](f22f84a58a))
* do not map the same row twice in "Get Items From" (backport [#58617](https://github.com/frappe/erpnext/issues/58617)) ([#58619](https://github.com/frappe/erpnext/issues/58619)) ([f3379b4](f3379b4694))
* explain missing fields when loading party details or taxes (backport [#58627](https://github.com/frappe/erpnext/issues/58627)) ([#58628](https://github.com/frappe/erpnext/issues/58628)) ([8a8bafd](8a8bafd6cb))
* filter fully ordered items when creating RFQ from Material Request ([9b1d907](9b1d907b6a))
* handle BOM price list currency update (backport [#58638](https://github.com/frappe/erpnext/issues/58638)) ([#58639](https://github.com/frappe/erpnext/issues/58639)) ([fb74a03](fb74a030de))
* **manufacturing:** account for pending job card qty ([#58466](https://github.com/frappe/erpnext/issues/58466)) ([7b9cdb4](7b9cdb4926))
* **manufacturing:** classify MRP items without a BOM as Purchase (backport [#58509](https://github.com/frappe/erpnext/issues/58509)) ([#58513](https://github.com/frappe/erpnext/issues/58513)) ([ee3b224](ee3b22403d))
* **manufacturing:** handle duplicate root BOM items (backport [#58614](https://github.com/frappe/erpnext/issues/58614)) ([#58616](https://github.com/frappe/erpnext/issues/58616)) ([22755c4](22755c4ad6))
* **manufacturing:** preserve job card qty in mr transfer (backport [#58482](https://github.com/frappe/erpnext/issues/58482)) ([#58499](https://github.com/frappe/erpnext/issues/58499)) ([76d0cb3](76d0cb382d))
* **manufacturing:** use item warehouses in production plan work orders ([#58663](https://github.com/frappe/erpnext/issues/58663)) ([ec392a7](ec392a7bcf))
* **manufacturing:** use packed row delivery date ([#58570](https://github.com/frappe/erpnext/issues/58570)) ([e64fddf](e64fddfad5))
* persist redistributed additional costs during stock entry repost (backport [#58433](https://github.com/frappe/erpnext/issues/58433)) ([#58533](https://github.com/frappe/erpnext/issues/58533)) ([629bc20](629bc20e90))
* **pos:** add permission checks on `get_invoices` (backport [#58591](https://github.com/frappe/erpnext/issues/58591)) ([#58597](https://github.com/frappe/erpnext/issues/58597)) ([d95eeb0](d95eeb0f6a))
* **projects:** check read permission on source in create_duplicate_project ([bd35957](bd35957582))
* **projects:** ignore cancelled invoices in timesheet portal (backport [#58501](https://github.com/frappe/erpnext/issues/58501)) ([#58504](https://github.com/frappe/erpnext/issues/58504)) ([d732d06](d732d06e25))
* round party balances to currency precision in Trial Balance for Party ([956a6ed](956a6ed407))
* **selling:** check quotation write permission before marking lost ([#58493](https://github.com/frappe/erpnext/issues/58493)) ([4e74831](4e74831a08))
* **selling:** check sales order permission before work order creation (backport [#58492](https://github.com/frappe/erpnext/issues/58492)) ([#58497](https://github.com/frappe/erpnext/issues/58497)) ([2b8e12e](2b8e12ef44))
* **sms_settings:** add patch to pre-fill roles into SMS Settings Roles Table ([4b89ddf](4b89ddffde))
* **stock:** auto-select batch no before saving transaction records (backport [#58536](https://github.com/frappe/erpnext/issues/58536)) ([#58539](https://github.com/frappe/erpnext/issues/58539)) ([eb4c327](eb4c327a2b))
* **stock:** ignore cancelled batch entries in valuation (backport [#58659](https://github.com/frappe/erpnext/issues/58659)) ([#58660](https://github.com/frappe/erpnext/issues/58660)) ([f4ed4ca](f4ed4cae64))
* **stock:** keep pick list links when refetching stock entry items ([01e0844](01e0844d40))
* **stock:** load available serial no report (backport [#58558](https://github.com/frappe/erpnext/issues/58558)) ([#58562](https://github.com/frappe/erpnext/issues/58562)) ([06758f2](06758f2792))
* **stock:** preserve exchange gain loss journals in lcv ([#58505](https://github.com/frappe/erpnext/issues/58505)) ([1242316](124231681a))
* **stock:** validate serial inventory dimensions ([#58394](https://github.com/frappe/erpnext/issues/58394)) ([a1aabaf](a1aabaff18))
* sum item and its alternate transferred qty on work order required items ([1411835](1411835507))
* sync translations from crowdin (version-16-hotfix) ([#58455](https://github.com/frappe/erpnext/issues/58455)) ([c924de3](c924de3c55))
* **taxes:** skip tax addition for invoice created from opening invoice tool ([bfbc13d](bfbc13d147))
* **timesheet:** scoping whitelisted methods output to projects and timesheets that are acccessible to users (backport [#58267](https://github.com/frappe/erpnext/issues/58267)) ([#58577](https://github.com/frappe/erpnext/issues/58577)) ([4f409e5](4f409e5ccf))
* translate doctype in map msg (backport [#58515](https://github.com/frappe/erpnext/issues/58515)) ([#58517](https://github.com/frappe/erpnext/issues/58517)) ([f0d2d40](f0d2d40d35))
* translate label in party validation (backport [#58624](https://github.com/frappe/erpnext/issues/58624)) ([#58626](https://github.com/frappe/erpnext/issues/58626)) ([9bb8d4f](9bb8d4ff93))
* validate items against source Sales Order in Material Request ([6546646](65466464df))
* validate POS Settings invoice and search fields on the server (backport [#58611](https://github.com/frappe/erpnext/issues/58611)) ([#58620](https://github.com/frappe/erpnext/issues/58620)) ([f8c2927](f8c29274a5))
* Work Order picks wrong Delivery Date when Sales Order has the same item in multiple rows ([#58526](https://github.com/frappe/erpnext/issues/58526)) ([cb4ec72](cb4ec72370))

### Features

* **analytics:** filter sales and purchase analytics by entity ([#58402](https://github.com/frappe/erpnext/issues/58402)) ([655ed81](655ed81575))
* **manufacturing:** add multi-currency support to Blanket Orders (backport [#58472](https://github.com/frappe/erpnext/issues/58472)) ([#58630](https://github.com/frappe/erpnext/issues/58630)) ([ff656b9](ff656b9ad2))
* valuation type for BOM secondary items (backport [#58431](https://github.com/frappe/erpnext/issues/58431)) ([#58632](https://github.com/frappe/erpnext/issues/58632)) ([1b44df4](1b44df480f))
v16.34.0
2026-09-02 07:13:39 +00:00
Diptanil Saha
600cbf36af Merge pull request #58645 from frappe/version-16-hotfix
chore: release v16
2026-09-02 12:42:03 +05:30
mergify[bot]
3c63fffcb6 fix(accounts): resolve subscription plans for any reference doctype in Payment Request (backport #58438) (#58450)
Co-authored-by: jatin3128 <jatinsarna64@gmail.com>
2026-09-02 12:18:17 +05:30
Sudharsanan Ashok
d3b8324819 Merge pull request #58665 from frappe/mergify/bp/version-16-hotfix/pr-58663
fix(manufacturing): use item warehouses in production plan work orders (backport #58663)
2026-09-02 12:05:04 +05:30
Sudharsanan Ashok
46db04ecf8 Merge pull request #58675 from frappe/mergify/bp/version-16-hotfix/pr-58505
fix(stock): preserve exchange gain loss journals in lcv (backport #58505)
2026-09-02 12:03:51 +05:30
Shllokkk
75356265be Merge pull request #58535 from Shllokkk/mr-rfq-filter-pending-qty-v16
fix: filter fully ordered items when creating RFQ from Material Request
2026-09-02 11:46:07 +05:30
Pandiyan P
124231681a fix(stock): preserve exchange gain loss journals in lcv (#58505)
(cherry picked from commit 2b54a581f8)
2026-09-02 06:15:05 +00:00
mergify[bot]
f22f84a58a fix(crm): validate contact email before saving an email campaign (backport #58667) (#58672)
Co-authored-by: kaulith <64089478+kaulith@users.noreply.github.com>
2026-09-02 11:42:32 +05:30
Shllokkk
5af60cf2e3 test: set schedule date on PO before insert 2026-09-02 11:33:03 +05:30
Shllokkk
4435f166ea fix: add type hints to make_request_for_quotation 2026-09-02 11:33:03 +05:30
Shllokkk
5adcb28b3c test: RFQ from Material Request skips fully ordered items 2026-09-02 11:33:02 +05:30
Shllokkk
9b1d907b6a fix: filter fully ordered items when creating RFQ from Material Request 2026-09-02 11:33:02 +05:30
pandiyan
ec392a7bcf fix(manufacturing): use item warehouses in production plan work orders (#58663)
(cherry picked from commit e74ab38eeb)

# Conflicts:
#	erpnext/manufacturing/doctype/production_plan/services/work_order_planning.py
2026-09-02 10:36:32 +05:30
mergify[bot]
f4ed4cae64 fix(stock): ignore cancelled batch entries in valuation (backport #58659) (#58660)
fix(stock): ignore cancelled batch entries in valuation (#58659)

(cherry picked from commit a9b857bdfe)

# Conflicts:
#	erpnext/stock/serial_batch_bundle.py

Co-authored-by: Pandiyan P <pandiyanpalani37@gmail.com>
2026-09-01 16:08:38 +00:00
mergify[bot]
2b8e12ef44 fix(selling): check sales order permission before work order creation (backport #58492) (#58497)
Co-authored-by: Pandiyan P <pandiyanpalani37@gmail.com>
2026-09-01 21:30:33 +05:30
mergify[bot]
86e9480362 fix: add missing perm checks on various whitelisted methods (backport #58652) (#58654)
Co-authored-by: Diptanil Saha <diptanil@frappe.io>
2026-09-01 14:01:40 +00:00
mergify[bot]
4f409e5ccf fix(timesheet): scoping whitelisted methods output to projects and timesheets that are acccessible to users (backport #58267) (#58577)
Co-authored-by: Diptanil Saha <diptanil@frappe.io>
2026-09-01 12:09:00 +00:00
Shllokkk
01fecfe093 Merge pull request #58649 from frappe/mergify/bp/version-16-hotfix/pr-58607
fix: round party balances to currency precision in Trial Balance for Party (backport #58607)
2026-09-01 16:42:57 +05:30
Shllokkk
956a6ed407 fix: round party balances to currency precision in Trial Balance for Party
(cherry picked from commit b1c7657dfa)
2026-09-01 09:49:43 +00:00
Diptanil Saha
c745558168 fix(accounts): add permission checks on payment entry whitelisted methods (#58644) 2026-09-01 09:24:40 +00:00
mergify[bot]
fb74a030de fix: handle BOM price list currency update (backport #58638) (#58639)
fix: handle BOM price list currency update (#58638)

(cherry picked from commit db52e465d0)

Co-authored-by: Pandiyan P <pandiyanpalani37@gmail.com>
2026-09-01 13:40:51 +05:30
Aarol D'Souza
de28957008 Merge pull request #58637 from frappe/mergify/bp/version-16-hotfix/pr-58586
fix(sms_settings): add patch to pre-fill roles into SMS Settings Role Table (backport #58586)
2026-09-01 13:05:22 +05:30
AarDG10
9ee421424f chore: resolve conflicts 2026-09-01 12:51:04 +05:30
AarDG10
4b89ddffde fix(sms_settings): add patch to pre-fill roles into SMS Settings Roles Table
(cherry picked from commit 3501beb2bd)

# Conflicts:
#	erpnext/patches.txt
2026-09-01 07:18:30 +00:00
Mihir Kandoi
1b44df480f feat: valuation type for BOM secondary items (backport #58431) (#58632) 2026-09-01 11:45:52 +05:30
Mihir Kandoi
ff656b9ad2 feat(manufacturing): add multi-currency support to Blanket Orders (backport #58472) (#58630) 2026-09-01 11:39:26 +05:30
mergify[bot]
22755c4ad6 fix(manufacturing): handle duplicate root BOM items (backport #58614) (#58616)
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com>
2026-09-01 02:54:09 +00:00
mergify[bot]
8a8bafd6cb fix: explain missing fields when loading party details or taxes (backport #58627) (#58628)
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
2026-09-01 01:53:59 +02:00
mergify[bot]
9bb8d4ff93 fix: translate label in party validation (backport #58624) (#58626)
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
2026-09-01 00:54:12 +02:00
mergify[bot]
30f0cd9c95 fix(crm): add missing permission validation on get_contract_template (backport #58621) (#58623)
Co-authored-by: Diptanil Saha <diptanil@frappe.io>
2026-08-31 19:40:50 +00:00
mergify[bot]
f8c29274a5 fix: validate POS Settings invoice and search fields on the server (backport #58611) (#58620)
Co-authored-by: Diptanil Saha <diptanil@frappe.io>
2026-09-01 00:08:37 +05:30
mergify[bot]
f3379b4694 fix: do not map the same row twice in "Get Items From" (backport #58617) (#58619)
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
2026-08-31 19:40:59 +02:00
Lakshit Jain
2390d48c01 Merge pull request #58602 from frappe/mergify/bp/version-16-hotfix/pr-58483
fix(taxes): skip tax addition for invoice created from opening invoice tool (backport #58483)
2026-08-31 18:38:56 +05:30
mergify[bot]
765a7736ed fix(accounts): added permission checks on get_available_payment_schedules (backport #58588) (#58595)
Co-authored-by: Diptanil Saha <diptanil@frappe.io>
2026-08-31 17:14:27 +05:30
mergify[bot]
d95eeb0f6a fix(pos): add permission checks on get_invoices (backport #58591) (#58597)
Co-authored-by: Diptanil Saha <diptanil@frappe.io>
2026-08-31 17:14:16 +05:30
ljain112
32393caa39 chore: resolve conflicts 2026-08-31 16:54:30 +05:30
mergify[bot]
c7582e986d fix/payment-request-subscription-plans-population (backport #57494) (#58430)
* fix(payment-request): populate subscription plans (#57494)

* fix(payment-request): populate subscription plans

* test: add coverage for subscription plans in payment request

---------

Co-authored-by: Dharanidharan2813 <dharanidharans1328@gmail.com>
(cherry picked from commit 1b81db4754)

# Conflicts:
#	erpnext/accounts/doctype/payment_request/payment_request.py
#	erpnext/accounts/doctype/payment_request/test_payment_request.py

* fix(payment-request): resolve cherry-pick conflicts for version-16-hotfix backport

---------

Co-authored-by: Vishnu Priya Baskaran <145791817+ervishnucs@users.noreply.github.com>
Co-authored-by: ervishnucs <ervishnucs369@gmail.com>
Co-authored-by: Jatin3128 <140256508+Jatin3128@users.noreply.github.com>
2026-08-31 16:28:20 +05:30
ljain112
bfbc13d147 fix(taxes): skip tax addition for invoice created from opening invoice tool
(cherry picked from commit e08a166281)

# Conflicts:
#	erpnext/accounts/services/taxes.py
2026-08-31 09:35:42 +00:00
Nishka Gosalia
40fe739c9e Merge pull request #58592 from frappe/mergify/bp/version-16-hotfix/pr-58325
fix(projects): check read permission on source in create_duplicate_project (backport #58325)
2026-08-31 14:17:07 +05:30
Shllokkk
bd35957582 fix(projects): check read permission on source in create_duplicate_project
(cherry picked from commit 8c8b282a2e)
2026-08-31 07:10:45 +00:00
Mihir Kandoi
e64fddfad5 fix(manufacturing): use packed row delivery date (#58570) 2026-08-30 11:06:06 +00:00
MochaMind
ac61e6ac0d chore: update POT file (#58567) 2026-08-30 13:01:08 +02:00