fix(stock): ignore packing slip while cancelling the sales invoice

(cherry picked from commit c58887b44a)
This commit is contained in:
Sudharsanan11
2026-02-02 11:59:42 +05:30
committed by Mergify
parent e3bf84c572
commit f425f89a26

View File

@@ -44,6 +44,7 @@ erpnext.accounts.SalesInvoiceController = class SalesInvoiceController extends (
"Unreconcile Payment Entries", "Unreconcile Payment Entries",
"Serial and Batch Bundle", "Serial and Batch Bundle",
"Bank Transaction", "Bank Transaction",
"Packing Slip",
]; ];
if (!this.frm.doc.__islocal && !this.frm.doc.customer && this.frm.doc.debit_to) { if (!this.frm.doc.__islocal && !this.frm.doc.customer && this.frm.doc.debit_to) {