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

I want to get the same value of a FIELD MANY2ONE:

 

 

 

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Have you tried using a default value for this? I think it should be done that way.

Otherwise, creating a related field might be a possibility? If you only want to show the field and not alter it. Usually, the company_id is available either using the UID or as a key in the context.

Ảnh đại diện
Huỷ bỏ