I want to remove some fields from website billing information.in order to do that i have a div and its t-attf-class i want to xpath it
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
Hi Jain,
You can use hasclass() function in XML in the xpath.
Ex:
xpath expr="//div[hasclass('class_name')]"
Thanks for sharing https://www.mycfavisit.blog
thanks for helps, you can see more
Hi Jain, Could you solve this issue?
Visit https://stackoverflow.com/questions/50716507/how-to-give-odoo-xpath-in-t-attf-id https://basketrandom.io for more information
Hi Jain,
There could be many other ways but the best way I found to do this is using relative xpath as in here:
https://stackoverflow.com/questions/50716507/how-to-give-odoo-xpath-in-t-attf-id
The ideas is to target the block after the div (be it a field or an input, etc...) then add /.. at the end of the xpath expression get the parent block in this case the div container.
If this is not what you are looking for, can you share a code or its structure for better response?
Cheers
greqat tho
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Apr 22
|
3107 | ||
|
0
Mar 22
|
4 | ||
|
1
Agu 21
|
2689 | ||
|
2
Jul 25
|
7012 | ||
|
2
Jul 25
|
3343 |