Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4807 Переглядів

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
12731
4
січ. 19
6968
4
січ. 22
19674
1
лист. 24
20021
1
вер. 23
2898