Odoo Help

6
26
Serpent Consulting Services Pvt. Ltd.
On 12/3/13, 7:18 AM

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

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

Yenthe Van Ginneken
on 8/19/16, 3:39 AM

@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

simbeez, Tushar Donga
on 8/8/18, 3:00 AM

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 12/3/13, 6:15 AM
Seen: 35810 times
Last updated: 11/21/18, 11:42 PM