Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
2896 Vues

I have created custom module after but Create New button on top of form not showing i already add the button code on xml view ? 

Avatar
Ignorer
Auteur Meilleure réponse

Ok can we use validation in the xml view input fields?? 

Avatar
Ignorer
Meilleure réponse

Hi

Please try this example 

<record id="model_form" model="ir.ui.view">
<field name="name">model.model.form</field>
<field name="model">model.model</field>
<field name="arch" type="xml">
<form>
<header>
<button name="action_confirm" type="object"
string="Confirm"
states="draft"/>
</header>
</form>
</field>
</record>


Also define the action_confirm function inside the model .


Regards 

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
avr. 24
2677
1
déc. 24
4091
0
nov. 24
1672
2
juil. 24
3424
0
avr. 24
2202