Khatavahi BI Solutions LLP - Set Global Default Value via Client Script in Frappe and ERPNext
Set Global Default Value via Client Script in Frappe and ERPNext
·
1 min read
frappe.ui.form.on('Opening Invoice Creation Tool', {refresh(frm) {cur_frm.set_value("company",frappe.defaults.get_user_default("Company"))}})
Jigar Tarpara
ERPNext & Frappe Consultant ERPNext & Frappe Developer CEO at Khatavahi BI Solutions LLP
This can be help fulll to set any filed value to some value on any doctype