Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
5166 Lượt xem

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!  

Ảnh đại diện
Huỷ bỏ
Tác giả

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"

I added a screenshot.

Tác giả

Great! Thank you for your help!

Câu trả lời hay nhất

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:


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 25
4973
3
thg 7 20
11583
0
thg 11 16
3956
1
thg 8 15
4528
1
thg 12 24
939