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

When you have Salary Rule with code = 'LOAN' and in your Payslip you have multiple (2,3,4) inputs with input code = 'LOAN',  Salary computation repeats the rule computation by x times.

I can't seem to replicate it copying code from 

module: hr_payroll 
model: hr.payslip in file hr_payslip
function: def _get_payslip_lines(self):

and creating a function _get_payslip_lines_test does not seem to duplicate the entry but calling _get_payslip_lines itself duplicates the entry.

Workaround: make sure Rule codes are not same as Input codes. I don't know if this is a bug or a feature.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
helmik. 19
3788
0
tammik. 17
4263
2
syysk. 25
386
0
huhtik. 25
1097
2
maalisk. 24
2245