Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
5575 Visualizações

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
Cancelar
Melhor resposta

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

Publicações relacionadas Respostas Visualizações Atividade
4
dez. 23
79595
1
dez. 19
12508
1
set. 18
11278
0
mar. 15
4382
0
mar. 15
3888