Community mailing list archives

Re: expenses in payslip with python code

Elmatica AS, Luis Alberto Panozzo
- 02/02/2015 04:44:42
I would certainly side with Christophe.
You would have to be particularly careful to make sure the reimbursed expenses do not alter the monthly / yearly amount on which the employee is taxed, wouln't you?

Luis Panozzo (Lp)
Technology Manager
Elmatica AS
Skype: luispanozzo

On 1 February 2015 at 11:32, Christophe Combelles <> wrote:


It's not a good idea from an accounting point of view : the expense already creates a credit to the employee, your slip rule will create the same duplicated credit. So either the employee will see their expenses reimbursed twice, either you should never go to the end of the expense workflow. Or maybe the slip rule may create a dummy account move...
An alternative could be to just display the monthly expenses on the payslip report without taking it into account. Be default with odoo it's seems better and simpler to separate salary and expenses. (and provide the expense report along with the payslip)
But I admit I'd like to do something similar because in the real life expenses are often displayed on the payslip indeed... (in france we have the choice to do it or not)


Le 31 janvier 2015 21:27:33 EET, "Mohamed M. Hagag" <> a écrit :


anyone did try to add employee expenses to payslip using python code in salary rules ?

what I'm trying to do create salary rule that will find expenses of employee and add its amount to the payslip.

BTW if we did that, will the payslip reconcile the expenses payment ?


Post to:

Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.

Post to: