mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-19 10:14:59 +00:00
@@ -485,10 +485,12 @@ function hide_fields(doc) {
|
|||||||
|
|
||||||
var item_fields_stock = ["warehouse_section", "received_qty", "rejected_qty"];
|
var item_fields_stock = ["warehouse_section", "received_qty", "rejected_qty"];
|
||||||
|
|
||||||
cur_frm.fields_dict["items"].grid.set_column_disp(
|
if (cur_frm.fields_dict["items"]) {
|
||||||
item_fields_stock,
|
cur_frm.fields_dict["items"].grid.set_column_disp(
|
||||||
cint(doc.update_stock) == 1 || cint(doc.is_return) == 1 ? true : false
|
item_fields_stock,
|
||||||
);
|
cint(doc.update_stock) == 1 || cint(doc.is_return) == 1 ? true : false
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
cur_frm.refresh_fields();
|
cur_frm.refresh_fields();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user