bugGNU Health - Bugs: bug #38654, Ordering a lab test fails if no...

 
 

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

bug #38654: Ordering a lab test fails if no doctor assigned

Submitter:  Waleed Hamra <hamra>
Submitted:  Wed 03 Apr 2013 12:09:24 PM UTC
   
 
Category:  Functionality Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  smarro
Open/Closed:  Closed Release:  None
Module:  laboratory Component:  None

Thu 04 Apr 2013 06:40:27 PM UTC, comment #1: 

changeset 721:b3cf97bcaf33

Sebastián Marró <smarro>
Wed 03 Apr 2013 12:09:24 PM UTC, original submission:  

If i create a lab request, but don't specify a doctor, then when clicking on the requestion action->create lab test, it fails.

Traceback (most recent call last):
  File "/site-packages/trytond/protocols/jsonrpc.py", line 123, in _marshaled_dispatch
    response['result'] = dispatch_method(method, params)
  File "/site-packages/trytond/protocols/jsonrpc.py", line 156, in _dispatch
    res = dispatch(*args)
  File "/site-packages/trytond/protocols/dispatcher.py", line 154, in dispatch
    result = rpc.result(meth(args, *kwargs))
  File "/site-packages/trytond/wizard/wizard.py", line 259, in execute
    return wizard._execute(state_name)
  File "/site-packages/trytond/wizard/wizard.py", line 290, in _execute
    result = self._execute(transition())
  File "/site-packages/trytond/modules/health_lab/wizard/wizard_create_lab_test.py", line 64, in transition_create_lab_test
    test_report_data['requestor'] = lab_test_order.doctor_id.id
AttributeError: 'NoneType' object has no attribute 'id'

Waleed Hamra <hamra>

 

(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 smarro (Updated the item)
  • -email is unavailable- added by hamra (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-04-04 smarro StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2013-04-04 smarro StatusNone Confirmed
        Assigned toNone smarro

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code