fix: linting issues

This commit is contained in:
Afshan
2021-09-30 19:46:09 +05:30
committed by chillaranand
parent ad168c0ee3
commit 303af52e1c
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_sales_person,
make_so,
salary_structure,
sales_commission_component,
setup_test,
)

View File

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