Ayuda

0

View a field from one model in another model

Avatar
Alek

Hi everyone!

Can anyone help me to figure this out?

I need to see a custom field created by me in another model.

Ex.:

I created a "x_custom_text" field in Maintenance.equipment model.

I need to see that field in "maintenance.request" model.

How can I do this from user interface?


I would appreciate your help!  

3 Comentarios
Avatar
Descartar
Avatar
Alek
-

Hi Chris thank you for your reply!

Yes I figured this out, Thanks a lot. However can you explain where is the equipment_id stored, I looked in Maintenance request and Maintenance Equipment but I didn't find that field "equipment_id"

Avatar
Chris TRINGHAM
-

I added a screenshot.

Avatar
Alek
-

Great! Thank you for your help!

1 Respuesta
1
Avatar
Chris TRINGHAM
Best Answer

You need a Related Field.  I am not familiar with the Maintenance app, but I think it would be something like this existing field for the Product Category:


This displays the Product Category on the Maintenance Request, and I think you want something similar.

In answer to your follow-up question, equipment_id is shown here:


1 Comentario
Avatar
Descartar

+1