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