From 054b20a2ae1bdea44694cca72d17412945171cab Mon Sep 17 00:00:00 2001 From: Frappe PR Bot Date: Wed, 10 Jun 2026 00:25:19 +0000 Subject: [PATCH] chore(release): Bumped to Version 16.22.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # [16.22.0](https://github.com/frappe/erpnext/compare/v16.21.1...v16.22.0) (2026-06-10) ### Bug Fixes * **accounts:** include asset items in purchase receipt validation ([#55150](https://github.com/frappe/erpnext/issues/55150)) ([0984c86](https://github.com/frappe/erpnext/commit/0984c865834d89cadafd81f9c71eca7a8eaa2be2)) * Add authorization checks on internal functions (backport [#55709](https://github.com/frappe/erpnext/issues/55709)) ([#55726](https://github.com/frappe/erpnext/issues/55726)) ([2ae6451](https://github.com/frappe/erpnext/commit/2ae6451f10926bd12b6ce6c7dc40f08da83f2460)) * add company filter to Budget Against dimension options ([bfc6f44](https://github.com/frappe/erpnext/commit/bfc6f44fb009b1ca0dd504078a82faebc7f18db0)) * add custom dimensions filters in Gross and Net profit report (backport [#55110](https://github.com/frappe/erpnext/issues/55110)) ([#55584](https://github.com/frappe/erpnext/issues/55584)) ([5d7e69d](https://github.com/frappe/erpnext/commit/5d7e69d8cf44165e3a6145d1be1a1b28cd676f1e)) * Add likely missing escapes (backport [#55574](https://github.com/frappe/erpnext/issues/55574)) ([#55581](https://github.com/frappe/erpnext/issues/55581)) ([6a503f8](https://github.com/frappe/erpnext/commit/6a503f834c9fb6c2112eb725ab881578bc6f7b7e)) * aggregate child cost center data in Budget Variance Report ([4f2611c](https://github.com/frappe/erpnext/commit/4f2611cbe8c1b6954ebc75dd729ebbd5d5c76894)) * allow specific methods to run ([c9a5b00](https://github.com/frappe/erpnext/commit/c9a5b0026e46a44355a961cfd3d7a467bf05fc55)) * bypass project permission check when updating consumed material … (backport [#55645](https://github.com/frappe/erpnext/issues/55645)) ([#55707](https://github.com/frappe/erpnext/issues/55707)) ([4471666](https://github.com/frappe/erpnext/commit/4471666c8c82c4ad58a2977c98ff15004fd2ec31)) * **cheque_print_template:** print format creation from cheque print template requires system manager (backport [#55708](https://github.com/frappe/erpnext/issues/55708)) ([#55712](https://github.com/frappe/erpnext/issues/55712)) ([38dd298](https://github.com/frappe/erpnext/commit/38dd2982f3beaac841fdaca4b544b77efc89dbc3)) * disallow BOM finished good item in secondary items table (backport [#55710](https://github.com/frappe/erpnext/issues/55710)) ([#55719](https://github.com/frappe/erpnext/issues/55719)) ([ecd3a19](https://github.com/frappe/erpnext/commit/ecd3a199129ad2da80200b86697e1b194f3234b3)) * do not allow to make changes in SABB after submit ([a03e3bf](https://github.com/frappe/erpnext/commit/a03e3bfe9f2da4ddef84c8b9479acba015eada54)) * don't allow to submit job card with hold status ([b4c850d](https://github.com/frappe/erpnext/commit/b4c850da1ccff0a9c431877daea0b601cd467f62)) * drop ignore_permissions handling from add_ac ([c0cf9aa](https://github.com/frappe/erpnext/commit/c0cf9aa1a7f95ee22b99ea1ca2a2cb09b314e67f)) * duplicating a Customer/Supplier shouldn't inherit the source's primary contact and address (backport [#55421](https://github.com/frappe/erpnext/issues/55421)) ([#55609](https://github.com/frappe/erpnext/issues/55609)) ([808e51d](https://github.com/frappe/erpnext/commit/808e51db1956f3289decc6d062266c14cbabbefa)) * handle multi-select stock ageing filters ([#55775](https://github.com/frappe/erpnext/issues/55775)) ([e48ffe6](https://github.com/frappe/erpnext/commit/e48ffe6ef075054018763d3f80a8fcc04e4feac1)) * handle separator rows in financial statement formatter ([d8afc00](https://github.com/frappe/erpnext/commit/d8afc00ab5b30160e517cbde2401dbd4063f428c)) * include CRM Deal in `quotation to` filters ([f7e6542](https://github.com/frappe/erpnext/commit/f7e6542bcd878962c322c89603fd7d43ce305123)) * item report view ([7dfae51](https://github.com/frappe/erpnext/commit/7dfae5104476021957c4be74b512ed4d8a8f0657)) * **item:** format integer numeric variant attributes without decimals (backport [#55561](https://github.com/frappe/erpnext/issues/55561)) ([#55564](https://github.com/frappe/erpnext/issues/55564)) ([fffba84](https://github.com/frappe/erpnext/commit/fffba848687efd117aa031bee952cce789d1a8da)) * linter issue ([dd83705](https://github.com/frappe/erpnext/commit/dd837052ef696657025a7911275d33c483cd6e97)) * minor fixes in report print formats ([#55151](https://github.com/frappe/erpnext/issues/55151)) ([80f7aff](https://github.com/frappe/erpnext/commit/80f7aff3f94b1cbf69f1b85a145c8f4096474122)) * move Company filter at the start ([3fb6437](https://github.com/frappe/erpnext/commit/3fb6437d2613a90275fe5b73092846f2f00c1b2c)) * naming series issue ([6eecf07](https://github.com/frappe/erpnext/commit/6eecf0701e1db119cf3ecaa43d3e6233068743a1)) * prevent double rounding in inclusive tax calculations (backport [#52512](https://github.com/frappe/erpnext/issues/52512)) ([#55570](https://github.com/frappe/erpnext/issues/55570)) ([37b61f0](https://github.com/frappe/erpnext/commit/37b61f06aedf53f7ed00d0e3d41e9b2a19c33b8c)) * prevent leakage of party-derived fields in cross doctype transactions (backport [#55336](https://github.com/frappe/erpnext/issues/55336)) ([#55579](https://github.com/frappe/erpnext/issues/55579)) ([7904385](https://github.com/frappe/erpnext/commit/7904385b90f668e0f80dfa0afe56aa7713b282f3)) * prevent negative amounts in common party JE on return invoices (backport [#55034](https://github.com/frappe/erpnext/issues/55034)) ([#55064](https://github.com/frappe/erpnext/issues/55064)) ([9eb0e3c](https://github.com/frappe/erpnext/commit/9eb0e3c82e73b0191fe83fc1ba6f1aabb4d77b8c)) * prevent selling items from sample retention warehouse (backport [#55613](https://github.com/frappe/erpnext/issues/55613)) ([#55634](https://github.com/frappe/erpnext/issues/55634)) ([84d205f](https://github.com/frappe/erpnext/commit/84d205f553083221bd5e841e191a308ca15a76a7)) * **process statement of accounts:** validate pdf_name and validate permission before triggering send_auto_email (backport [#55781](https://github.com/frappe/erpnext/issues/55781)) ([#55783](https://github.com/frappe/erpnext/issues/55783)) ([e15879a](https://github.com/frappe/erpnext/commit/e15879acd118ccd343e31ad3b5a6279e514c82c2)) * **profit-and-loss-statement-report:** margin calculation the report showing null% for empty cell ([04fe76b](https://github.com/frappe/erpnext/commit/04fe76bf832a4217dc408da762a6aee9a9fcc4d4)) * **profit-and-loss-statement:** margin calculation the report showing null% for empty cell ([b3d3f13](https://github.com/frappe/erpnext/commit/b3d3f13fc5c74804c2c7d53d8b37a800c533d34b)) * **profit-loss-report:** handle zero base values and prevent null% display ([90ac065](https://github.com/frappe/erpnext/commit/90ac065930ea0b4d432be53e6fef4798314ae96c)) * remove item name from update items dialog item code column (backport [#55718](https://github.com/frappe/erpnext/issues/55718)) ([#55723](https://github.com/frappe/erpnext/issues/55723)) ([497c3a5](https://github.com/frappe/erpnext/commit/497c3a5e83b523983517972ef227c14a35304c7e)) * restrict already invoiced qty in intercompany purchase invoice ([#55768](https://github.com/frappe/erpnext/issues/55768)) ([e90a6ec](https://github.com/frappe/erpnext/commit/e90a6ecf1cf7b11dd292a88800100584de592f0f)) * **selling:** consider delivered qty (backport [#55597](https://github.com/frappe/erpnext/issues/55597)) ([#55607](https://github.com/frappe/erpnext/issues/55607)) ([142ab3c](https://github.com/frappe/erpnext/commit/142ab3ce2a207e3a0671947b68d007b51be7cc60)) * simplify New Zealand sales accounts ([93de14c](https://github.com/frappe/erpnext/commit/93de14c421b39798f8b56827c397f97d1100bb5e)) * skip empty spacer rows in compute_growth_view_data (P&L growth view) ([18afcf0](https://github.com/frappe/erpnext/commit/18afcf0c01f8a849a0419506b45c42fb5f1bace1)) * spelling of Payment Reconciliation in sidebar (backport [#55599](https://github.com/frappe/erpnext/issues/55599)) ([#55602](https://github.com/frappe/erpnext/issues/55602)) ([40cf77e](https://github.com/frappe/erpnext/commit/40cf77e7f0ef5b0751b7db030b385246a42c2aa0)) * sql injection ([02a29a8](https://github.com/frappe/erpnext/commit/02a29a85a792047373a631f71fb7f1e4d4e28258)) * Stock Reservation blocks Subcontracting operation within the same Work Order ([1c0dace](https://github.com/frappe/erpnext/commit/1c0dace3d670c8cbec825d5c3eb9d7e184a1414a)) * **stock:** add validation for work order seial nos and batch nos (backport [#55604](https://github.com/frappe/erpnext/issues/55604)) ([#55605](https://github.com/frappe/erpnext/issues/55605)) ([7de77a8](https://github.com/frappe/erpnext/commit/7de77a891645c575ab781d003044ff3c18efb3d0)) * **stock:** change valuation rate column label in stock ledger entry/report (backport [#55323](https://github.com/frappe/erpnext/issues/55323)) ([#55394](https://github.com/frappe/erpnext/issues/55394)) ([c6560be](https://github.com/frappe/erpnext/commit/c6560be58dae7f6c7fc977d66164d8c03d1abe1d)) * **stock:** set stock received but not billed account for purchase ([#55149](https://github.com/frappe/erpnext/issues/55149)) ([90667b2](https://github.com/frappe/erpnext/commit/90667b2de229ef15e3c6c4269ac60b07fd3c518a)) * **subscription:** bill on creation and keep status in sync with invoices (backport [#55615](https://github.com/frappe/erpnext/issues/55615)) ([#55701](https://github.com/frappe/erpnext/issues/55701)) ([0f069e1](https://github.com/frappe/erpnext/commit/0f069e13da321a53581bca8e23f9a50758ada306)) * **subscription:** correct billing/deferred bugs and tighten guards (backport [#55554](https://github.com/frappe/erpnext/issues/55554)) ([#55610](https://github.com/frappe/erpnext/issues/55610)) ([dee7bd8](https://github.com/frappe/erpnext/commit/dee7bd8d64d35e1def1f90c6b216b8bc2f1c30b9)) * **taxes:** add category and add_deduct_tax fields to tax entries (backport [#55753](https://github.com/frappe/erpnext/issues/55753)) ([#55773](https://github.com/frappe/erpnext/issues/55773)) ([9a6fae9](https://github.com/frappe/erpnext/commit/9a6fae9fdd6bb90524e70b859f85a15906c39cf5)) * update add_total_row_account to control blank row addition ([e8a6933](https://github.com/frappe/erpnext/commit/e8a6933ff344cf819300e1a9713f9534132cbbcd)) * update formatter to handle blank rows in financial statements ([f657503](https://github.com/frappe/erpnext/commit/f657503ea3c20d0ed188bc102e7267010ca44214)) * update items respects workflow "Only Allow Edit For" role ([#55667](https://github.com/frappe/erpnext/issues/55667)) ([76b9b6a](https://github.com/frappe/erpnext/commit/76b9b6a34ef960085849a4d22ec8a6274d62590a)) * use new_doc with field allowlist in CRM integration endpoints ([d941ccf](https://github.com/frappe/erpnext/commit/d941ccfe3c8fbdb98c5a069c943de675c7ee133d)) * **UX:** Accounts settings cleanup (backport [#55470](https://github.com/frappe/erpnext/issues/55470)) ([#55603](https://github.com/frappe/erpnext/issues/55603)) ([3917415](https://github.com/frappe/erpnext/commit/391741536849f37f8fb77ae39daad9cb5c3fe26e)) * **UX:** stock settings form cleanup ([f6f542f](https://github.com/frappe/erpnext/commit/f6f542fadcee1cd9abeb717b52029c77812a2aa5)) * validate fg and materials qty in the disassemble entry ([4453c10](https://github.com/frappe/erpnext/commit/4453c1072a8a98c67ed425b5e5ae5d27d90d1c21)) * work order status should be in process if material transfer is skipped (backport [#55641](https://github.com/frappe/erpnext/issues/55641) to version-16-hotfix) ([#55642](https://github.com/frappe/erpnext/issues/55642)) ([32011c3](https://github.com/frappe/erpnext/commit/32011c33645bce8dc4ecf3fcb5db0453faf316e5)) ### Features * add item where used report ([#55714](https://github.com/frappe/erpnext/issues/55714)) ([8f85cce](https://github.com/frappe/erpnext/commit/8f85cce4cf49757a38d30ba8baf7f87800f928d0)) * add New Zealand chart of accounts ([107a446](https://github.com/frappe/erpnext/commit/107a446d98420e47b1a12de1d92dc3ee04883d71)) * added cost of goods sold (backport [#54974](https://github.com/frappe/erpnext/issues/54974)) ([#55552](https://github.com/frappe/erpnext/issues/55552)) ([20af709](https://github.com/frappe/erpnext/commit/20af7093ac3a55f98345f1d1d29737ed1c1c594c)) * create sales invoice from pick list (backport [#55594](https://github.com/frappe/erpnext/issues/55594)) ([#55635](https://github.com/frappe/erpnext/issues/55635)) ([743afc9](https://github.com/frappe/erpnext/commit/743afc972da24d5e784acee2e8f62c595d8f7d6e)) * item prices list view ([#54853](https://github.com/frappe/erpnext/issues/54853)) ([12c1940](https://github.com/frappe/erpnext/commit/12c1940e0bce9a22d6c87e2359775a162eb06e6b)) * show non stock items and secondary items in work order (backport [#55631](https://github.com/frappe/erpnext/issues/55631)) ([#55636](https://github.com/frappe/erpnext/issues/55636)) ([3f983c9](https://github.com/frappe/erpnext/commit/3f983c9e4ddc09ae6556ef146342bb70c85e0588)) ### Performance Improvements * batch status check for on-hold/closed documents, remove N+1 queries (backport [#54798](https://github.com/frappe/erpnext/issues/54798)) ([#55573](https://github.com/frappe/erpnext/issues/55573)) ([0274afe](https://github.com/frappe/erpnext/commit/0274afe5609fc531793969121e5dd3fd73da2bde)) * **transaction:** exit early before backend query (backport [#55556](https://github.com/frappe/erpnext/issues/55556)) ([#55558](https://github.com/frappe/erpnext/issues/55558)) ([6a1c384](https://github.com/frappe/erpnext/commit/6a1c384f9bfe8620a3a649e706e2e6596f8a2a4a)) --- erpnext/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/__init__.py b/erpnext/__init__.py index 43c9fdb8cc3..e3e424322a2 100644 --- a/erpnext/__init__.py +++ b/erpnext/__init__.py @@ -6,7 +6,7 @@ import frappe from frappe.model.document import Document from frappe.utils.user import is_website_user -__version__ = "16.21.1" +__version__ = "16.22.0" def get_default_company(user=None):