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
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
1
Ответить
3114
Представления
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РегистрацияRelated Posts | Ответы | Просмотры | Активность | |
---|---|---|---|---|
|
3
сент. 25
|
3164 | ||
|
0
авг. 25
|
722 | ||
|
1
авг. 25
|
2914 | ||
|
2
июл. 25
|
8552 | ||
|
2
июл. 25
|
4932 |