El 15/04/14 15:13, Fabio Negrini ha escrit:
Hi,
I have the 2.4.1 version of Gnu Health installed and working fine! So
I would like to inherit the new calendar view of appointments. The
original XML is:
<?xml version="1.0"?>
<calendar string="Patient appointments" dtstart="appointment_date"
dtend="appointment_date_end">
<field name="name"/>
<field name="patient"/>
</calendar>
Sou, I've created a new View inheriting this callendar to modify its
visualization. I've tried the following XML:
<?xml version="1.0"?>
<data>
<xpath expr="/calendar/field[@name="name"]"
position="replace">
<field name="patient"/>
</xpath>
</data>
But, when I try to save It I got the message: "Invalid XML for view
<my-view-name>".
Can anyone help me?
I don't see anything wrong in the views you're showing.
Can you share the full traceback of the error? Normally it shows more
information about the error.
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk