Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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?
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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/21/15, 2:42 PM|
|Seen: 764 times|
|Last updated: 5/22/15, 6:59 AM|