[fix] primary button color for make

This commit is contained in:
Rushabh Mehta
2018-01-23 16:08:52 +05:30
parent 90657fb566
commit b5a3df920c
5 changed files with 5 additions and 11 deletions

View File

@@ -26,8 +26,7 @@ erpnext.support.WarrantyClaim = frappe.ui.form.Controller.extend({
if(!cur_frm.doc.__islocal &&
(cur_frm.doc.status=='Open' || cur_frm.doc.status == 'Work In Progress')) {
cur_frm.add_custom_button(__('Maintenance Visit'),
this.make_maintenance_visit, __("Make"))
cur_frm.page.set_inner_btn_group_as_primary(__("Make"));
this.make_maintenance_visit);
}
},