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 fa01eefd89
commit e6083a57de

View File

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