跳至內容
選單
此問題已被標幟
1 回覆
5450 瀏覽次數

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>
頭像
捨棄
最佳答案

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

 icon="terp-stock_effects-object-colorize"
頭像
捨棄
作者

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

相關帖文 回覆 瀏覽次數 活動
4
12月 23
79335
1
12月 19
12371
1
9月 18
11051
0
3月 15
4215
0
3月 15
3747