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

here is the code :

                <button name="wtc_approval" states="request_approval" string="Approve" type="object" class="oe_highlight" attrs="{'invisible':[(%(isactiveuser)d,'=',False)]}"/>

 

it still error ..

 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I haven't seen any xml views in which method is called.

You could also try using a computed field and provide the result to that field "field1", then using this field at XML attrs is possible.

อวตาร
ละทิ้ง
ผู้เขียน

oh i see , if i use field function to store return method is it possible ?

ผู้เขียน

thanks