콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

I have a calendar view that display 2 fields : a Many2one (user_id) and a Many2many (product_ids). 

    <!-- reservation calendar view -->                                                          
        <record model="ir.ui.view" id="reservation_calendar_view">                              
            <field name="name">reservation.calendar</field>                                     
            <field name="model">hoc.reservation</field>                                         
            <field name="arch" type="xml">                                                      
                    <calendar string="Reservation Calendar"                                     
                            date_start="start_date"                                             
                            date_stop="end_date"                                                
                            color="product_ids"                                                 
                            display="[product_ids] - [user_id]">                                
                            <!--<field name="group_product_ids"/>-->                            
                            <field name="user_id"/>                                             
                            <field name="product_ids" />                                        
            </calendar>                                                                         
            </field>                                                                            
    </record>  


By default, the many2many field display the ids of the records. Can i display the names ? I have to use a widget for this  ?

Thanks.

아바타
취소
관련 게시물 답글 화면 활동
4
1월 24
24056
Attrs attribute 해결 완료
2
1월 24
2976
0
8월 23
2828
1
6월 23
4086
5
9월 21
18267