xmlodooodoo-9qwebone2many

access values of one2many fields on kanban view odoo


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


Solution

  • You Can also set the customized module from the odoo addons

    You can install and use it as per your Odoo version

    One2many Field Developed By SerpentCS :

    https://apps.openerp.com/apps/modules/8.0/web_one2many_kanban/