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

Hi everyone,

I have defined a wizard view in a button. While opening that wizard it opens in editable mode(means save and Discard buttons showing). Now i need to open this wizard form in Non editable mode(like on form loading it need to display only Edit and Create buttons viewed). Can anyone know how to achieve this in xml view.Please refer my below xml code:

<act_window name="Addition and Deduction"

res_model="addition.deduction.wizard"

src_model="payroll.process.lines"

view_mode="form"

target="new"

key2="client_action_multi"

id="act_addition_deduction_form"/>

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

Please use "no_create" option attribute in field definition in wizard view..

Eg:

<field name="YOUR_WIZARD_FIELD_NAME" options="{'no_create': True}" />
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
ก.ค. 18
12728
4
ม.ค. 19
6962
4
ม.ค. 22
19671
1
พ.ย. 24
20017
How to install odoo 10 in ubuntu 20.04? แก้ไขแล้ว
1
ก.ย. 23
2892