fix: salary structure assign to employee (#24798)

* fix: salary structure assign to employee

* fix: pass data from dialog
This commit is contained in:
Jannat Patel 2021-03-09 20:27:29 +05:30 committed by GitHub
parent 79b5be1830
commit fa73074250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,6 +142,8 @@ frappe.ui.form.on('Salary Structure', {
],
primary_action: function() {
var data = d.get_values();
delete data.company
delete data.currency
frappe.call({
doc: frm.doc,
method: "assign_salary_structure",