diff --git a/frappe/custom/doctype/customize_form/customize_form.js b/frappe/custom/doctype/customize_form/customize_form.js index d9b1496877..8308d5a85a 100644 --- a/frappe/custom/doctype/customize_form/customize_form.js +++ b/frappe/custom/doctype/customize_form/customize_form.js @@ -149,6 +149,7 @@ frappe.customize_form.set_primary_action = function(frm) { callback: function(r) { if(!r.exc) { frappe.customize_form.clear_locals_and_refresh(frm); + frm.script_manager.trigger("doc_type"); } } });