Releases: frappe/erpnext
v15.55.2
What's Changed
- Removes the direct usage of
self
for setting Party and Party Type in Purchase Order, preventing incorrect validation messages during drop-shipping. (#46747)
Full Changelog: v15.55.1...v15.55.2
Authors: @ljain112
Reviewers: @ruthra-kumar
v15.55.1
What's Changed
- Removes an unnecessary reference to the "Batch" table from non-batch stock queries and adds a fetch for stock_uom in Stock Entry Detail. (#46742)
- Fixes decimal handling for batch picking in Subcontracting Receipt Supplied Item, skipping non-positive quantities in the consumed_qty field. (#46741)
- Sets the expense account in Stock Entry from the Default Expense Account in the Item or Item Group, and falls back to the company’s stock adjustment or cost-of-sold account if none is specified. (#46735)
Full Changelog: v15.55.0...v15.55.1
Authors: @rohitwaghchaure
v15.55.0
What's Changed
- Adds a new Hide timesheets field in Project User that removes the timesheet section on project pages for users who have it enabled. (#46612)
- Gets existing contact details in Payment Entry when a contact person is set, allowing notifications to function as expected. (#46638)
- Fixes the sorting of transaction records by using the specified
order_by
argument instead of relying on the default setting. This change addresses unexpected ordering behaviors in the transaction list. (#46643) - Adds a search index to the Cost Center field in GL Entry to reduce timeouts when renaming cost centers. (#46647)
- Corrects the accumulated depreciation calculation for disposed Asset records in "Asset Depreciations and Balances" by including items disposed after
from_date
in the computation. (#46661) - Adds the base_outstanding and base_paid_amount fields to the Payment Schedule so partial payments on multi-currency invoices are displayed. Also applies a patch to update existing records in version-15. (#46670)
- Makes the
chart_of_account.get_chart
function whitelisted in Account, allowing external applications to propose and use additional charts of accounts beyond the built-in options. (#46673) - Corrects the invoice sorting method in Process Payment Reconciliation by using the actual invoice date from the original document. This prevents partial payment dates from altering the order of outstanding invoices. (#46672)
- Fixes the credit limit check in Journal Entry to consider
bypass_credit_limit_check
in the same way as Sales Invoice. (#46677) - Removes the filter on Bank Account in Bank Clearance so that relevant Payment Entry records appear even when Bank Account is not set. (#46688)
- Adds a method to re-post accounting ledger entries in Purchase Receipt when no stock ledger entries exist, so changes to expense accounts can be reflected. (#46705)
- Stops blocking transactions in Sales Invoice when the Conversion Rate is 1 for a different currency and shows an alert instead of a validation error. (#46713)
- Removes an incorrect date entry from the wrong patch reference so that the correct patch runs on the intended date. (#46634)
Full Changelog: v15.54.5...v15.55.0
Authors: @FHenry, @khushi8112, @marcramser, @blaggacao, @rohitwaghchaure, @ljain112, @NagariaHussain, @mihir-kandoi, @Sugesh393, @vishakhdesai
Reviewers: @sagarvora, @barredterra, @vorasmit, @ruthra-kumar
v14.84.0
What's Changed
- Fixes the credit limit check in Journal Entry to consider
bypass_credit_limit_check
in the same way as Sales Invoice. (#46676) - Assigns the newly created "Update Items" dialog to a variable to prevent reference errors in
onchange
field handlers. (#46690) - Adds a method to re-post accounting ledger entries in Purchase Receipt when no stock ledger entries exist, so changes to expense accounts can be reflected. (#46704)
- Adds a search index to the Cost Center field in GL Entry to reduce timeouts when renaming cost centers. (#46646)
- Stops blocking transactions in Sales Invoice when the Conversion Rate is 1 for a different currency and shows an alert instead of a validation error. (#46712)
Full Changelog: v14.83.4...v14.84.0
Authors: @IMS94, @ljain112, @rohitwaghchaure
Reviewers: @ruthra-kumar
v15.54.5
What's Changed
- Reverts the previous change that displayed credit note amounts in the "Accounts Payable" and "Accounts Receivable" reports. This removes the new credit note columns and restores the original display of financial information in these reports. (#46495)
- Reverts the previous change that displayed credit note amounts in the "Accounts Payable" and "Accounts Receivable" reports. This removes the new credit note columns and restores the original display of financial information in these reports. (#46496)
- Fixes filter usage in "Accounts Receivable" by using
in
for list-based fields instead of direct assignment. (#46493) - Adds the missing
ps.parenttype
condition to the query in the "Accounts Receivable" report, correctly filtering Payment Schedule entries by document type and preventing miscalculated outstanding amounts when the Based On Payment Terms filter is used. (#46499) - Sets the difference account in Stock Entry to the Stock Adjustment Account from Company for 'Manufacture' transactions. Replaces item defaults that previously defined the difference account in those situations. (#46510)
- Uses shipping_address_name in Sales Invoice to confirm that addresses and contacts belong to the selected party, preventing references to unrelated addresses. (#46480)
- Uses the
party
field instead ofparty_field
in the "Accounts Receivable" report. This addresses improper or_filters when adding new account dimensions. (#46521) - Hides Subcontracted Quantity in Purchase Order Item when a purchase order is not subcontracted, preventing irrelevant fields from appearing. (#46524)
- Fixes a mismatch by referencing stock_qty instead of qty when creating a Pick List from a Material Request, which addresses a UOM conversion factor issue. (#46525)
- Adds the missing
bom_no
from Sales Order and Material Request items when creating a Production Plan, so the selected BOM is retained instead of reverting to the default. (#46527) - Adds "CRM Deal" as a valid party type when creating new Quotation or Opportunity records in ERPNext CRM. (#46530)
- Excludes the current Stock Entry from duplicate checks on "Manufacture" entries linked to the same Work Order. (#46534)
- Fixes an error preventing creation of a Delivery Note from a Pick List when the system is in read-only mode. (#46523)
- Fixes the link to "Quality Inspection" in Purchase Receipt so that it correctly references partially and fully submitted inspections. (#46549)
- Fixes a SQL syntax error that prevents addresses from being removed in Transaction Deletion Record when the related Lead name includes an apostrophe. (#46562)
- Uses approximate row counts for GL Entry and Stock Ledger Entry queries, reducing the need for exact counting when dealing with large datasets. (#46551)
- Uses base currency totals from Purchase Invoice and Sales Invoice in "UAE VAT 201," so foreign currency transactions are reflected properly. (#46571)
- Sets the correct
account_currency
for offset accounts in GL Entry and removes party_type and party from offset entries, letting foreign currency transactions proceed. (#46572) - Fixes a scenario in Purchase Invoice where rate changes during purchase returns under moving average create a mismatch in debit and credit, and adds an entry to post the difference to the default expense account. (#46559)
- Fixes an issue preventing item selection in BOM, allowing items to be chosen correctly. (#46558)
- Fixes Production Plan creation from Sales Order by applying the
conversion_factor
to item quantities instead of using the rawqty
. (#46578) - Fixes references for
production_item
andbom_no
in Job Card so that multi-level BOM data is correctly mapped during the Work Order process. (#46556) - Speeds up the item list view by adding
search_index
to the Default Warehouse field in Item Default. (#46560) - Removes outdated conditions in Batch that disabled batchwise valuation for items using the "Moving Average" method, letting these items use their batch data. (#46589)
- Adds validation to the
rename_subcontracting_fields
patch so it only renames existing fields in Purchase Order Item or Subcontracting Order Item, preventing some migration errors. (#46585) - Adds a mechanism to Asset Capitalization that re-posts future stock ledger (
SLE
) and general ledger (GLE
) entries after submitting or canceling capitalization. (#46587) - Fetches the
parameter_group
from Quality Inspection Parameter in Quality Inspection when Quality Inspection Template is set, preventing missing parameter group references in readings. (#46584) - Adds a check in Serial And Batch Bundle to recognize "Packed Item" entries in a "Delivery Note" and avoid raising unnecessary errors based on missing references. (#46592)
- Fixes the
debit_in_transaction_currency
field in Purchase Invoice so that it uses the conversion rate during stock adjustments, rather than referencing the net amount. (#46606) - Fixes an issue preventing the creation of a Purchase Receipt from a standalone Debit Note. (#46611)
- Fixes a missing
GROUP BY
clause in queries for Purchase Receipt items, which corrects how Incoming Rate is set from Purchase Invoice values. This addresses random or wrong average rates caused by incomplete query results. (#46614) - Fetches the default BOM for an item and applies it to newly updated items in Sales Order. (#46615)
Full Changelog: v15.54.4...v15.54.5
Authors: @khushi8112, @venkat102, @shariquerik, @ruthra-kumar, @ankush, @Sugesh393, @vorasmit, @Shanuka-98, @Sanket322, @rohitwaghchaure, @mihir-kandoi, @sagarvora
Reviewers: @ruthra-kumar, @rohitwaghchaure, @nabinhait
v14.83.4
What's Changed
- Sets the difference account in Stock Entry to the Stock Adjustment Account from Company for 'Manufacture' transactions. Replaces item defaults that previously defined the difference account in those situations. (#46511)
- Fixes a SQL syntax error that prevents addresses from being removed in Transaction Deletion Record when the related Lead name includes an apostrophe. (#46561)
- Adds a mechanism to Asset Capitalization that re-posts future stock ledger (
SLE
) and general ledger (GLE
) entries after submitting or canceling capitalization. (#46586) - Fetches the
parameter_group
from Quality Inspection Parameter in Quality Inspection when Quality Inspection Template is set, preventing missing parameter group references in readings. (#46583) - Fixes an issue preventing the creation of a Purchase Receipt from a standalone Debit Note. (#46610)
- Fixes the order by condition in Serial No to sort stock ledger entries by
posting_datetime
andcreation
. This update addresses inconsistent ordering that occurred when relying on separate date and time fields. (#46609)
Full Changelog: v14.83.3...v14.83.4
Authors: @mihir-kandoi, @khushi8112, @venkat102, @rohitwaghchaure
Reviewers: @ruthra-kumar, @nabinhait, @rohitwaghchaure
v15.54.4
What's Changed
- Fixes an issue that resets the UOM to its default when toggling Do not explode in BOM. (#46345)
- Updates references from Serial And Batch Bundle to Serial and Batch Bundle in the "Incorrect Serial And Batch Bundle" report, so the code uses the correct DocType name. (#46346)
- Skips renaming SLA fields for Issue if they are missing, preventing patch errors during updates. (#46357)
- Skips recalculating item valuations in the recalculate_amount_difference_field patch if Set Landed Cost Based On Purchase Invoice Rate is disabled or if the accounting period is closed, preventing migration errors in Purchase Receipt items. (#46358)
- Fixes incorrectly mandatory Start Date and End Date fields in Auto Email Report when 'Fiscal Year' is selected, and adds Project and Cost Center filter options to the "Profit and Loss Statement" report. (#46343)
- Validates the accounting dimension for the selected company in Journal Entry and Stock Entry, preventing mismatched entries. (#46369)
- Changes the field name in cash flow exports from
account
tosection
, so the "Section" column is no longer empty in exported files. (#46366) - Corrects a precision calculation in Subcontracting Order that can block submission in specific scenarios. (#46376)
- Allows renaming of the Prospect doctype to accommodate changes in naming conventions. (#46365)
- Updates transaction currency Debit and Credit fields in Purchase Invoice, Sales Invoice, Journal Entry, and Payment Entry to use values directly from the parent document and address mismatch issues related to high-precision exchange rates. (#46396)
- Considers the freeze dates in Accounts Settings and Stock Settings when recalculating the Amount Difference to block postings after those dates. (#46402)
- Fixes a typographical error in the Sales Invoice print format so that Contact displays correctly on printed documents. (#46425)
- Adds updated translations for multiple languages from the
develop
branch to keep text strings current. (#46428) - Fixes the In Value and Out Value columns in the "Stock Balance" report, which previously displayed incorrect amounts. (#46420)
- Clears cached permissions after changing the Employee hierarchy, so the updated doc permissions apply immediately. (#46437)
- Replaces the old references to
qty
andproduced_qty
withrequired_qty
in Work Order validation and prevents validation errors when using alternative items. (#46432) - Fixes an issue preventing updates to the Account Number field from the parent company in Account. (#46439)
- Sets the correct currency for the deferred expense account in Purchase Invoice so it no longer incorrectly uses the expense account's currency. (#46446)
- Makes Tax ID and Fiscal Code mandatory in Company when the country is Italy to avoid e-invoice naming errors. (#46447)
- Filters out batches that will reach zero in Serial and Batch Bundle, preventing them from being selected during allocation. (#46441)
- Fixes SLA-related custom fields rename patch by referencing the correct custom field property so the fields are renamed as intended. (#46459)
- Renames SLA fields in the Service Level Agreement DocType to address naming conflicts. (#46461)
- Fixes a date comparison error in "Production Analytics" that sometimes causes incorrect status updates. (#46462)
- Fetches the default bank account from the relevant Company for a new Payment Entry, instead of selecting one from another company. (#46471)
- Fixes a TypeError by verifying
last_gl_update
exists before comparing it to the current time in the Account DocType. (#46468) - Fixes credit note creation for consolidated POS Invoice entries, so each return invoice generates its own credit note and items are correctly linked in Sales Invoice. (#46469)
- Prevents recalculation of item quantity for batch items in Stock Reconciliation when the current quantity is negative, avoiding unintended changes during reposting. (#46474)
- Renames SLA fields in Service Level Agreement for consistent naming across doctypes. (#46467)
- Fixes an error preventing creation of a Delivery Note from a Pick List when the system is in read-only mode. (#46475)
- Adds the
base_net_rate
field to net rate validations so that the valid range is checked in relevant transactions. (#46382) - Fixes how Sales Invoice calculates the Due Date when creating invoices from a sales order, using the specified payment term. (#46479)
- Shows the remaining quantity on the "Complete Job" button in Job Card instead of the total quantity, so partial completions display the correct leftover amount. (#46484)
- Fixes issue preventing the Ignore Pricing Rule field from skipping pricing rules in Sales Order. (#46483)
- Prevents item returns in Sales Invoice and Purchase Invoice from exceeding the original quantity. Also disallows zero-quantity returns when items in these documents are fully returned. (#46481)
- Runs the bank reconciliation process as a background job in Bank Reconciliation Tool to prevent request timeouts when processing large record sets. (#46487)
- Adds an account type filter and updates validations in Tax Withholding Category to block overlapping date ranges and duplicate company entries. (#46482)
- Makes the Serial No field non-copyable in Purchase Invoice Item, Sales Invoice Item, and Stock Reconciliation Item. Removes that property from Purchase Receipt Item. (#46486)
New Contributors
- @jjaycaneza made their first contribution in #46343
Full Changelog: v15.54.3...v15.54.4
Authors: @rohitwaghchaure, @Bhavan23, @barredterra, @Ninad1306, @mihir-kandoi, @Sudharsanan11, @vishakhdesai, @rtdany10, @priyanshshah2442, @Sugesh393, @shariquerik, @diptanilsaha, @Sanket322, @venkat102, @mahsem, @asmitahase, @ruthra-kumar, @jjaycaneza
Reviewers: @nabinhait, @Bhavan23, @ruthra-kumar
v14.83.3
What's Changed
- Replaces the old references to
qty
andproduced_qty
withrequired_qty
in Work Order validation and prevents validation errors when using alternative items. (#46414) - Fixes an issue preventing updates to the Account Number field from the parent company in Account. (#46438)
- Adds the missing
ps.parenttype
condition to the query in the "Accounts Receivable" report, correctly filtering Payment Schedule entries by document type and preventing miscalculated outstanding amounts when the Based On Payment Terms filter is used. (#46370)
Full Changelog: v14.83.2...v14.83.3
Authors: @rohitwaghchaure, @Shanuka-98, @venkat102
Reviewers: @nabinhait, @ruthra-kumar
v15.54.3
What's Changed
- Considers the freeze dates in Accounts Settings and Stock Settings when recalculating the Amount Difference to block postings after those dates. (#46403)
Full Changelog: v15.54.2...v15.54.3
Authors: @mihir-kandoi
Reviewers: @rohitwaghchaure
v15.54.2
What's Changed
- Updates transaction currency Debit and Credit fields in Purchase Invoice, Sales Invoice, Journal Entry, and Payment Entry to use values directly from the parent document and address mismatch issues related to high-precision exchange rates. (#46397)
Full Changelog: v15.54.1...v15.54.2
Authors: @ruthra-kumar