changeset 1976:df5a68e1a4db

task #13334: Correct key name
author Chris Zimmerman <siv@riseup.net>
date Mon, 08 Jun 2015 21:37:54 -0700
parents 5975bdb2ad4b
children 9e886b48a6b0
files tryton/health/health.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tryton/health/health.py
+++ b/tryton/health/health.py
@@ -4771,8 +4771,8 @@
 
             # Drop the old foreign key(s) (hopefully the correct ones
             # will be recreated with the correct names by the models)
-            table.drop_fk('name')
-            table.drop_fk('create_uid')
-            table.drop_fk('write_uid')
+            table.drop_fk('name', table='gnuhealth_icu_ecg')
+            table.drop_fk('create_uid', table='gnuhealth_icu_ecg')
+            table.drop_fk('write_uid', table='gnuhealth_icu_ecg')
 
         super(PatientECG, cls).__register__(module_name)