Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5532 Lượt xem

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>
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

 icon="terp-stock_effects-object-colorize"
Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 12 23
79540
1
thg 12 19
12469
1
thg 9 18
11208
0
thg 3 15
4325
0
thg 3 15
3847