Community mailing list archives

Re: Error xpath view [9.0]

Martin Trigaux (mat)
- 11/18/2015 09:42:52
On 18/11/15 15:38, Kristian Koci wrote:
> I'm trying to install the module 'website_sale_products_per_page'
> It's not developed by me though
> But I keep getting this error on v9:
> *Error details:*
> *View inheritance may not use attribute 'string' as a selector.*


In version 9 the xpath based on the string attribute like, in this module:
<xpath expr="//group[@string='Menu']" position="after">

is no longer permitted. This was a bad practice as using the text for 
identify an element is not very stable (the text may change through 
time) and not working with translations (different word).

So this module does not work in 9.0, you should contact the developer 
that wrote it to report the issue.


Martin Trigaux
Odoo (Formerly OpenERP)