changeset 2121:0a4351e058f3

task #13792: Extend prescription model to include the lines in the service document. add remaining view file on prescription
author Luis Falcon <falcon@gnu.org>
date Thu, 29 Oct 2015 12:03:05 +0000
parents 8636a781d095
children 3d48cc4b6bde
files tryton/health_services/view/gnuhealth_prescription.xml
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/tryton/health_services/view/gnuhealth_prescription.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<data>
+	<xpath expr="//field[@name=&quot;prescription_line&quot;]" position="after">
+        <group id="group_prescription_services" colspan="4">
+            <label name="service"/>
+            <field name="service"/>
+            <button name="update_service" help="Update Service document with this prescription lines" string="Update Services" icon="tryton-go-next" confirm="Transfer medicaments to services ?"/>
+        </group>
+    </xpath>
+</data>