fix(ux): set warehouse for new row
This commit is contained in:
parent
1f28ca717e
commit
b5c5a90f71
@ -210,9 +210,9 @@ frappe.ui.form.on('Serial and Batch Bundle', {
|
||||
|
||||
|
||||
frappe.ui.form.on("Serial and Batch Entry", {
|
||||
ledgers_add(frm, cdt, cdn) {
|
||||
entries_add(frm, cdt, cdn) {
|
||||
if (frm.doc.warehouse) {
|
||||
locals[cdt][cdn].warehouse = frm.doc.warehouse;
|
||||
frappe.model.set_value(cdt, cdn, 'warehouse', frm.doc.warehouse);
|
||||
}
|
||||
},
|
||||
})
|
Loading…
Reference in New Issue
Block a user