github frappe/erpnext v15.126.0

55 minutes ago

General

Bug Fixes (21)
  • When creating a return from a POS Invoice, payment amounts exclude change already given, so the refund matches the original sale total. (#66206)
  • Updates how valuation charges are recorded on Purchase Receipt entries with only rejected materials: charges are excluded when Set Valuation Rate for Rejected Materials is off and included in rejected stock value when it is on. (#65148)
  • Corrects manufacturing and stock handling in Production Plan, Work Order, and Stock Entry, including material reservations, transfer and finished quantities, and unit and minimum-order calculations. It also updates Packed Item details, Workstation operating costs, BOM Creator displays, and access to Subcontracting BOM. (#60742)
  • Adds an access check for the selected Account before using it to filter available Party Type options. (#66627)
  • The documentation check now reads pull request details from the workflow event instead of the GitHub API, reducing failures when API rate limits are reached. (#66853)
  • Creates finished-good Serial and Batch Bundle records, Delivery Trip records, and BOM records under the company of their related Stock Entry, Delivery Note, or Work Order, instead of the user’s default company. BOM records created from a Work Order also use that company’s currency. (#65717)
  • Only users with permission to view a selected Warehouse can search its linked addresses in the Source Warehouse Address and Target Warehouse Address fields of Stock Entry. (#67048)
  • In warehouse searches, shows stock quantities and sorts by quantity only for users who can view Bin records; other users see Warehouse names only, sorted by name. (#67049)
  • The Batch No search in stock transactions now requires permission to access Batch records and only lists batches the user is allowed to see. (#67046)
  • The Item Tax Template lookup in sales and purchase transactions now requires read access to the selected Item and shows only Item Tax Template records the user can view. (#67071)
  • Limits manufacturer search results in purchase transactions to Items the user can view, and returns no results when the item selection is missing or invalid. (#67047)
  • For documents with a Supplier field, the portal now checks access using the supplier rather than the customer, so customer portal users no longer see or open drop-ship Purchase Order records. (#67100)
  • Adds read-access checks for linked documents referenced by filters in item pickers in stock reservation and Subcontracting Order dialogs. (#67070)
  • When creating a return from a Sales Invoice or Purchase Receipt, the return keeps the source document’s taxes—or lack of taxes—instead of receiving the company’s default tax template. (#67223)
  • Updates Sales Invoice and POS Invoice forms to determine whether cash change is due by comparing the paid amount with the rounded total, so payments at or below that total aren’t shown as change. (#67963)
  • Rounds payment totals before comparing them with the refund amount, so split refunds that match remain in separate payment rows in Sales Invoice POS returns. (#67964)
  • Checks Is this Tax included in Basic Rate? against the current form’s tax rows, rather than tax rows from a previously opened form. (#67965)
  • Calculates automatic write-offs in Sales Invoice and POS Invoice from the rounded outstanding amount, so the form shows the amount that will be saved. (#68109)
  • Allows Desk Users to view and manage their own Video records; previously, these permissions applied to everyone. (#68350)
  • Restricts stock availability in POS Invoice to warehouses belonging to companies the user is permitted to access. (#68485)
  • Batch updates of YouTube video statistics now require write permission on Video Settings. (#68349)

Accounts

Features (1)
  • Adds an Accumulated Values option to the "Cash Flow" report for viewing cumulative amounts by period, and updates period labels when the selected date range starts partway through a fiscal year. (#66215)
Bug Fixes (11)
  • Updates Payment Request processing to use the same submission method as its form. (#66234)
  • Advances the account balance timeline by one year between data points when users select a yearly interval. (#66294)
  • Checks that Payment Limit in Payment Reconciliation is a non-negative whole number before loading entries. (#66308)
  • Checks access to the selected Account before retrieving its Tax Rate and Account Name. (#66341)
  • Limits the Account value used to look up exchange rates in Journal Entry to account names. (#66625)
  • Lets customer portal users pay their own submitted Sales Orders and Sales Invoices. (#65453)
  • Clarifies the expected inputs for the party account lookup, including the option to include advance payments. (#66940)
  • Prevents creating an inter-company Purchase Invoice from a Sales Invoice, or an inter-company Sales Order from a Purchase Order, when the source document was created from its counterpart. (#67182)
  • Refreshes the Exchange Rate in Journal Entry rows when an account’s currency changes, so amounts use the rate for the selected currency. (#67968)
  • Corrects Purchase Invoice returns for fully rejected quantities so they reverse the amount originally billed for those goods, rather than applying the rate to a single item. (#68099)
  • For invoice-grouped "Gross Profit" reports, invoice headers now use amounts totaled from their item rows instead of triggering an unnecessary stock valuation lookup, reducing processing for large reports. (#66723)

Selling

Bug Fixes (23)
  • When a user lacks access to records referenced by a Terms and Conditions template, draft transactions now open and print with the terms left blank and an alert explaining why. (#66193)
  • Checks user permissions when creating a Sales Invoice from a Sales Order, preventing users from seeing address details they cannot access. (#66728)
  • Keeps “Inter Company Purchase Order” available on Sales Order and “Inter Company Sales Order” on Purchase Order while quantities remain to be ordered, including after a partial order; the options appear only for users who can create the corresponding order. (#67184)
  • Duplicated Sales Invoice, Sales Order, and Purchase Order records no longer retain their inter-company links, so submitting a copy does not redirect the linked counterpart away from the original. (#67165)
  • Shows the "Internal Purchase Invoice" or "Inter Company Purchase Invoice" option on a Sales Invoice while quantities remain uninvoiced, and hides it when all quantities are invoiced. (#67260)
  • Prevents removing a Sales Order item while a draft or submitted Purchase Order still refers to it. (#67321)
  • Updates the item indicator in Sales Order to account for unit conversions and stock-quantity rounding when comparing pending quantities with available stock. (#67690)
  • When Don't Reserve Sales Order Qty on Sales Return is enabled, a replacement delivery no longer reduces the reserved stock for other orders. (#67658)
  • Prevents creating another inter-company Sales Invoice from a Purchase Invoice that already has one, and checks access before showing the linked invoice. (#67167)
  • Skips the Last Purchase Rate check for internal transfers in Delivery Note records, allowing them to use the stock’s valuation rate; inter-company sales still undergo the check. (#67776)
  • Prevents users from removing a bundled item from a Sales Order with "Update Items" while a draft or submitted Purchase Order still includes one of its components. (#67464)
  • Updates Quotation to offer only Selling Blanket Orders for its customer, including the customer linked to a Lead or Prospect. When saving, it checks that the selected order is open, unexpired, matches the customer, order type, and currency, and has no closed rows. (#67944)
  • Selling checks no longer treat a submitted Is Consolidated value as proof of POS consolidation, preventing API requests from bypassing validations such as blocked-customer and payment-method checks. Sales Invoice now resets Is Consolidated unless POS consolidation sets it. (#68383)
  • Demo data now creates invoices only from submitted Sales Order and Purchase Order records belonging to the selected company. Purchase Order records created from a Sales Order are saved when the request completes, rather than immediately. (#68449)
  • Updates Sales Order calendar and Gantt views to follow the same visibility rules as the list view. (#68460)
  • Requires read access to view Sales Order calendar events; users with only list access can no longer view them. (#68475)
  • Validates Commission Rate on sales forms against the 0–100 range, rejecting negative rates before they produce a negative commission. (#68471)
  • Corrects stock reservation checks for Sales Order rows with fractional unit conversions, so tiny rounding differences do not show fully covered quantities as available to reserve or cause the remaining quantity to be skipped when partial reservations are disabled. (#68563)
  • When bundle prices are based on component items, zero-quantity rows in sales documents keep their existing rate instead of causing a save error. (#68542)
  • Releases component stock reservations when a Sales Order is cancelled, even if its Product Bundle has been disabled. (#68550)
  • Displays Net Total and the Net Rate and Net Amount item columns on sales and purchase transactions when Additional Discount Amount is non-zero, including discounts below 1. (#68747)
  • When a Sales Order or Quotation has no items, the system reports Items as required instead of failing with an unexpected error. Missing totals are treated as zero when calculating payment schedules. (#68753)
  • A request containing is_consolidated no longer prevents selling documents from calculating item amounts and totals; only POS invoice merging uses the internal flag to bypass these calculations. (#68393)
Performance Improvements (1)
  • Speeds up customer outstanding calculations by limiting Sales Invoice checks to the selected customer and company. (#66705)

Buying

Bug Fixes (13)
  • Cleans the supplier message in the Request for Quotation email preview, preserving its formatting while removing scripts and code that could run when the preview opens. (#67050)
  • Only users with permission to edit a Request for Quotation can send supplier emails, preventing unauthorized supplier accounts and welcome emails from being created. (#67051)
  • Prevents removing a Purchase Order item linked to an inter-company Sales Order, so the sales order and related documents do not retain a link to a deleted item. (#67180)
  • Prevents deleting fully returned items from Purchase Order and Sales Order documents, so existing receipt and delivery records remain linked to the original order. (#67510)
  • Counts quantities returned from an internal Purchase Invoice as available for invoicing again, allowing users to create another Purchase Invoice from the linked Sales Invoice. (#67272)
  • Corrects account-currency amounts on exchange-difference entries in Purchase Receipts created from foreign-currency Purchase Invoices, and rounds the difference to the relevant precision. (#67786)
  • Updates Last Purchase Rate based on the newest Purchase Order, Purchase Receipt, or Purchase Invoice, excluding free items and internal purchases, so an older purchase record does not replace the rate from a newer invoice. (#68454)
  • Updates how Material Requests, Supplier Quotations, and Sales Orders track quantities ordered or received in parts by rounding the combined total, reducing cases where rounding makes the amount appear over or under the limit. (#66833)
  • For buying documents without a supplier, the system uses the first supplier found in the item rows, checking each item’s default before its item group’s; later rows no longer replace that supplier. (#68447)
  • Updates quantity totals for items ordered or received in parts, accounting for unit conversions before rounding in Purchase Order and Purchase Receipt records. When creating a Purchase Order for the remaining quantity on a Supplier Quotation or Sales Order row, it uses the row’s own unit. (#67231)
  • Checks that items and units in a Request for Quotation match the linked Material Request, and that both documents belong to the same company. (#58657)
  • The "Subcontract Order Summary" report now lists subcontracted finished goods even when all their materials are sourced by the supplier, along with their ordered and received quantities. (#68424)
  • Fills in a missing Received Quantity before calculating Received Qty in Stock UOM for Purchase Receipt and stock-updating Purchase Invoice items, so API-submitted returns update the original receipt’s returned quantity. (#68771)

Stock

Bug Fixes (81)
  • Uses the serial and batch numbers entered on packed rows when calculating the stock ledger preview for Delivery Note, rather than automatically selecting different numbers. (#65708)
  • When a draft Delivery Note from a Pick List is saved after an earlier delivery is cancelled, its packed items keep the warehouse that matches their existing serial numbers. (#66213)
  • Updates several stock error messages to support translation into the user's language, including messages in Serial and Batch Bundle, Item Price, Item, and Inventory Dimension. (#66199)
  • Saving Stock Settings no longer clears unrelated site cache entries when settings are unchanged or optional fields are blank. Re-enabling stock unit-of-measure quantity editing now refreshes the relevant cache. (#66187)
  • When Use Serial / Batch Fields is off, stock ledger previews for Delivery Note and Sales Invoice returns use the original serial and batch numbers, so returned stock appears as an inward entry. (#66195)
  • Updates the "Accounting Ledger Preview" to use the transaction’s serial and batch details when calculating stock values, including for returns. (#66277)
  • Copies the Use Serial / Batch Fields setting from Pick List items to Stock Entry items, so the selected serial and batch details carry over instead of being chosen automatically. (#66278)
  • Limits Recalculate Valuation Rate to Purchase Receipt and Purchase Invoice records with Update Stock enabled, and applies it only to the voucher being reposted. The setting is hidden on the Repost Item Valuation form because reports and other system processes set it automatically. (#64291)
  • The "Stock Ledger" report now includes stock entries posted during the final second of the selected To Date. (#66357)
  • Rounds Stock Qty before automatically selecting serial or batch numbers for outgoing stock, preventing small decimal differences from leaving a required number unselected. (#66383)
  • Updates the serial and batch selector to compare row quantities with Item Qty instead of the outward-only Qty to Fetch value, avoiding mismatch warnings on inward transactions when the quantities match. (#66374)
  • Includes stock entries posted in the final second of the selected To Date in the "Available Batch Report", "Batch-Wise Balance History", "Stock Ageing", and "Stock Analytics" reports. (#66355)
  • Updates the "Purchase Receipt Serial and Batch Bundle Print" format to show batch quantities in the item's stock unit of measure instead of the purchase unit. (#66352)
  • Blocks a backdated Stock Reconciliation from leaving a batch negative after later stock entries when negative batch stock is disabled. (#66367)
  • Fixes rejected-quantity returns for serial and batch items in Purchase Receipt and stock-updating Purchase Invoice when the purchase unit differs from the item's stock unit. (#66359)
  • Automatic batch assignment now converts other rows’ quantities to the item’s stock unit before calculating how much remains available in each batch. (#65591)
  • Updates the serial and batch selector to compare selected rows with the item’s quantity in its stock unit, avoiding mismatch prompts caused by unit conversions. It also loads rows for the specific accepted or rejected bundle being edited. (#66484)
  • Updates automatic batch selection in Delivery Note to account for quantities assigned to Packed Item rows, preventing those quantities from being allocated again to another row. (#66700)
  • Automatic batch assignment now considers quantities only from rows assigned to the same warehouse, including rows that inherit a warehouse from document defaults. (#66703)
  • When a bundle quantity changes on a Delivery Note created from a Pick List, its serial numbers adjust to match: extras are removed when the quantity drops, and available picked serial numbers are added when it rises. (#66730)
  • When a Delivery Note uses reserved stock, its batch quantity now matches the rounded quantity recorded in stock, so small rounding differences no longer leave stock reserved. Cancelling the delivery returns that quantity to the reservation. (#66879)
  • Updates Purchase Receipt returns and stock-updating Purchase Invoice debit notes to reverse only the portion of an Actual valuation charge carried by the returned stock, avoiding Cost of Goods Sold entries for charges not attached to that stock. (#66786)
  • Updates Purchase Receipt handling so rejected serial- and batch-tracked items and quantities entered in a different unit can be processed, including when the full quantity is rejected. Rejected stock leaves the in-transit warehouse, and stock-updating Purchase Invoice records bill rejected quantities without adding stock value for them. (#64274)
  • Allows rejected quantities to be returned for batch- or serial-tracked items in Purchase Receipt and Subcontracting Receipt, even when no accepted quantity is returned. (#64869)
  • Excludes Stock Reconciliation entries from consumption totals in the "Item Wise Consumption" and "Itemwise Recommended Reorder Level" reports, so stock counts are not reported as consumed. (#65438)
  • The "Stock Ageing" report now applies users’ Company permissions, excluding stock quantities, average age, and value for companies they cannot access. (#67058)
  • Requires users to have permission to view an Item before showing its alternative items. (#67069)
  • Requires a text Item Code to look up an Item Tax Template; other value types now show an error. (#67063)
  • Adds a permission check so users can retrieve tax details from an Item Tax Template only if they can select it; transaction tax calculations continue to work as before. (#67066)
  • Escapes warehouse names in the Batch form’s Stock Levels section so names containing quotation marks don’t interfere with the "Move" and "Split" buttons. (#67061)
  • When you use "Get Items", Landed Cost Voucher checks that each receipt is a supported type and that you have permission to view it before loading its items. (#67060)
  • The "Stock Analytics" report now excludes stock quantities and values from companies a user does not have permission to view. (#67059)
  • Requires read access to Delivery Trip to view a customer’s contact name and phone numbers, in addition to permission to select that customer. (#67056)
  • Applies users’ Company permissions to the "Warehouse Wise Stock Balance" report, limiting its warehouse list and stock balances to companies they can access. (#67057)
  • Checks users’ permission to select each Item Tax Template before returning an item’s tax accounts and rates. (#67067)
  • Rejects non-text values in Item Code during item tax lookups instead of treating them as valid item codes. (#67065)
  • Restricts the Pick List options in Delivery Note to companies the user is allowed to access, and rejects non-text values in the Company filter. (#67062)
  • When a directions request in Delivery Trip fails, the error is recorded in the Error Log and a brief message appears instead of a request URL that may expose the Google Maps API key; Google Maps error messages remain visible. (#67055)
  • Checks that users can view an Item before returning its manufacturer part number, preventing access to details for Items they lack permission to read. (#67068)
  • Checks a user’s access to a Warehouse before automatically fetching serial numbers, preventing retrieval from warehouses they cannot access. (#67094)
  • Applies user permissions to the Serial No and Batch No filters in the "Serial and Batch Summary" report, so users see only entries they can access. (#67109)
  • Requires read access to Inventory Dimension before listing parent fields for the Fetch Value From field. (#67115)
  • Checks users’ access to Stock Reconciliation and the selected Company before filling Difference Account, including company permissions that apply specifically to Stock Reconciliation. (#67122)
  • Rejects non-text values in Item Code when calculating a service end date, including when item details are supplied separately. (#67064)
  • Checks users’ permission to view the referenced Work Order, BOM, and Stock Entry records before "Get Items" or "Update Rate and Availability" uses their details. (#67075)
  • Users must have permission to view Stock Entry and access its warehouse to see stock quantities and valuation rates; warehouse access rules that apply specifically to Stock Entry are also respected. (#67054)
  • Checks that users can read POS Invoice records and access the selected Warehouse before showing reserved serial numbers in Point of Sale. (#67096)
  • When a batch is assigned automatically on a Delivery Note, quantities taken by other rows through Serial and Batch Bundle entries in the same warehouse are deducted from available stock, reducing cases where a batch with insufficient stock is selected. (#66810)
  • For internal transfer receipts with rejected items, Purchase Receipt now rounds the combined accepted and rejected quantity once before deducting it from the in-transit warehouse, instead of rounding each quantity separately. (#66794)
  • Values stock in internal Purchase Receipt documents and Purchase Invoice returns using the rounded quantity transferred, so unit conversions do not create a mismatch in the value of stock moving between warehouses. (#67189)
  • Updates the serial and batch selector to reload available batches when Warehouse or Fetch Based On changes and to use the original transaction’s batches when selecting batches for returns, including rejected quantities. (#66783)
  • Lets Stock Managers who can select a Purchase Invoice fetch its items into a Landed Cost Voucher, even if they cannot open the invoice. (#67294)
  • Allows returns containing only rejected batch items from an internal Purchase Receipt to send stock back to the in-transit warehouse at the correct value when purchase and stock units differ. (#67309)
  • Prevents a draft transaction from taking over a Serial and Batch Bundle linked to another draft. The save is rejected, leaving the original transaction’s bundle unchanged. (#67193)
  • Updates the Stock Reconciliation form to recalculate Amount, Quantity Difference, and Amount Difference when Quantity or Valuation Rate changes, including when either is set to zero. Blank values use the current stock quantity or rate, and preview amounts are rounded to match the values shown after saving. (#67660)
  • Limits rounding on internal Purchase Receipts so they do not remove more stock from an in-transit warehouse than remains from the original Delivery Note, accounting for earlier receipts and returns. (#67314)
  • Corrects stock accounting for internal Purchase Receipt records when Rejected Warehouse is the in-transit warehouse, recording the net value of stock that remains there instead of posting an incorrect amount to Cost of Goods Sold. (#67539)
  • Resets UOM Conversion Factor to 1 before calculating Rate of Stock UOM for stock-unit rows in Delivery Note and Purchase Receipt, so the rate is not reduced by a supplied conversion factor. (#67739)
  • Corrects stock values for serial numbers, batches, product bundles, and subcontracting returns during transactions and reposting, while speeding up checks for older serial and batch records. Reposting now stops with an error when its saved data is missing or damaged, instead of finishing without updating related account entries. (#67869)
  • FIFO stock transfers now match stock layers using rates rounded to the stored precision, avoiding incorrect layer selection and unexpected cost adjustments caused by tiny decimal differences. (#63645)
  • Updates the Price List Rate alongside the Rate when Material Request item rates are refreshed from the selected buying price list, so related purchase orders use the updated value. (#68164)
  • Updates Total Additional Costs in Stock Entry when additional cost amounts change or cost rows are added, duplicated, or removed. (#68391)
  • When users duplicate a finished-good row in a Stock Entry, the item list and Finished Good Quantity stay unchanged, and the duplicated row keeps its warehouses. (#68395)
  • Rounds Quantity Difference and Amount Difference to their configured precision in Stock Reconciliation, so saved values don’t show extra decimal digits. (#68490)
  • Checks that documents referenced by a Stock Entry belong to the same company and that its Pick List Item and Job Card Item rows come from the selected Pick List or Job Card, rejecting mismatches when the entry is saved. (#67092)
  • In Stock Reconciliation, a Valuation Rate of zero is kept for rows with a selected serial or batch bundle when Allow Zero Valuation Rate is enabled; otherwise, the bundle’s current rate is used. (#68516)
  • Rejects Stock Entry rows linked to a Pick List when they move a different item, while still allowing valid alternative items in a Work Order. (#68555)
  • Allows Purchase Receipt returns linked to foreign-currency Purchase Invoices to reverse the exchange-rate difference, including when the return uses a different unit of measure. (#68597)
  • Updates the item indicator in Stock Entry to compare the rounded quantity in the stock unit with warehouse stock, showing orange when the source warehouse has too little stock. (#68584)
  • Allows a Purchase Receipt to reserve stock for a Sales Order when earlier Pick List quantities are fully delivered, while still blocking reservation for undelivered picks. (#68576)
  • Keeps manually entered Rate values when a new Material Request is first saved; rates update from the price list only when Price List changes on a saved request. (#68573)
  • Updates the item indicator on draft Delivery Note forms to compare the required quantity in the stock unit with available warehouse stock, so shortages are shown correctly when a different unit of measure is used. (#68559)
  • Values returns of internal Purchase Receipts and stock-updating Purchase Invoices at the original transfer rate, avoiding incorrect inventory values and Cost of Goods Sold entries. (#68540)
  • When stock is removed at a fixed rate under Moving Average, the value deducted is capped at the value on hand, so a purchase return does not leave a negative stock value; any excess is recorded as a cost difference. (#68493)
  • Calculates Received Qty in Material Request from each receipt’s quantity and unit conversion factor, rounding the combined total instead of rounding each partial receipt separately. (#67251)
  • Matches LIFO stock layers using the recorded rate when processing Purchase Receipt returns, so small rounding differences don’t cause stock to be taken from a different layer. (#68690)
  • Updates returns from rejected warehouses in Purchase Receipt to use the value recorded for rejected stock on the original receipt, avoiding leftover account differences caused by rounding or changes in stock value. (#68720)
  • New rows in Stock Entry now use the entry’s source and target warehouses even when user defaults fill the row; duplicated rows keep their own warehouse selections. (#68756)
  • Allows users to add items to a Material Request using a Source Warehouse they cannot otherwise access, while showing its stock as zero. (#68767)
  • Prevents removing a unit of measure from an Item while an Item Price still uses it, which could cause the price to be applied as if it were for the stock unit. (#68501)
  • Keeps the original quantity moved out of transit when an internal Purchase Receipt is reposted, rather than recalculating it based on later stock changes. (#68749)
Performance Improvements (2)
  • Batch and serial valuations and related stock lookups now read Serial and Batch Entry records directly, using details copied from Serial and Batch Bundle, reducing lookup time for large inventories. (#68375)
  • Adds a Skip Unchanged Entries option to Repost Item Valuation, allowing stock-triggered recalculations to stop at a Stock Reconciliation that resets the balance or when recalculation leaves the stock balance unchanged. This reduces the number of stock and accounting entries recalculated. (#68781)

Manufacturing

Bug Fixes (37)
  • Updates the Work Order quantity dialog to include the overproduction allowance in the maximum and use it as the default when no regular quantity remains. (#66361)
  • When a purchase unit would result in a fractional quantity in a whole-number stock unit, Production Plan requests materials in the stock unit instead; material requests created from Sales Order retain that unit. (#66346)
  • Updates manufacturing checks in Stock Entry to compare finished goods in the stock unit and validate whole-number quantities after adjustments, reducing incorrect process-loss amounts on entries that use an alternate unit. (#66591)
  • Updates older Production Plan material rows saved with a purchase unit to use the stock unit, so Material Requests use the recorded quantity without applying the purchase-unit conversion again. (#66707)
  • Sorts entries with the same date in the "Production Planning Report" by document and row position, so raw-material allocations follow a consistent order. (#66813)
  • Updates Job Card time logs and timers in the Workstation dashboard and Work Order form to use system time instead of the user’s local time, so time-zone differences don’t shift recorded times. (#66851)
  • Limits a later Job Card to the quantity completed by the previous operation, preventing the same process loss from being counted again. (#64696)
  • Uses the quantity-weighted average rate across a Work Order’s manufacture entries when a Stock Entry disassembly returns components, rather than using the rate from a single entry. (#66839)
  • The Production Plan search now lists only Sales Order records allowed by the user’s permissions, including restrictions on linked Company, Customer, and Item records. (#67099)
  • Closing or reopening a Production Plan is now limited to submitted plans; draft and cancelled plans cannot have their status changed this way. (#67104)
  • The BOM tree preview now handles special characters in item image paths without changing the displayed image, and shows special characters in BOM and Item names as text in the "Open BOM" and "Open Item" buttons. (#67106)
  • The "Work Order Consumed Materials" report now shows material usage only for Work Order records from companies the user is permitted to access. (#67098)
  • Checks that users can view a selected Routing before copying its operations into a BOM. (#67105)
  • Material Requests created from a Production Plan now use the unit of measure specified on each plan row, rather than incorrectly applying the item’s purchase unit to the requested quantity. (#66485)
  • Shares each raw material’s required quantity across transfer and purchase rows in Production Plan, so the plan reserves the requirement once rather than once per row. (#66824)
  • Updates BOM costing to use only Item Price records valid today when calculating material rates from a Price List, excluding future and expired prices. (#67575)
  • When a BOM uses a different unit, Work Order required items now show the rate per stock unit alongside quantities in stock units, so the item amount uses matching units. (#67591)
  • When Skip Material Transfer to WIP Warehouse is enabled, a Work Order that uses more material than required no longer reduces Reserved Qty for Production for other work orders. (#67673)
  • Checks existing jobs on workstations within the selected Workstation Type when scheduling Job Cards and validating their time logs, helping prevent overlapping bookings. When another workstation is available, the job keeps its requested start time. (#67824)
  • When a previous operation has already recorded a loss, the next Job Card adjusts For Quantity and Process Loss so the same loss is not counted twice, instead of blocking submission. (#67304)
  • Updates Production Plan to calculate remaining quantities for Manufacture Material Request items in the item's stock unit, so partially fulfilled requests using a different unit remain available when creating a plan. (#67851)
  • Updates the Elapsed Time timer in Job Card so overlapping work periods from multiple operators count only once, matching Total Time in Mins. The timer also accounts for fractional seconds and avoids shifts caused by daylight-saving changes in the browser’s time zone. (#67838)
  • Rejects a Job Card at save when the total quantity of cards for an operation exceeds the Work Order quantity, rather than waiting until submission. (#67879)
  • In Production Plan, “Get Sales Orders” now lists only orders whose items or item templates have an active BOM, and “Get Finished Goods” uses the same matching rule. (#67919)
  • Updates BOM to recalculate operating costs using Quantity, Batch Size, and Set Operating Cost Based on BOM Quantity when related values change, so the form reflects the cost that is saved. (#68218)
  • When Consolidate Sales Order Items is selected in a Production Plan, Sales Order references are added only for items with a default bill of materials. (#68618)
  • Rounds company-currency rates, amounts, and totals in BOM and BOM Creator costing to their configured decimal places, avoiding extra digits in saved costs. Cost updates also save item rows when rounded amounts change and refresh parent BOMs when their totals change. (#68634)
  • When a Job Card uses a Workstation Type with no Workstation, the system now reports this clearly instead of showing a missing workstation error. (#67996)
  • Filters the Blanket Order choices in Quotation, Sales Order, and Purchase Order rows to match the text entered in the Blanket Order field. (#68669)
  • When "Get Sales Orders" finds no matches, Production Plan clears the Sales Orders list instead of keeping orders from an earlier search. (#68650)
  • Counts only Work Order records linked to each Sales Order line when calculating its Work Order Qty for Product Bundle items. (#68656)
  • Sets the Planned End Date in Work Order to the latest end time across all operations, including those running in parallel. (#68644)
  • Rounds Corrective Operation Cost and Total Operating Cost on Work Order to the company currency’s precision after adding corrective Job Card costs. (#68642)
  • Updates Production Plan to keep Do Not Explode lines as requested items when Include Subcontracted Items is off, rather than expanding them into components, and to keep them separate from exploded lines for the same item. (#68665)
  • Updates Required Qty on Job Card material rows when For Quantity changes, preserving amounts already transferred and removing untransferred items no longer needed for the operation. (#68729)
  • Adjusts scrap quantities in Stock Entry manufacture entries to account for process loss when using secondary items recorded on a Job Card. (#68401)
  • Updates Work Order disassembly to calculate the available quantity from finished goods produced, excluding process loss, so the raw materials returned for the same quantity are consistent whether production was recorded in one or several entries. (#68431)
Performance Improvements (1)
  • The "Production Planning Report" reuses the child warehouses of the selected Raw Material Warehouse across materials, avoiding repeated lookups. (#66382)

Subcontracting

Bug Fixes (13)
  • Carries scrap-item details into returns created from a Subcontracting Receipt, so scrap rows are rebuilt correctly when the return is saved. (#66217)
  • Rounds BOM quantity differences to the allowed precision in Subcontracting Receipt, so material shortage messages display rounded amounts instead of extra decimal digits. (#66376)
  • Updates Subcontracting Receipt returns so batch- and serial-tracked raw materials use the recalculated rates from the original receipt after stock reposting. Materials from returned rejected goods retain a zero value. (#66378)
  • Scrap items in Subcontract Return now use the quantities recorded on the Subcontracting Receipt, rather than being recalculated from the bill of materials, so returns are checked against the amount of scrap received. Scrap already fully returned is omitted from later returns. (#66287)
  • Checks that warehouses on subcontracting documents belong to the document’s company, including supplier warehouses before their stock is read. (#67103)
  • Calculates the raw materials taken back on a Subcontract Return from what the original receipt consumed, in proportion to the finished goods returned, rather than from the BOM alone. (#67253)
  • Matches each Subcontracting Order item with its service row through the linked Purchase Order row, so reordering or removing an item affects the correct service row and quantity changes update the matching row. (#68332)
  • A Subcontracting Order now checks its linked Purchase Order’s pending quantities once per save instead of repeating the lookup for each item, and it no longer runs the same item validation twice. (#68688)
  • Requires every finished-good row in a Subcontracting Order to have a matching service row before submission, preventing the related Purchase Order quantity from being ordered without its service cost. (#68274)
  • Updates Subcontracting Order status to show Partial Material Transferred until each raw material is supplied in its required quantity, so extra quantities of one material do not hide a shortage in another. (#68328)
  • Updates Subcontracting Order to calculate raw material costs and supplied item rates in the company’s currency when its BOM uses a different currency. (#68280)
  • Deleting a finished good row from a Subcontracting Receipt also removes its linked scrap and other secondary rows, and submission is blocked if a secondary row has no matching finished good. (#68406)
  • Rounds additional cost shares across finished goods in Subcontracting Orders and Subcontracting Receipts, so rounding differences are included in the total charge. It also rejects additional costs when finished goods have no amount or quantity to carry them. (#68409)

Assets

Bug Fixes (8)
  • Updates Asset transfer processing to use the same submission method as form submissions. (#65983)
  • Checks that users can view the selected Company before loading its asset disposal defaults, including Disposal Account and Depreciation Cost Center. (#66328)
  • Checks that users can view the selected Asset Category before loading its depreciation defaults for an asset. (#66622)
  • Deleting a draft Asset now also removes its linked draft Asset Depreciation Schedule, so you don’t need to delete the schedule separately. (#66684)
  • Recalculates the salvage value and depreciation rate in Asset finance book rows when Gross Purchase Amount changes, using the Salvage Value Percentage. (#67966)
  • Updates Asset Repair to show the cost of issuing consumed stock at the repair completion date, and recalculates Valuation Rate and Total Value when the quantity changes. (#67967)
  • Refreshes stock valuation rates in Asset Capitalization when Stock Qty changes, so the displayed rate and amount reflect the updated quantity. (#68107)
  • Keeps manually entered Rate of Depreciation and Salvage Value together in Asset; the form recalculates the rate only when it is empty or was automatically calculated. (#68131)

Projects

Bug Fixes

  • Checks that a linked Project can be used when it’s added or changed on a Task, and verifies access to linked Task and Project records in Timesheet entries when they’re saved, submitted, or canceled. (#66208)
  • Users with the HR User role can now select a Project and Task on a Timesheet. (#66388)
  • Blocks customer portal users from printing Project records, which can include costing and margin details, while the Projects portal page continues to check their access. (#67102)

Support

Bug Fixes

  • Maintenance Visit now rejects Warranty Claim records for a different customer or company and checks that the Maintenance Schedule belongs to the same company. (#67108)

Setup

Bug Fixes

  • Saving Global Defaults without changing its settings no longer clears the entire site cache. (#66284)
  • Rejects Terms and Conditions templates that use unsupported functions when saved; documents with older templates that cannot be displayed can still be opened or printed, with the terms left blank and an alert shown. Purchase Order saves show a clear message when their terms cannot be displayed. (#66363)

Full Changelog: v15.125.0...v15.126.0

Authors: @nishkagosalia, @Shllokkk, @Sudharsanan11, @mihir-kandoi, @krishna-254, @ervishnucs, @nabinhait, @khushi8112, @Afsalsyed, @rohitwaghchaure
Reviewers: @mihir-kandoi, @khushi8112

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:

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

Don't miss a new erpnext release

NewReleases is sending notifications on new releases.