Skip to Content
Menu
This question has been flagged
2703 Views

Hi,

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

Regards,

Narender



Avatar
Discard

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

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