Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5533 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
can i add button to tree view ? แก้ไขแล้ว
4
ธ.ค. 23
79540
1
ธ.ค. 19
12469
1
ก.ย. 18
11208
0
มี.ค. 15
4325
0
มี.ค. 15
3847