Odoo Ayuda

6
1 Answer
26
Avatar

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
Serpent Consulting Services Pvt. Ltd.
http://www.serpentcs.com
4795
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. is an Official Odoo Partner, working on Odoo ever since 2007, experience of 11+ years and witnessed the growth of Odoo.

We are a team of 80+ experts on various verticals. Our portfolio of products can be seen at http://www.serpentcs.com and http://www.serpentcs.in

Our Expertise and Services:

  • Odoo Support

  • Odoo Development

  • Odoo Training

  • Odoo Migration

  • Odoo Implementation

  • Odoo Consulting

Our 290+ Apps on Appstore : https://apps.odoo.com/apps/modules/browse?author=Serpent Consulting Services Pvt. Ltd.

Thanks.

Serpent Consulting Services Pvt. Ltd.
03/12/13 07:18

Hello Michael,

There is a attributes value in position which allows you to change/replace the value of the attribute.

Try this:

<xpath expr="//page[@string='Contacts']" position="attributes">
    <attribute name="attrs">{}</attribute>
</xpath>

Thanks,

Serpent Consulting Services

2 Comments
Yenthe Van Ginneken
19/08/16 03:39

Just a sidenote: Since V9 @string has been depracated and you should now use @name.

simbeez, Tushar Donga
08/08/18 03:00

@Yenthe

<xpath expr="//page[@name='validity_date']" position="attributes">

<attribute name="attrs">{'required':[('demo_name','!=',False)]}</attribute>

can you tell me what wrong in this beacuse this is not working

Realizar una pregunta
Writer
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now