[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Health-dev] [bug #57371] Error when assigning a health professional on
From: |
Luis Falcon |
Subject: |
[Health-dev] [bug #57371] Error when assigning a health professional on the work schedule |
Date: |
Fri, 6 Dec 2019 17:10:26 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0 |
URL:
<https://savannah.gnu.org/bugs/?57371>
Summary: Error when assigning a health professional on the
work schedule
Project: GNU Health
Submitted by: meanmicio
Submitted on: Fri 06 Dec 2019 10:10:23 PM UTC
Category: GUI / Frontend
Severity: 3 - Normal
Item Group: None
Status: Confirmed
Privacy: Public
Assigned to: meanmicio
Open/Closed: Open
Discussion Lock: Any
Release: None
Module: health_calendar
_______________________________________________________
Details:
The following error is generated when trying to assign an health professional
on a new work schedule
NameError: name 'val' is not defined
ERROR:tryton.common.common: File
"/home/lfm/health/gnuhealth-client/tryton/gui/window/view_form/view/form_gtk/many2one.py",
line 35, in <lambda>
lambda x, y: self._focus_out())
File
"/home/lfm/health/gnuhealth-client/tryton/gui/window/view_form/view/form_gtk/widget.py",
line 106, in _focus_out
self.set_value()
File
"/home/lfm/health/gnuhealth-client/tryton/gui/window/view_form/view/form_gtk/many2one.py",
line 277, in set_value
self.field.set_client(self.record, self.value_from_id(None, ''))
File
"/home/lfm/health/gnuhealth-client/tryton/gui/window/view_form/model/field.py",
line 447, in set_client
force_change=force_change)
File
"/home/lfm/health/gnuhealth-client/tryton/gui/window/view_form/model/field.py",
line 161, in set_client
self.sig_changed(record)
File
"/home/lfm/health/gnuhealth-client/tryton/gui/window/view_form/model/field.py",
line 46, in sig_changed
record.on_change_with([self.name])
File
"/home/lfm/health/gnuhealth-client/tryton/gui/window/view_form/model/record.py",
line 634, in on_change_with
self.set_on_change(result)
File
"/home/lfm/health/gnuhealth-client/tryton/gui/window/view_form/model/record.py",
line 513, in set_on_change
if field_rec_name in val:
NameError: name 'val' is not defined
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57371>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Health-dev] [bug #57371] Error when assigning a health professional on the work schedule,
Luis Falcon <=