mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-13 23:38:01 +00:00
Merge pull request #52737 from frappe/mergify/bp/version-15-hotfix/pr-52677
fix: standalone credit/debit notes should not fetch any serial or bat… (backport #52677)
This commit is contained in:
@@ -707,7 +707,7 @@ erpnext.SerialBatchPackageSelector = class SerialNoBatchBundleUpdate {
|
||||
}
|
||||
|
||||
render_data() {
|
||||
if (this.bundle || this.frm.doc.is_return) {
|
||||
if (this.bundle || (this.frm.doc.is_return && this.frm.doc.return_against)) {
|
||||
frappe
|
||||
.call({
|
||||
method: "erpnext.stock.doctype.serial_and_batch_bundle.serial_and_batch_bundle.get_serial_batch_ledgers",
|
||||
|
||||
Reference in New Issue
Block a user