github frappe/erpnext v15.121.6

3 hours ago

Bug Fixes

  • The “UAE VAT 201” report now shows sales VAT in the company’s currency for foreign-currency invoices, matching the currency used for sales amounts. (#59365)
  • Blocks submission of a Delivery Note or a Sales Invoice with Update Stock when a Sales Order item marked Ensure Delivery Based on Produced Serial No has no reserved serial numbers or uses a serial number that is not reserved for it. New Work Orders for these items reserve stock by default; the setting is hidden and cleared on the Sales Order when stock reservation is disabled in Stock Settings. (#59384)
  • Skips loading open activities for unsaved Lead, Opportunity, and Prospect records, preventing a not-found error when opening their forms. (#59388)
  • Sets the correct Transaction Type for each item when evaluating Pricing Rule settings, so item-specific rules are checked against the right transaction type. (#59408)
  • The "Purchase Register" now filters by Supplier Group from the Supplier record, so older invoices without a saved group value can still appear in filtered results. (#59438)
  • Updates Production Plan raw-material reservations to account for linked Work Orders that use a different warehouse, reducing duplicate reserved demand in stock totals. Refreshes affected plan warehouses’ stock totals when a work order changes. (#59441)
  • Limits the Bank Account options in Bank Statement Import to company bank accounts for the selected company. (#59451)
  • Automatic production updates no longer reopen a closed Production Plan; it stays closed until explicitly reopened. (#59456)
  • Updates stock reservations for a Production Plan when Work Order activity moves it into or out of Completed, so raw material and sub-assembly reservations reflect the plan’s status. (#59453)
  • In POS Closing Entry, defaults Closing Amount to Expected Amount for payment methods missing from the POS Opening Entry. (#59459)
  • Allows Repost Item Valuation to cancel and recreate stock ledger entries for Stock Reconciliation records, which could previously cause the recreation to fail. (#59533)
  • Updates missing Main Item Code values in Material Request Plan Item records in batches, reducing migration failures on sites with large datasets. When matching items have the same update time, the item earlier in the list determines the code. (#59541)
  • Updates account filters in Invoice Discounting to use the current Company, so the available accounts reflect the company selected on the form. (#59550)
  • Updates Sales Invoice and Purchase Invoice menus to show document-creation options only when users can create the related documents; certain Purchase Invoice actions also require edit access. (#59374)
  • Recalculates finished goods’ Planned Qty after a manufacturing Stock Entry updates a Work Order, so process loss is no longer counted as planned stock after completion and the planned quantity is restored if the entry is cancelled. (#59422)
  • Turns off Add Total Row for the seven standard trends reports on existing sites, preventing an extra total row with doubled values. (#59511)
  • Prevents stock vouchers from being saved when a Serial and Batch Bundle belongs to a different company, including bundles for rejected items. (#59520)
  • Checks that users have permission to select the specified Company before returning an item's valuation rate. (#59561)
  • Copies comments from a Lead to an Opportunity even when the current user lacks permission to create them. (#59570)
  • Updates item stock quantities in the Point of Sale selector when a new order starts, so recent sales appear without requiring a page refresh. (#59577)
  • Updates material transfer valuation so the receiving warehouse uses the value removed from the source, plus additional costs, reducing rounding differences posted to the Stock Adjustment account. (#59595)
  • Purchase Invoice now rejects duplicate items when Update Stock is off, unless Allow Item to be Added Multiple Times in a Transaction is enabled in Buying Settings; the same item remains allowed on separate rows when linked to different purchase receipts or orders. (#59610)
  • Uses the original receipt rate to value batch and serial returns from a Subcontracting Receipt, including returns involving rejected-material warehouses. Existing returns need reposting to update their stock values. (#59607)
  • The "Item-wise Sales Register" now displays results when an invoice has no matching Customer record, using the customer name and group recorded on the invoice. (#59626)
  • Displays the server’s error message when a statement download fails in Process Statement Of Accounts, and skips "General Ledger" statements for customers with no transactions in the selected period. (#59630)
  • Checks party-specific item restrictions when saving a transaction, so changing the customer or supplier after adding items does not bypass those rules. (#59638)
  • Requires read access to a Material Request and allows Work Order creation only for submitted Manufacture requests that are not stopped. (#59591)

Performance Improvements

  • Caches access checks for source documents that provide locked item prices, avoiding repeated checks for each item row and reducing delays with large documents. (#59605)

Authors: @Pandiyan5273, @diptanilsaha, @Shllokkk, @Afsalsyed, @Sudharsanan11, @mihir-kandoi
Reviewers: @diptanilsaha, @Shllokkk, @Sudharsanan11, @rohitwaghchaure, @mihir-kandoi

AI content

For these release notes, we used an LLM (OpenAI gpt-6-luna) to review and summarise the code changes, along with the associated issue and PR descriptions. It may contain typical errors and inaccuracies. You can read the prompt here.

Changes with the following labels were excluded:

  • skip-release-notes

Changes with the following types were excluded:

  • test
  • refactor
  • chore
  • ci
  • docs
  • style
  • build

Don't miss a new erpnext release

NewReleases is sending notifications on new releases.