Odoo Aide

-1

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

Hi,

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

0
Avatar

Niyas Raphy Inde

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

Odoo Techno Functionalist

Feel free to connect :  niyasraphyk@gmail.com

Twitter:https://twitter.com/niyasraphy
LinkedIn: https://www.linkedin.com/in/niyasraphy/
FB:https://www.facebook.com/niyasraphy123
Whatsapp : +917736136763
Happy to help :)

Niyas Raphy Inde
03/08/2019 11:49

Hi,

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


Thanks

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.

Register
Odoo Training Center

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

Test it now