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 ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
2
Respuestas
2662
Vistas
Ok can we use validation in the xml view input fields??
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
abr 24
|
2344 | ||
|
1
dic 24
|
3268 | ||
|
0
nov 24
|
1406 | ||
|
2
jul 24
|
2808 | ||
|
0
abr 24
|
1940 |