mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 03:33:43 +00:00
fix: autofill warehouse for packed items
(cherry picked from commit 3f8a0a4833)
This commit is contained in:
@@ -2726,10 +2726,16 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
|
|||||||
|
|
||||||
set_warehouse() {
|
set_warehouse() {
|
||||||
this.autofill_warehouse(this.frm.doc.items, "warehouse", this.frm.doc.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() {
|
set_target_warehouse() {
|
||||||
this.autofill_warehouse(this.frm.doc.items, "target_warehouse", this.frm.doc.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() {
|
set_from_warehouse() {
|
||||||
|
|||||||
Reference in New Issue
Block a user