Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5370 Zobrazení

Hi,

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" />
         </tree>
     </field>
</group>
Avatar
Zrušit
Nejlepší odpověď

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

 icon="terp-stock_effects-object-colorize"
Avatar
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
4
pro 23
79212
1
pro 19
12320
1
zář 18
10971
0
bře 15
4174
0
bře 15
3705