fix: fix: date validation, setting up default conpany, customer/supplier manadatory property on Blanket Order
This commit is contained in:
parent
974f04be24
commit
e22ca23b81
@ -61,7 +61,7 @@ frappe.ui.form.on('Blanket Order', {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (frm.doc.blanket_order_type === 'Purchasing') {
|
if (frm.doc.blanket_order_type === 'Purchasing') {
|
||||||
frm.set_df_property("supplier","reqd", 1);
|
frm.set_df_property("supplier","reqd", 1);
|
||||||
frm.set_df_property("customer","reqd", 0);
|
frm.set_df_property("customer","reqd", 0);
|
||||||
frm.set_value("customer", "");
|
frm.set_value("customer", "");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user