bugGNU Health - Bugs: bug #64785, Traceback when clearing the...

 
 

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

bug #64785: Traceback when clearing the patient name on surgery

Submitter:  Luis Falcon <meanmicio>
Submitted:  Tue 17 Oct 2023 01:54:11 PM UTC
   
 
Category:  Programming / Tracebacks Severity:  3 - Normal
Item Group:  None Status:  Ready For Test
Privacy:  Public Assigned to:  meanmicio
Open/Closed:  Open Release:  4.2.0
Module:  health_surgery Component:  Hospital Management

Tue 17 Oct 2023 01:57:00 PM UTC, comment #1: 

Fixed in Changeset:
https://hg.savannah.gnu.org/hgweb/health/rev/ac29f95f95d5

Ready for testing

Luis Falcon <meanmicio>
Group administrator
Tue 17 Oct 2023 01:54:11 PM UTC, original submission:  

The following traceback is generated when clearing the patient name from the surgery.

  File "/trytond/model/modelview.py", line 88, in wrapper
    result = func(self, args, *kwargs)
  File "/trytond/model/fields/field.py", line 123, in wrapper
    return func(self, args, *kwargs)
  File "/trytond/modules/health_surgery/health_surgery.py", line 562, in on_change_patient
    self.gender = self.patient.gender
AttributeError: 'NoneType' object has no attribute 'gender'

Fault: 'NoneType' object has no attribute 'gender'


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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-10-17 meanmicio StatusConfirmed Ready For Test
        ReleaseNone 4.2.0

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code