fix: salary structure assign to employee (#24798)
* fix: salary structure assign to employee * fix: pass data from dialog
This commit is contained in:
parent
79b5be1830
commit
fa73074250
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user