Odoo Help


How to show a text field from another model in a view

on 9/17/15, 5:23 AM 678 views


Can someone help me with this please.

I would like to create a text field in a model (as part of a module's configuration) and use it as a readonly field in another view, without creating another field in view's relevant model.

for example:

Creating a text field in hr.holidays.status model and using it in the hr.holidays.view view



Your example is not clear for me, but I think you can use a function field.

Tarek Mohamed Ibrahim
on 9/20/15, 8:52 AM

In "hr.holidays.view" model you use _inherit = ['hr.holidays.status']

VirbhadraSinh Gohil (vgo)
on 9/21/15, 1:09 AM

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

Question tools

2 follower(s)


Asked: 9/17/15, 5:23 AM
Seen: 678 times
Last updated: 9/21/15, 1:09 AM