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
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
3112
Visualizzazioni
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.
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
3
set 25
|
3164 | ||
|
0
ago 25
|
722 | ||
|
1
ago 25
|
2914 | ||
|
2
lug 25
|
8552 | ||
|
2
lug 25
|
4932 |