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() {
|
primary_action: function() {
|
||||||
var data = d.get_values();
|
var data = d.get_values();
|
||||||
|
delete data.company
|
||||||
|
delete data.currency
|
||||||
frappe.call({
|
frappe.call({
|
||||||
doc: frm.doc,
|
doc: frm.doc,
|
||||||
method: "assign_salary_structure",
|
method: "assign_salary_structure",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user