Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
5594 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 19
6087
3
ส.ค. 20
10409
0
ม.ค. 24
1524
0
ม.ค. 24
1227
0
ก.ย. 23
1855