bugGNU Health - Bugs: bug #57371, Error when assigning a health...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #57371: Error when assigning a health professional on the work schedule

Submitter:  Luis Falcon <meanmicio>
Submitted:  Fri 06 Dec 2019 10:10:23 PM UTC
   
 
Category:  GUI / Frontend Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  meanmicio
Open/Closed:  Closed Release:  3.6.0
Module:  health_calendar Component:  None

Fri 06 Dec 2019 10:15:00 PM UTC, comment #1: 

Fixed on changeset 3498:08f336205763

http://hg.savannah.gnu.org/hgweb/health/rev/08f336205763

Luis Falcon <meanmicio>
Group administrator
Fri 06 Dec 2019 10:10:23 PM UTC, original submission:  

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

Luis Falcon <meanmicio>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by meanmicio (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-06 meanmicio StatusConfirmed Fixed
        Open/ClosedOpen Closed
        ReleaseNone 3.6.0

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code