fix: linting issues

This commit is contained in:
Afshan
2021-09-30 19:46:09 +05:30
parent 0196ab56e8
commit a5de9a3909
4 changed files with 20 additions and 20 deletions

View File

@@ -16,7 +16,6 @@ from erpnext.payroll.doctype.sales_commission.test_sales_commission import (
make_salary_structure, make_salary_structure,
make_sales_person, make_sales_person,
make_so, make_so,
salary_structure,
sales_commission_component, sales_commission_component,
setup_test, setup_test,
) )

View File

@@ -23,10 +23,11 @@ frappe.ui.form.on('Sales Commission', {
return frappe.call({ return frappe.call({
doc: frm.doc, doc: frm.doc,
method: 'add_contributions', method: 'add_contributions',
}).then(r => { callback: function () {
frm.dirty(); frm.dirty();
frm.save(); frm.save();
frm.refresh(); frm.refresh();
},
}); });
}, },