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

    Hello guys,

               How can I change or edit or hide both the create button and import button in specific views...  As in how can override the implementation and add my own text for example Register instead of create or Something like Add new User

    Thank you....          

อวตาร
ละทิ้ง

Remove save button from odoo form view: https://goo.gl/yY3rNs

คำตอบที่ดีที่สุด

You are mixed more than one question in one thread.

To hide create and import button, inherit the view and add this attribute create="false".

example for tree view:

<xpath expr="/tree" position="attributes">
<attribute name="create">false</attribute>
</xpath>


Example for kanban view:

<xpath expr="/kanban" position="attributes">
<attribute name="create">false</attribute>
</xpath>

Example form view:

<xpath expr="/form" position="attributes">
<attribute name="create">false</attribute>
</xpath>
อวตาร
ละทิ้ง

Hello,

I would like to ask how to rename the "Create" button?

Thanks,