Odoo Help

Welcome!

This community 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.

0

Attachments in kanban view Odoo 8

By
Kabeer
on 3/22/16, 5:04 AM 625 views

I need to show attachments in kanban view.


<record id="view_document_ir_attachment_kanban" model="ir.ui.view">
        <field name="name">ir.attachment.kanban</field>
        <field name="model">ir.attachment</field>
        <field name="arch" type="xml">
            <kanban create="false">
                <field name="name" />
                <field name="datas" />
                <templates>
                    <t t-name="kanban-box">
                        <div style="width: 100px;">
                            <field name="name" />
                            <field name="data"/>
                        </div>
                    </t>
                </templates>
            </kanban>
        </field>
    </record>

Here field data is the binary field.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/22/16, 5:04 AM
Seen: 625 times
Last updated: 3/22/16, 5:33 AM