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
الرد
3115
أدوات العرض
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
سبتمبر 25
|
3164 | ||
|
0
أغسطس 25
|
722 | ||
|
1
أغسطس 25
|
2914 | ||
|
2
يوليو 25
|
8552 | ||
|
2
يوليو 25
|
4932 |