diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index 0ae1828ee0d..2e782b49e66 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -2726,10 +2726,16 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe set_warehouse() { this.autofill_warehouse(this.frm.doc.items, "warehouse", this.frm.doc.set_warehouse); + this.autofill_warehouse(this.frm.doc.packed_items, "warehouse", this.frm.doc.set_warehouse); } set_target_warehouse() { this.autofill_warehouse(this.frm.doc.items, "target_warehouse", this.frm.doc.set_target_warehouse); + this.autofill_warehouse( + this.frm.doc.packed_items, + "target_warehouse", + this.frm.doc.set_target_warehouse + ); } set_from_warehouse() {