Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
864 Vizualizări

I have created an approval flow to generate an expense report after the request gets approved. 
But here I'm not getting the request employee Id.
How to get that?


to get the employee_id I wrote this




but it's not working. Please help on this

Imagine profil
Abandonează
Cel mai bun răspuns

Hello

in the key called default_employee_id, you need to pass id of the employee(hr.employee)

but you send  id of user(res.users) and this is wrong because field employee_id is in relation with hr.employee

so you need to call id from object employee_data, not requested_employeee

also, add limit  = 1 in the search method for employee_data



Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
4
oct. 25
2934
2
sept. 25
1873
4
sept. 25
6981
0
aug. 25
899
4
mai 25
3702