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

Why i can't access values of one2many field on kanabn view . i need to loop over them to access them but it only return the number of records that's it. I have tried this code but it is'nt working

<kanban>

<field name="one2manyFieldname"/>

<templates>   

<t t-name="kanban-box">     

   <div class="oe_kanban_content">      

      <p>              

         <t t-foreach="record.one2manyFieldname.raw_value" t-as='o'>                

         <t t-esc="o.name"/><field name="name"/><br/>               </t>          

     </p>       

   </div>   

</t>

</templates>

instead of getting values i am getting blank result.Kindly help on this problem.Thank You

아바타
취소

Hi Gaurav, did you installed web_one2many_kanban module..?

작성자 베스트 답변

Hi Raaj,
I have tried web_one2many_kanban module but it is'nt working...no change in the kanban view is observed in the view.



아바타
취소

Ok Gaurav thanks for the confirmation,will check it.

베스트 답변

I Think you can't Add one2many field two Kanban view

아바타
취소
관련 게시물 답글 화면 활동
1
7월 19
6171
3
8월 20
10476
0
1월 24
1637
0
1월 24
1329
0
9월 23
1952