Odoo Help


[v7] oe_highlight in treeview

on 12/3/13, 1:11 PM 1,255 views


Do you know why it is not working ? I mean why class="oe_highlight" doesnt work in tree mode?

<group col="2" colspan="2" >
    <separator string="Separator" colspan="2" />
    <field name="field_lines" colspan="2" nolabel="1" readonly="1" >
        <tree editable="bottom" >
                <field name="somefield />
                 <button type="object" string="String" name="button_method" class="oe_highlight" />
Ashif Abdulrahman
On 12/4/13, 5:21 AM

class="oe_highlight" doesnt work in tree mode, you better to use an icon for that button, like


yes but i need to customize my button. I wanna set size of him and etc.... Now I'm thinkg about write some wrapper to this....

on 12/4/13, 1:15 PM

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.


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

0 follower(s)


Asked: 12/3/13, 1:11 PM
Seen: 1255 times
Last updated: 3/16/15, 8:10 AM