Christophe Chauvet wrote:
> XPATH method like this
> <xpath expr=”/form/notebook/page&#91;@string='Leads'&#93;” 
> position="replace">


Would that xpath query work on foreign languages?

I mean, we found that if when trying to replace the "Administration" page of 
project.project.form, this query would not match:
<xpath expr="/form/notebook/page&#91;@string='Administration'&#93;" 
position="replace">
While this query did just work (using OpenERP 5.0.0.3 with Spanish [es_ES] 
locale):
<xpath expr="/form/notebook/page&#91;@string='Administración'&#93;" 
position="replace">

So it seems that using the 'string' attribute in queries is not safe in a 
multi-language environment.

------------------------
Borja López Soilán
Pexego - www.pexego.es




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=41845#41845

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to