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
회신
3123
화면
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
|
3170 | ||
|
0
8월 25
|
730 | ||
|
1
8월 25
|
2919 | ||
|
2
7월 25
|
8559 | ||
|
2
7월 25
|
4933 |