changeset 2219:ace5eb41dda4

Fix bug #46657: Readonly pharmacy when prescription state is done
author Luis Falcon <falcon@gnu.org>
date Thu, 10 Dec 2015 15:53:22 +0000
parents 28ab387d0b06
children 49e72f94c6e9
files tryton/health/health.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tryton/health/health.py
+++ b/tryton/health/health.py
@@ -3935,8 +3935,7 @@
     user_id = fields.Many2One('res.user', 'Prescribing Doctor', readonly=True)
 
     pharmacy = fields.Many2One(
-        'party.party', 'Pharmacy', domain=[('is_pharmacy', '=', True)],
-            states = STATES)
+        'party.party', 'Pharmacy', domain=[('is_pharmacy', '=', True)])
 
     prescription_line = fields.One2Many(
         'gnuhealth.prescription.line', 'name', 'Prescription line',