Odoo Aide


2 Réponses
Marouane LAZAR Maroc
05/08/2019 10:17


Thank you for your response, can you explain more please.


Niyas Raphy Inde

--Niyas Raphy--
| 7 7 11
Wayanad, Kerala, Inde
--Niyas Raphy--

Odoo Techno Functionalist

Feel free to connect :  niyasraphyk@gmail.com

LinkedIn: https://www.linkedin.com/in/niyasraphy/
Whatsapp : +917736136763
Happy to help :)

Niyas Raphy Inde
03/08/2019 11:49


From my understandings, it seems you have added a new field in the customer form. And you are looking to display the same field details in the Invoice report or in the invoice view. So if you are looking to display the field value in the account.invoice model, you have to add a new field for this in the account.invoice model and make it as related field.

new_field = fields.Char("Test", related='partner_id.new_field')

As shown above you can add new related field in the Invoice. If you are looking to display the same in report, you have to inherit the corresponding report and add the field to it, see this: Inheriting and modifying QWeb reports


Poser une question
Keep Informed
1 Abonné(e)s
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.

Odoo Training Center

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

Test it now