how to auto fill the field « partner_id » of the line in account.move when we confirm a payslip?
Each time I make a payslip, it creates a line in account.move model.
Each time, we have to change the value of the field « partner_id » manually after the payslip is confirmed.
Each time, the field « partner_id » is empty.
How could we fill this field automatically at the payslip confirmation?
Thanks for your idea.
UPDATE #1 :
I have just created a new payslip 2015-PAY00012 and I have confirmed it.
You see, the field « partner » stays empty. I have to change it manually after the payslip confirmation...
How to put the good partner automatically?