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

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

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    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.7