Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
5589 Visualizzazioni

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

Avatar
Abbandona

Hi Gaurav, did you installed web_one2many_kanban module..?

Autore Risposta migliore

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.



Avatar
Abbandona

Ok Gaurav thanks for the confirmation,will check it.

Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 19
6086
3
ago 20
10407
0
gen 24
1521
0
gen 24
1221
0
set 23
1855