In Journal Entry for there are two buttons are available with same name as action_post.first one is Post and second one is Confirm.
I want to add replace the first button Post. How to do it through xpath?
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
1
Responder
3105
Vistas
You can achieve it using [1] which will take first button of the name.
<xpath expr="//button[@name='action_post'][1]" position="replace">
Hope it will help you.
¿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 | |
---|---|---|---|---|
|
3
sept 25
|
3155 | ||
|
0
ago 25
|
709 | ||
|
1
ago 25
|
2893 | ||
|
2
jul 25
|
8538 | ||
|
2
jul 25
|
4925 |