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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
3127
查看
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.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
3
9月 25
|
3176 | ||
|
0
8月 25
|
735 | ||
|
1
8月 25
|
2930 | ||
|
2
7月 25
|
8561 | ||
|
2
7月 25
|
4936 |