github frappe/erpnext v16.61.0

57 minutes ago

General

Bug Fixes (15)
  • 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. (#68141)
  • 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. (#68121)
  • Checks Is this Tax included in Basic Rate? against the current form’s tax rows, rather than tax rows from a previously opened form. (#68106)
  • 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. (#68110)
  • Updates several custom primary buttons so their labels remain readable on hover in both light and dark modes. (#67916)
  • Portal lists opened from Web Form now show values in their configured List Columns for supported transactions. (#68400)
  • Limits stock availability checks in POS Invoice to warehouses in companies permitted for the user’s POS Profile. (#68484)
  • Updates test setup to skip existing Price List entries by name, even when their currency differs, avoiding duplicate-name errors when tests start. (#68790)
  • Rejects POS Invoice item searches that use a POS Profile the user isn’t permitted to view. (#69220)
  • Company defaults are returned only to users who can read the relevant Company; Stock Entry skips loading a default Cost Center when users lack that access. (#68580)
  • The "Update Items" action now checks that each item row belongs to the selected Sales Order or Quotation before changing it. (#69229)
  • Loads accounting defaults only for Company records the user can read, while keeping basic company details available at startup. (#68512)
  • Checks access to the selected Customer or Supplier and Price List when adding items to a transaction, and blocks the selection if the user isn’t permitted to use them. (#69274)
  • Adds http or https link validation to the URL field in Video and opens non-YouTube videos in a new tab when users select "Watch Video". (#68307)
  • When same-rate checks are set to Stop, Sales Orders created from Quotations for internal customers reject changed rates. Rate mismatch messages show the source rate only to users who can view the source document. (#69307)

Accounts

Bug Fixes (11)
  • Refreshes the Exchange Rate in Journal Entry rows when an account’s currency changes, so amounts use the rate for the selected currency. (#67969)
  • Updates the Payment Schedule in Purchase Invoice records after payments are reconciled, unreconciled, or canceled, so its outstanding amount reflects the invoice balance. (#66336)
  • Keeps Apply TDS selected when creating a Purchase Invoice from another document for a supplier with a tax withholding category or group. (#68698)
  • Limits how long description patterns in Bank Transaction Rule can take to match; patterns that time out count as non-matches so checks can continue for other transactions. Matching is case-insensitive without changing the meaning of special characters in the pattern. (#68492)
  • Resets Received Qty and Rejected Qty on Purchase Invoice items not linked to a Purchase Receipt when Update Stock is off, so they appear when creating a receipt. (#68861)
  • Requires users to have permission to view a Sales Invoice and create an Invoice Discounting record before creating one from the invoice. (#69091)
  • Calculates early-payment discounts in Payment Entry using the party and bank account currencies, so payment amounts and discount deductions reflect the currencies involved. (#68387)
  • Limits outstanding invoices, orders, and journal entries returned for a Payment Entry to records the user can view; users must also have permission to create a Payment Entry and access the relevant Company. (#68156)
  • Checks permission for the selected Account before displaying its details in Journal Entry. (#69207)
  • Limits Accounting Dimension defaults shown in forms and reports to Company records the user can access, while leaving the available dimensions unchanged. (#69120)
  • Restricts the Print Format options in Payment Request to formats the user has permission to access. (#69124)

Selling

Bug Fixes (23)
  • When Don't Reserve Sales Order Qty on Sales Return is enabled, a replacement delivery no longer reduces the reserved stock for other orders. (#67659)
  • 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. (#67945)
  • When the same rate is required throughout the sales cycle, Delivery Note rows keep the Sales Order rate when a batch is automatically selected, rather than using the batch-specific price. (#68149)
  • Allows users to filter billable Sales Order entries by Sales Order Item fields in the Sales Invoice item picker without the search failing. (#68112)
  • 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. (#68394)
  • 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. (#68384)
  • The Sales Order calendar and Gantt views apply the same access rules as the list view, so users see only orders they’re permitted to access. (#68459)
  • Requires read access to view Sales Order calendar events; users with only list access can no longer view them. (#68474)
  • Validates Commission Rate on sales forms against the 0–100 range, rejecting negative rates before they produce a negative commission. (#68472)
  • When bundle prices are based on component items, zero-quantity rows in sales documents keep their existing rate instead of causing a save error. (#68543)
  • 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. (#68564)
  • Releases component stock reservations when a Sales Order is cancelled, even if its Product Bundle has been disabled. (#68551)
  • When legacy client-side reactivity is enabled, items added with "Add row" in Quotation and Sales Order receive a Rate, so their Amount, taxes, and totals display instead of remaining blank. (#68686)
  • 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. (#68754)
  • 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. (#68748)
  • Updates the item indicator in Sales Order to account for unit conversions and stock-quantity rounding when comparing pending quantities with available stock. (#67691)
  • The Sales Order stock reservation dialog now proposes the quantity left after subtracting both delivered and already reserved stock. (#68842)
  • Updates Sales Order Gross Profit calculations to use the price per stock unit, so items entered in a different unit show the same profit in the form as after saving. (#68859)
  • Calculates bundle prices from component rates using the unit selected on the transaction, and preserves the original bundle price on returns. (#68911)
  • A Sales Order can now be put on hold when a related Subcontracting Inward Order is closed, and reopening the Sales Order leaves inward orders closed directly by the user unchanged. (#69000)
  • For internal Delivery Note transactions, the form now shows the cost of the stock leaving the warehouse on the document date instead of the stock queue’s average, and updates the rate when the quantity or unit conversion changes. Internal purchase rows now use the sending warehouse’s valuation. (#69051)
  • Applies company access permissions in the "Customer Acquisition and Loyalty" report, preventing users from viewing an unauthorized company and limiting results to permitted companies when none is selected. (#69349)
  • When Validate Selling Price for Item against Purchase Rate or Valuation Rate is enabled, selling documents compare Product Bundle prices with the value of their components and reject prices below that value. The check skips bundles when Editable Bundle Item Rates is enabled, because their price comes from the components. (#69066)

Buying

Bug Fixes (14)
  • Checks that items linked to a Material Request in a Request for Quotation match the source item and unit of measure, and that both documents belong to the same company. (#58656)
  • 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. (#68425)
  • 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. (#68455)
  • 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. (#68448)
  • When debit notes use a different unit from a Purchase Invoice, Purchase Receipt creation and the "Billed Items To Be Received" report convert returned quantities to the invoice’s unit before calculating what remains. (#68531)
  • When creating a Purchase Receipt from a Purchase Invoice, the mapped quantity accounts for previous receipts and debit notes, and rows with no quantity left are omitted. (#68591)
  • 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. (#68772)
  • Limits received quantities for subcontracted services on Purchase Orders to the ordered amount plus any allowed overage. (#68892)
  • Reopening a Purchase Order no longer reopens its Subcontracting Orders automatically; users can reopen any orders they need from the Subcontracting Order status menu. (#68955)
  • Converts the last purchase rate to the selected unit of measure in a Purchase Order, instead of applying the stock-unit rate unchanged. (#68970)
  • Purchase Receipts, Purchase Invoices, Delivery Notes, and Sales Invoices now check rates against their linked orders when the supplier or customer represents another company; refreshing item details also retains the order rate. (#68972)
  • Calculates the valuation rate for standalone Purchase Invoice returns in the unit selected on each row, using the corresponding stock quantity and item conversion factor. (#69008)
  • Corrects rates on standalone Purchase Invoice returns using the item’s applicable unit and the invoice currency, including when unit or exchange-rate details are missing or outdated. Rejects return rates that round to zero instead of saving them as zero. (#69252)
  • When unit or currency details are missing, standalone Purchase Invoice returns use the item's purchase unit and the supplier's default currency, or the company currency if none is set, with the appropriate conversion factor and exchange rate applied to pricing. (#69310)

Stock

Features (2)
  • When Auto Repost Incorrect Valuation Entries (Weekly) is enabled in Stock Reposting Settings, a weekly check reviews Stock Ledger Entry records from the current fiscal year and submits a Repost Item Valuation for the first incorrect entry found for each item and warehouse. The setting remains off by default. (#63404)
  • Adds a valuation breakdown page for an item and warehouse, showing how each stock entry changes its value and per-unit rate, including batch, serial-number, and backdated-entry details. Open it from the Incoming Rate or Outgoing Rate columns in the "Stock Ledger" report to review entries that may need reposting. (#69403)
Bug Fixes (70)
  • 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. (#63646)
  • 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. (#68165)
  • Updates the linked Serial and Batch Bundle in the item's stock unit when quantities change on a draft internal Purchase Receipt, preventing mismatches when the receipt uses a different unit. (#68182)
  • Preserves reserved batch details on each split Stock Entry row, so "Material to Supplier" transfers can use batches reserved by the Subcontracting Order without manual batch selection. (#68138)
  • Updates package quantities for draft internal Purchase Receipt records when the item’s stock quantity changes, including when its unit of measure or conversion factor changes. (#68192)
  • Updates the rejected package on a draft internal Purchase Receipt when its rejected quantity or unit of measure changes, so the package matches the receipt. Package quantities on internal transfer Purchase Invoice records can also update for users who can save the invoice but cannot edit package records. (#68231)
  • Draft internal-transfer Purchase Receipt rows now clear the rejected package when Rejected Qty reaches zero and the accepted package when Accepted Qty reaches zero, so users can save the receipt without removing those links manually. (#68251)
  • 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. (#67024)
  • Blocks cancellation of a stock transaction recorded before a Stock Reconciliation at the same posting date and time, since cancelling it can change the reconciled stock balance. (#68370)
  • Updates Total Additional Costs in Stock Entry when additional cost amounts change or cost rows are added, duplicated, or removed. (#68392)
  • 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. (#68396)
  • Limits Landed Cost Voucher charges for a Subcontracting Receipt to finished goods, so charges are added to stock value instead of being assigned to scrap or by-product rows. (#68408)
  • Corrects stock values for returned serial- and batch-tracked items, bundled items transferred between warehouses, and serial items received and issued at the same recorded time. Stock reposts now stop when their saved data is missing or damaged, retain accounting entries for transactions cancelled during a repost, and use fewer lookups for older serial and batch records. (#68363)
  • When multiple Stock Entry documents for the same item and warehouse are submitted at once, they wait in sequence, reducing failed submissions and incorrect back-dated stock entries. Batch and serial checks also process less history, speeding up submissions for items with many past stock transactions. (#67317)
  • 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. (#68502)
  • 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. (#68494)
  • Rounds Quantity Difference and Amount Difference to their configured precision in Stock Reconciliation, so saved values don’t show extra decimal digits. (#68491)
  • Rounds transferred quantities before comparing them with picked quantities, allowing a Stock Entry to match a Pick List when fractional unit conversions cause small rounding differences. (#68539)
  • Ignores tiny calculation leftovers when determining whether a Stock Reservation Entry is partially delivered, so entries with zero Delivered Qty aren’t incorrectly marked as partially delivered. (#68536)
  • 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. (#68517)
  • 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. (#68560)
  • 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. (#68556)
  • The "Stock Valuation Comparison" report and stock adjustment entries now use unrounded fractional rates when calculating stock values, so rates below currency precision are not treated as zero. (#68527)
  • Rejects Delivery Note and Sales Invoice rows when their item differs from the linked Pick List item, so a different item is not counted as delivered against that pick list. (#68608)
  • 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. (#68598)
  • Blocks "Get Items" on Stock Entry records created from a Job Card, preventing their items and additional costs from being replaced with those of the full Work Order. (#68586)
  • 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. (#68585)
  • 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. (#68577)
  • 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. (#68574)
  • 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. (#68541)
  • A Sales Invoice or Delivery Note created from a Pick List without a Sales Order now uses the customer’s default currency, or the company’s currency if the customer has none, instead of the system default. (#68622)
  • 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. (#68691)
  • When an Item is renamed, its associated Item Lead Time record is renamed too, allowing the previous item code to be reused. (#68728)
  • For batch-tracked items in a Product Bundle, Incoming Rate now reflects the batch selected when the stock transaction is submitted, rather than the warehouse average. (#68737)
  • 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. (#68721)
  • 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. (#68757)
  • Keeps the original quantity moved out of transit when an internal Purchase Receipt is reposted, rather than recalculating it based on later stock changes. (#68750)
  • Allows users to add items to a Material Request using a Source Warehouse they cannot otherwise access, while showing its stock as zero. (#68768)
  • Updates the "Stock Valuation Comparison" report to value LIFO purchase returns at the returned receipt’s rate, so these returns no longer appear as differences when the report matches the stock ledger. (#68824)
  • Allows batch- and serial-tracked items on a Delivery Note to return item details when no document is supplied, and uses the row’s Price List to calculate batch prices. (#68809)
  • Updates Batch No in the barcode scan dialog to link to Batch, so scanned batches can be assigned to items already listed in Sales Invoice. (#68792)
  • Uses template re-order levels to create Material Requests for variants without their own levels, using the variant’s item details. (#68836)
  • When a Stock Entry has no rate, converts the fallback buying price from its listed unit to the item’s stock unit before valuing the stock. (#68855)
  • Updates the serial and batch selector to prefill rejected quantities in the stock unit, applying the item's unit conversion and rounding. (#68908)
  • Changing the posting date or time in Stock Reconciliation keeps any manually changed Quantity or Valuation Rate while updating current stock figures and differences; unchanged values continue to follow stock records for the selected time. (#68840)
  • Updates Pick List stock reservations to account for quantities already transferred, so only the remaining quantity stays held in the source warehouse. Automatic allocation also limits quantities to the serial numbers available at each location. (#68904)
  • Rounds additional-cost shares across rows in Stock Entry so the full charge appears in stock value and expense account totals. (#68833)
  • When no customer-specific price is available for the unit used on a transaction, pricing checks the customer’s price in the item’s stock unit before using a general price for the transaction unit, converting it to match. (#68894)
  • When selecting a Work Order in a Stock Entry, Finished Good Quantity now reflects the entry purpose and quantities already transferred, produced, lost in processing, or disassembled. Completed Work Orders with quantities still to disassemble also appear for Disassemble entries. (#68947)
  • When the serial and batch selector opens as an item is added, it converts the selected total to the row’s UOM before updating Qty, preventing inflated quantities when the row uses a different unit from the stock unit. (#68961)
  • New rows in Stock Entry now inherit Default Source Warehouse and Default Target Warehouse, while duplicated rows keep their existing warehouses. (#68944)
  • In Stock Entry material receipts, changing UOM, Conversion Factor, or Batch No keeps the entered Basic Rate and recalculates the Basic Amount. Changing the item clears the previous item's rate and recalculates the amount. (#68951)
  • When creating a Delivery Note from a Sales Order, the system uses serial numbers reserved for each order item first, then fills any remaining quantity from unreserved stock, including for bundle components. (#63785)
  • Deleting rows with "Update Items" now refreshes Requested Qty in the linked Material Request warehouse and releases Reserved Qty for components of deleted Product Bundle rows. (#68983)
  • When Stock Reconciliation fills a missing valuation rate from a buying price, it converts the price to the item's stock unit and keeps small converted rates from being rounded to zero. (#68985)
  • Blocks changes to the Serial and Batch Reservation rows in a Stock Reservation Entry after stock has been delivered, consumed, or transferred, while allowing the entry to be saved if those rows remain unchanged. (#69100)
  • In Stock Entry, percentage-based co-products now take their share from the cost remaining after manually priced finished goods are accounted for, preventing the output value from exceeding the cost of the materials used. (#69071)
  • Applies landed costs on internal Purchase Receipts to accepted stock only, keeping transit and rejected stock at their original value. (#69068)
  • Updates Bin stock values for transactions with the same posting date and time, and avoids unnecessary Repost Item Valuation jobs when earlier transactions are mistaken for later ones. (#69088)
  • Rejects a Purchase Receipt return when the selected warehouse lacks the returned quantity at the original purchase rate, preventing it from removing a different stock lot and recording the value difference as a gain. (#69062)
  • Updates return quantity checks for Purchase Receipt and Delivery Note to account for rounding across multiple returns, so a valid final portion is not rejected when the total matches the original quantity. (#67266)
  • Inter-company Purchase Receipt returns now retain their link to the Delivery Note row, so returned quantities can be received again and use the linked delivery rate. Batch- and serial-tracked returns also keep their stock details associated with the correct warehouses. (#68118)
  • Limits stock returned through Purchase Invoice returns to the quantity remaining from the original receipt after earlier stock returns, so partial returns don’t remove more stock than is left. (#67267)
  • Limits stock restored by Delivery Note returns to the amount originally taken out, minus previous returns, so partial returns do not add extra stock. (#67269)
  • The Material Request portal page loads only Material Request records and shows the same “Not Permitted” message when a record is missing or the user cannot read it. (#69122)
  • Preserves each serial number’s and batch’s individual cost during internal transfers from Delivery Note to Purchase Receipt and from Sales Invoice to Purchase Invoice, instead of applying the row’s average cost. (#69230)
  • Updates stock returns so rows referring to the same original item share the remaining quantity, preventing them from putting back more stock than was originally removed. (#69325)
  • Corrects customer- and supplier-specific stock-unit pricing so packing-size prices are not applied when the quantity rounds to zero, and pricing works when no transaction line is available. (#69308)
  • Carries batch and serial details from a Delivery Note into an inter-company Purchase Receipt, so received stock retains its original tracking instead of being assigned a new batch. (#69093)
  • Updates automatic batch and serial number assignment for bundled items to use the quantities being saved, so changes to bundle quantities or rows are reflected when selecting available stock. (#67263)
Performance Improvements (1)
  • Adds Skip Unchanged Entries to Repost Item Valuation, allowing stock-transaction recalculations to stop after a Stock Reconciliation that resets the balance or when the balance no longer changes, so unaffected later entries and related accounting records are not reprocessed. (#68489)

Manufacturing

Features (1)
  • Adds a "Return Components" option to draft Job Card records, allowing unused materials to be returned to their source warehouse while the Work Order is open. Returned quantities are deducted from transferred amounts so the materials can be issued again. (#68917)
Bug Fixes (83)
  • Updates the raw-material reservation dialog in Production Plan and Work Order to show and reserve the remaining quantity in the stock unit, without dividing it by the item’s conversion factor. (#67899)
  • Updates Production Plan status to ignore raw-material rows with nothing to request, so plans remain Submitted when no material request is needed. (#67873)
  • 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. (#67852)
  • 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. (#67839)
  • When a Blanket Order uses a price list in the order currency, its Price List Exchange Rate now follows the order’s Exchange Rate, so changing the exchange rate no longer changes the item price in that currency. (#67938)
  • Updates "Download Required Materials" in Production Plan so stock in selected transfer warehouses is counted only once when For Warehouse is blank, preventing it from being included both as available stock and as stock to transfer. (#67921)
  • 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. (#67920)
  • Makes "Get Sales Orders" list each Sales Order only once in a Master Production Schedule, even when multiple item rows match. (#68162)
  • "Generate Demand" keeps generated rows in a saved draft Sales Forecast for review and saving, and is hidden after the forecast is submitted. (#68133)
  • Rejects Sales Order and Purchase Order rows when their Item is not listed in the linked Blanket Order. When an item change no longer matches the linked order, clears the Blanket Order and Blanket Order Rate fields. (#68130)
  • Updates BOM forms to recalculate Secondary Items Cost and Total Cost when raw material or fetched secondary-item costs change. (#68228)
  • Updates the Finished Goods Warehouse in BOM operations when Default Target Warehouse changes, even when Default Source Warehouse is empty; clearing the default also clears the operation warehouses. (#68227)
  • 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. (#68219)
  • Keeps the "Return Components" button available on a Work Order after a partial return when components remain in work in progress. (#68243)
  • Updates a Work Order to In Process after a Material Consumption entry is submitted, including when the order skips material transfer to the WIP warehouse. (#68246)
  • Creating a BOM from a Work Order now includes materials recorded in Material Consumption entries, so those materials appear in the new BOM. (#68237)
  • Prevents users from deactivating or cancelling a BOM used by an active Subcontracting BOM, avoiding errors when creating related subcontracting orders. (#68263)
  • Prevents Material Consumption for Manufacture entries from being submitted against a closed Work Order, where they could consume materials from work in progress. (#68239)
  • Allows users to save preparation changes on an unstarted Job Card even when an earlier operation has no completed quantity; starting work, recording progress, or submitting it still requires earlier operations to have progress. (#68314)
  • Limits Master Production Schedule fetches of Sales Order and Material Request records to the schedule’s company, excluding records from other companies. (#68309)
  • Adjusts scrap quantities in Stock Entry manufacture entries to account for process loss when using secondary items recorded on a Job Card. (#68402)
  • 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. (#68432)
  • Clicking a workstation tile on the plant floor now opens the corresponding Workstation form. (#68499)
  • Resets the conversion factor to 1 for materials copied from an operation’s BOM when their units change to stock units, preventing their required stock quantities from being counted twice. (#68552)
  • Adds an operation’s actual cost to the semi-finished good’s Stock Entry created from a Job Card, even when the operation has no workstation operating components. (#68611)
  • Manufacturing Stock Entry records no longer add planned workstation component charges when an operation’s actual operating cost is zero. (#68606)
  • Production Plan no longer counts output reserved by a Work Order twice against its Sales Order, so the remaining quantity can be added to the plan. (#68633)
  • With date filters, the "Cost of Poor Quality Report" counts overlapping work time from multiple operators only once when calculating total time and operating cost, and excludes unfinished time logs. (#68629)
  • 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. (#68619)
  • 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. (#68635)
  • Updates pending quantities in Production Plan to offset one Work Order’s excess process loss with another’s lower loss, reducing unnecessary orders when combined output meets the plan. (#68623)
  • Prevents return-marked Stock Entry records for Manufacture or Consumption from being submitted against a closed Work Order, while still allowing Material Transfer for Manufacture returns. (#68674)
  • Filters the Blanket Order choices in Quotation, Sales Order, and Purchase Order rows to match the text entered in the Blanket Order field. (#68670)
  • 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. (#68666)
  • Changes how Production Plan downloads required materials: stock in the receiving warehouse counts toward the materials needed and is not listed for transfer back to that warehouse. (#68662)
  • Time logs added to Job Card through the API are checked for workstation or employee overlaps and valid start and end times before they are saved. (#68658)
  • Sets the Planned End Date in Work Order to the latest end time across all operations, including those running in parallel. (#68645)
  • Rounds Corrective Operation Cost and Total Operating Cost on Work Order to the company currency’s precision after adding corrective Job Card costs. (#68643)
  • Counts only Work Order records linked to each Sales Order line when calculating its Work Order Qty for Product Bundle items. (#68657)
  • When "Get Sales Orders" finds no matches, Production Plan clears the Sales Orders list instead of keeping orders from an earlier search. (#68651)
  • Updates Master Production Schedule so "Get Sales Orders" and "Get Material Requests" clear previously listed rows when no records match the selected filters. (#68680)
  • 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. (#68730)
  • Updates the Work Order Start dialog to use Transfer Extra Raw Materials to WIP (%) when setting material transfer limits, falling back to Overproduction Percentage For Work Order when no transfer allowance is set. (#68825)
  • Keeps Sales Order item links when consolidating fetched items in a Production Plan, so planned and Work Order quantities are recorded against the correct order items. (#68819)
  • 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. (#67880)
  • Running jobs on a Workstation now count toward its capacity, preventing another Job Card from starting when the workstation is full. (#68913)
  • When the Workstation changes on a corrective Job Card, the Hour Rate updates to the new workstation’s rate, which is used for the Work Order’s Corrective Operation Cost. A manually entered Hour Rate is kept when the Workstation stays the same. (#68868)
  • When Process Loss % is cleared on a BOM, Process Loss Qty now resets to zero, so parent BOMs no longer calculate costs using the old loss amount. (#68897)
  • Updates the Conversion Rate on a draft BOM when its Currency changes, while preserving a new rate entered at the same time. (#68863)
  • Updates Production Plan material requests to list the components of planned in-house sub-assemblies instead of the sub-assemblies themselves. The Include Subcontracted Items option controls whether components of subcontracted sub-assemblies are included. (#68902)
  • Applies corrective operation costs only to Stock Entry records that produce finished goods, using finished-good quantities to calculate the cost; recording additional semi-finished output after finished goods are produced no longer triggers a division-by-zero error. (#68864)
  • Capacity planning schedules each Job Card for its own Expected Time Required, including its share of a batch operation, and sets the Work Order operation times to span all its cards. This prevents delayed operations from being booked twice or overlapping the next operation. (#68844)
  • When production is completed in stages after materials are transferred against a Job Card, each production entry consumes only its share of the materials, leaving the rest available for the unfinished quantity. (#68899)
  • Cancelling a material transfer for manufacture now reopens the related Work Order reservation and reserves the returned stock again. Work Order updates also keep quantities sent to subcontractors counted against their reservations. (#67628)
  • Includes operating costs from a Workstation Type in Manufacture entries and calculates costs individually for operations without priced workstation components. (#68898)
  • When the same material appears at different rates in a BOM, Exploded Items now uses a quantity-weighted rate instead of the first rate; "Update Cost" applies the same calculation so the amounts reflect the combined material cost. (#68838)
  • The excess-material check for Material Transfer for Manufacture now follows Consume Components, Based On in the BOM, rather than the global backflush setting in Manufacturing Settings. (#68952)
  • The "Material Requirements Planning" report now spreads monthly Sales Forecast demand from each forecast date through the day before the next month, rather than using calendar-month dates. It includes only demand within the report’s date range and sets the Master Production Schedule To Date to cover the final forecast period. (#68981)
  • Updates Production Plan calculations and Sales Order selection to exclude quantities already reserved, so later plans don’t plan those quantities again. (#68999)
  • Updates Work Order reservation calculations to account for stock already sent to a Subcontracting Order, consumed, or transferred, reducing the quantity available for another reservation. (#69001)
  • When a BOM and its price list use the same currency, the Price List Exchange Rate follows the BOM’s Conversion Rate, so material costs match the listed prices. (#69012)
  • A closed Work Order now counts toward a Production Plan based on its produced quantity, adjusted for planned process loss, so any remaining quantity can be ordered again. (#68980)
  • Counts transfers from Pick List documents alongside direct transfers when calculating Material Transferred for Manufacturing in a Work Order, so partial production consumes materials in proportion to the quantity produced. (#69046)
  • Updates the "Material Requirements Planning" report to apply Master Production Schedule demand against the matching Sales Forecast across its full period, reducing duplicated demand when Sales Orders fall within that period. (#69044)
  • Limits non-stock costs on each Job Card’s "Record Output" entry to items assigned to that operation; items without an assigned operation are charged on the final operation. (#69035)
  • Updates the Hour Rate for BOM operations when the workstation or conversion rate changes, so operating costs reflect the workstation’s rate and remain consistent in company currency when only the conversion rate changes. (#69034)
  • Aligns batch-operation costing in BOM and Work Order: operation time is costed per batch when either Create Job Card Based on Batch Size or Set Operating Cost Based on BOM Quantity is enabled, while fixed-time operations remain costed per BOM quantity. (#69070)
  • Updates the "Production Planning Report" so Allotted Qty includes stock and open purchase orders in each item’s default warehouse when no Raw Material Warehouse filter is set. It allocates only the remaining requirement across child warehouses and compares fractional quantities at the configured precision to avoid tiny rounding differences appearing as shortages. (#66619)
  • Accounts for process loss when calculating BOM-based raw material consumption in Stock Entry, so later manufacturing entries do not under-consume materials and leave them in WIP after a Work Order is completed. (#68115)
  • In manufacturing Stock Entry records created from a Work Order, finished-goods batch quantities now match the amount produced after process loss, allowing the entry to be saved. (#66777)
  • Updates BOM costing so Valuation Rate secondary items with Process Loss % are valued on the scrap quantity actually produced, not the full planned quantity. (#69141)
  • For Work Orders with transferred materials, limits the quantity that can be manufactured based on the amount transferred, what has already been produced or lost, and the allowed overproduction. This helps prevent one order from consuming materials transferred for another. (#69116)
  • Fixes "Return Components" for Work Orders that transfer materials through Job Cards, allowing materials left in work in progress to be returned. (#69254)
  • Updates Work Order status to count materials taken over by a subcontractor as reserved, so the status reflects reserved stock after those materials are sent out. (#69253)
  • Recalculates Material Transferred for Manufacturing for open Work Orders with both direct and Pick List transfers, so manufacturing entries use the combined transferred quantity instead of an outdated total. (#69282)
  • Recalculates Material Transferred for Manufacturing for open Work Orders with both direct and Pick List transfers, so manufacturing entries use the combined transferred quantity instead of an outdated total. (#69305)
  • For partial manufacturing, negative operating-cost credits from a Workstation are allocated according to each Stock Entry’s production quantity, rather than being applied entirely to the first entry. (#69295)
  • Keeps later edits to secondary items in a BOM when their valuation rates are fetched, and refreshes the rates when the company or warehouse changes. (#69296)
  • Refreshes the Work Order status when a Subcontracting Order or sending materials to a subcontractor changes reserved quantities, so the displayed status reflects the updated stock reservation. (#69313)
  • Updates Production Plan calculations to count planned Work Order output and bundle component reservations once when proposing quantities for a Sales Order. (#69323)
  • BOM operating costs now reflect an Operation’s Create Job Card Based on Batch Size setting and the manually selected Set Cost Based on BOM Qty option, without automatically changing that option. The BOM cost preview follows the same rule, and fixed-time operations are not costed per batch. (#69328)
  • Values sub-assembly co-products using their own sub-assembly’s component cost, rather than all materials in the Stock Entry, and deducts that share from the finished good’s value. (#68909)
  • Corrects how manufacturing entries calculate secondary items from nested sub-assemblies, accounting for required quantities, production yield, and process loss. It values outer co-products after inner co-products and limits their value to the available component cost, including when quantities are rounded. (#69017)

Subcontracting

Bug Fixes (51)
  • Keeps the "Subcontracting Delivery" option available in Subcontracting Inward Order when overproduced finished goods remain undelivered and delivery of overproduced quantities is enabled. (#67914)
  • The unreserve dialog in Subcontracting Order now shows only remaining held quantities, excluding stock already transferred or consumed, and displays a message when none remains held. (#68152)
  • Updates Subcontract Return to include remaining secondary-item quantities on the final return, even when their calculated share rounds to zero, so Subcontracting Receipt can reflect the full returned quantity. Handles zero-quantity secondary rows without valuation errors. (#68150)
  • Updates Subcontracting Order to exclude material-transfer reservations when calculating unreserved stock, so "Reserve" remains available for materials still needed. (#68139)
  • Rejects duplicate Sales Order Item rows in a Subcontracting Inward Order, which could otherwise cause it to request more finished goods and customer-provided materials than the sales order allows. (#68137)
  • Updates Subcontracting Inward Order so % Raw Material Received counts each customer-provided material only up to its required quantity; extra quantities of one material no longer cover shortages of another. The order remains Ongoing when a received material does not count toward the required quantities. (#68136)
  • When creating a "Material from Customer" entry from a Subcontracting Inward Order, fully received or over-received materials now have a proposed quantity of zero instead of a negative quantity, so the entry can be saved and the quantity can still be adjusted. (#68140)
  • Keeps fully received materials at a quantity of 0 in "Material from Customer" entries, so users can still adjust the linked row for an additional receipt. In Journal Entry, refreshes the exchange rate when Account Currency changes and retains a manually entered rate when the currency stays the same. (#68157)
  • Updates Subcontracting Order to calculate raw material costs and supplied item rates in the company’s currency when its BOM uses a different currency. (#68281)
  • 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. (#68275)
  • 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. (#68333)
  • 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. (#68329)
  • 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. (#68410)
  • 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. (#68407)
  • Updates Subcontracting Receipt return tracking to exclude process loss from the quantity eligible for return, so returning all eligible finished goods marks the receipt as fully returned and includes any remaining secondary items. (#68507)
  • 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. (#68689)
  • Limits each batch in a Subcontracting Return to the quantity delivered minus what has already been returned. (#68693)
  • When canceling a Stock Entry for subcontracting manufacture, checks all rows of each secondary item in the same warehouse together and blocks cancellation if the remaining Produced Qty would be lower than the Delivered Qty. (#68702)
  • Updates Subcontracting Inward Order to use the latest Finished Good Qty from its Sales Order when checking how many finished goods it can submit. (#68687)
  • Hides the "Unreserve" option on Subcontracting Order when reserved stock has been transferred or consumed. (#68717)
  • Combines repeated secondary-item quantities for the same warehouse into one row in the Subcontracting Inward Order, so cancelling the related manufacturing entry reverses the correct total. (#68709)
  • Includes units lost during production from a Subcontracting Receipt in the related Purchase Receipt, so the Purchase Order reflects the full quantity of subcontracted work. (#68823)
  • Allows a Subcontracting Order linked to a Production Plan to reserve raw materials from stock when the plan has no reservation row for them, so the order can be submitted. (#68820)
  • In Subcontract Return, the rejected-warehouse option appears only while rejected quantities remain, and rows with nothing left to return are omitted. The same row handling applies to Purchase Receipt returns. (#68817)
  • Rejects accounts in Additional Costs that use a different currency from the company’s on Subcontracting Order and non-return Subcontracting Receipt, and prompts users to choose an account in the company currency. (#68815)
  • Updates Subcontracting Inward Order status to show Produced, Delivered, or Returned when the corresponding quantity reaches or exceeds the ordered amount. (#68793)
  • Counts materials sent to subcontractors in each item’s stock unit when calculating consumption on Subcontracting Receipt and quantities in "Return of Components", even when the transfer uses a different unit. (#68812)
  • Blocks Stock Entry documents that send materials to a subcontractor when the selected Subcontracted Item is not a finished good on the Subcontracting Order. When the item changes to another finished good on that order, the material is linked to the correct item. (#68822)
  • Prevents cancelling a Stock Entry that sent materials to a subcontractor when related receipts have already consumed those materials. (#68795)
  • When Distribute Additional Costs Based On is set to Amount, Subcontracting Order uses each row’s raw-material and service costs before additional costs are added, so repeated saves do not shift the cost split. (#68866)
  • For whole-number units, partial Subcontracting Receipt entries now assign BOM process loss in whole units, carrying any remainder to later receipts and avoiding fractional quantities that block saving. (#68900)
  • Updates Subcontracting Receipt accounting to credit the service account for service costs on accepted, rejected, and process-loss quantities, rather than assigning rejected or lost units’ costs to the finished good’s expense account. Returns reverse the corresponding service cost. (#68895)
  • Updates Consumed Qty in Subcontracting Order to count alternative items against the original material row they were sent for, subtracting returned quantities. (#68850)
  • Recalculates secondary-item values when a Subcontracting Receipt is reposted, including percentage-based co-products and items valued using the rate at the receipt’s posting date. (#68890)
  • Limits "Return of Components" entries for a Subcontracting Order to the raw materials still available at the supplier, preventing materials sent for other orders from being returned against it. (#68852)
  • When components are returned, the Subcontracting Order removes their serial numbers and batch quantities from the materials listed at the supplier, so later Subcontracting Receipts don’t select returned stock. (#68848)
  • Updates "Material to Supplier" transfers from Subcontracting Order to calculate remaining raw material quantities across the order and omit rows with nothing left to send. (#68959)
  • When a Subcontracting Receipt, Subcontracting Delivery, or Stock Entry that sends stock to a subcontractor is cancelled, its quantity returns to the reservation it used instead of changing another matching reservation. (#68956)
  • Updates Subcontracting Order so raw materials used for a finished good are counted on the rows where they were sent, even when those rows list a different finished good. (#69010)
  • Subcontracting deliveries keep the selected Difference Account instead of replacing it with the company’s default expense account. Finished goods returns default to the account used by their deliveries when all related deliveries use the same account. (#69016)
  • Allocates a Subcontracting Order’s remaining Additional Costs across Subcontracting Receipts based on the quantity received, so partial receipts don’t each include the full order cost. (#69042)
  • Updates cost allocation in Subcontracting Receipt so the finished good receives the cost share for co-products not included on the receipt. Returns use the cost allocation from the original receipt. (#69036)
  • Allows extra customer-supplied material reserved by a Work Order to be returned through a Subcontracting Inward Order; the returnable amount reflects how much the Work Order has used, and cancelling a return restores its reservation. (#69039)
  • Checks for raw material returns, subcontracting deliveries, and finished-goods returns now add together quantities linked to the same row in a Subcontracting Inward Order. Split rows cannot exceed the available quantity, and all returned quantities are included in the total. (#69055)
  • Updates BOM costing when a workstation or exchange rate changes, and assigns each operation’s output only its own non-stock material costs. Corrects subcontracting returns by recounting Returned Qty, accounting for co-product shares, and returning unused customer materials reserved by a Work Order. (#69069)
  • Splits returned raw materials across the Subcontracting Order rows they were sent on, instead of assigning the full return to one row. (#69048)
  • Adjusts stock reservations when users submit or cancel "Return of Components" for Subcontracting Orders with Reserve Stock enabled, freeing returned quantities from the supplier warehouse and reserving them again in the return warehouse as needed. (#69060)
  • When component reservations are recalculated after a cancellation, Return of Components submitted before the upgrade no longer shift quantities between supplier warehouse reservations. (#69317)
  • When creating a subcontracting component return, the system skips fully consumed materials with a negligible leftover quantity, so a zero-quantity row no longer blocks submission. (#69318)
  • Checks serial numbers entered in the Serial No field on Subcontracting Receipt against items sent to the supplier, rejecting numbers that were not sent or were returned. (#69320)
  • Cancelling a "Receive from Customer" entry releases unused extra material held by the related Work Order, while keeping material the work order still needs or has used reserved. (#69285)

Assets

Bug Fixes (4)
  • Refreshes stock valuation rates in Asset Capitalization when Stock Qty changes, so the displayed rate and amount reflect the updated quantity. (#68108)
  • Recalculates the salvage value and depreciation rate in Asset finance book rows when Gross Purchase Amount changes, using the Salvage Value Percentage. (#68113)
  • 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. (#68132)
  • 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. (#68116)

Projects

Bug Fixes

  • Credits direct replies to project update emails to the project member whose copy they answer, rather than to the person who sent the reply. (#68161)
  • Limits Employees’ Project permissions to selecting projects when they don’t have read access, removing their ability to print, email, export, report on, or share those projects. (#68300)
  • Shows costing, billing, and margin totals on the Project form, and makes the Costing and Billing and Margin sections collapsible. (#68888)

CRM

Bug Fixes

  • Limits Appointment assignee lookup to Opportunity records the user can view, while keeping the configured-agent fallback unchanged. (#69098)
  • Displays task descriptions as plain text in the activity panels for Lead, Opportunity, and Prospect, keeping paragraphs and list items separate and preventing embedded markup from running; task assignee names are also displayed as text. (#67187)
  • Removes the customer name from appointment verification emails; the confirmation email sent after verification still greets customers by name. (#69126)

Setup

Bug Fixes

  • Adds Email Account and Communication to the default ignore list in Transaction Deletion Record, so they are not included in the generated deletion list for a company. (#68915)
  • Limits the Customer role’s default Customer Group permission to selecting groups, removing its default access to read, print, email, export, report on, or share them. (#69128)

Full Changelog: v16.60.0...v16.61.0

Authors: @AdleenaLobo, @khushi8112, @mihir-kandoi, @venkat102, @krishna-254, @nishkagosalia, @Sudharsanan11, @rohitwaghchaure, @g-sowani, @Shllokkk
Reviewers: @khushi8112, @mihir-kandoi, @Sudharsanan11, @iamejaaz, @nikkothari22

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
  • chore
  • docs
  • refactor
  • style
  • ci
  • build

Don't miss a new erpnext release

NewReleases is sending notifications on new releases.