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

Sometimes I see Contacts shown like this:


Other times like this:


How does this work and what options do I have to control how they are shown?

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

There are several Context keys available that change how Partner information via a Many2one is shown:



Remember that you define or override the Field and provide a Context dictionary like this:

 <field name="partner_id" 
context="{'show_email': True}"/>




Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 6 21
1694
0
thg 1 23
3928
0
thg 1 22
3409
0
thg 10 21
3592