This question has been flagged
1 Reply
5362 Views

Hi everyone i am new in openerp and i wanna ask that how can i add new button above tree view(not in tree row),my code:

<record model="ir.ui.view" id="orders_tree_view">
            <field name="name">Orders Tree View</field>
            <field name="model">cm.orders</field>
            <field name="arch" type="xml">
                  <tree string="Orders Tree">
                     <field name="no" />
                     <field name="status" />
                     <field name="Address" />
                     <field name="Date and Time" />
                     <field name="courier" />
                     <field type="Customer"/>
                  </tree>
                </field>
</record>

Please Help me...

Avatar
Discard
Best Answer

you want to put the button in the header, same questions as here

https://accounts.openerp.com/forum/Help-1/question/23623

Avatar
Discard

same Question there, But there also no answer.