Odoo Ayuda


how to auto fill the field « partner_id » of the line in account.move when we confirm a payslip?

Pascal Tremblay
on 21/04/15 14:42 1.232 vistas

Hello all,

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.


Look here.

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?


Pascal Tremblay

--Pascal Tremblay--
| 5 3 7
Alma, Canadá
--Pascal Tremblay--

Pascal Tremblay
On 22/05/15 06:55

Hello all,

In Odoo 8, we replace the file hr_payroll_account.py by this one :


Now, see related journal items of a confirmed payslip; The field Partner is filled at the right place.

Thanks all

Acerca de esta comunidad

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Herramientas de las preguntas

1 seguidor(es)


Preguntado: 21/04/15 14:42
Visto: 1232 veces
Última actualización: 22/05/15 06:59