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

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

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

Hi Gaurav, did you installed web_one2many_kanban module..?

Tác giả Câu trả lời hay nhất

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.



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

Ok Gaurav thanks for the confirmation,will check it.

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 19
6093
3
thg 8 20
10425
0
thg 1 24
1543
0
thg 1 24
1242
0
thg 9 23
1876