Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
8549 Näkymät

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

Avatar
Hylkää
Paras vastaus

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
Hylkää
Tekijä

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.

Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
lokak. 23
13847
1
maalisk. 15
7866
0
maalisk. 15
4481
14
syysk. 24
25499
1
syysk. 17
6485