Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4798 Zobrazení

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"/>

Avatar
Zrušit
Nejlepší odpověď

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

Eg:

<field name="YOUR_WIZARD_FIELD_NAME" options="{'no_create': True}" />
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
čvc 18
12728
4
led 19
6962
4
led 22
19671
1
lis 24
20018
1
zář 23
2894