Odoo Help

0

List view in kanban box Odoo 8

By
Kabeer
on 4/1/16, 6:46 AM 838 views

I tried to create a list view in kanban box, but it shows (0 records). Code:

<kanban>
<field name="defaults" />
      <field name="due_amount" />
      <field name="name" />
      <field name="list_defaults" widget="one2many_list"/>

                <templates>

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

<div class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_stock_picking_type">
<div class="oe_kanban_content">
<div>
<field name="list_defaults" widget="one2many_list">
 <tree string="list of defaulters">
    <field name="name" />
    <field name="partner_id" />
    <field name="total_amount" />
</tree>
</field>
</div>
</div>
</div>
</t>
</templates>
</kanban>

i need to display top 10 records in kanban box, if it exceeds 10 it should show more button. please give solution if any, thanks

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 4/1/16, 6:46 AM
Seen: 838 times
Last updated: 4/1/16, 7:37 AM