Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
8421 Weergaven

I want to add expense amount of employee while creating their employee payslip. How to add expense amount in payslip?

Avatar
Annuleer
Beste antwoord

Hi Remya,

You can use inputs of salary rules where you can have your own salary rule for expense and you can link that on salary structure of employee.

Regards, Mustufa

Avatar
Annuleer
Auteur

I tried it, but each time expense amount will be the varying one. Then how can i write it through a python code.

You can define new field on employee form Expenses (one2many) and then by browsing employee object in python code you can create salary rule.

Beste antwoord

Hello, can someone elaborate on this? I'm having my sales staff add their VARIABLE commission as an expense, and rhen I need to add it to the PaySlip so that I can print Base + Commission (expense).

I'm not clear how to Python Code that the approved commission (expense) gets added to the Payslip.

Any comments will be greatly appreciated.

Cheers,

Ricardo Malla

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
okt. 23
13685
1
mrt. 15
7747
0
mrt. 15
4319
14
sep. 24
25356
1
sep. 17
6360