Odoo Help

0

Show button under tree view column with a column header

By
Ajeng Shilvie
on 12/26/14, 6:36 AM 817 views

I am showing a button in a tree view:

<tree>

    <field name="field1"/>

    <field name="field2"/>

    <button name="buttonclick"  type="object" string="Click"/>

</tree>

This is button is shown in a column for every row, but this column has no header.

How can I add a header?

I too want this..

Anand
on 12/26/14, 6:50 AM
1
--deep--

Techno-Functional Associate with 6+ years of experience in Odoo (formerly known as OpenERP).

deep
On 12/29/14, 5:18 AM

I dont think you can add a header for a button, for one reason, buttons can be made visible/invisible based on a criteria..

Best thing you can do is, specify a short tool tip for the button and also add appropriate icon which conveys its action...

ok i got it

Ajeng Shilvie
on 12/29/14, 5:46 AM

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 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

2 follower(s)

Stats

Asked: 12/26/14, 6:36 AM
Seen: 817 times
Last updated: 3/16/15, 8:10 AM