[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Health-dev] [bug #38654] Ordering a lab test fails if no doctor assigne

From: Waleed Hamra
Subject: [Health-dev] [bug #38654] Ordering a lab test fails if no doctor assigned
Date: Wed, 03 Apr 2013 12:09:25 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:20.0) Gecko/20100101 Firefox/20.0


                 Summary: Ordering a lab test fails if no doctor assigned
                 Project: GNU Health
            Submitted by: hamra
            Submitted on: Wed 03 Apr 2013 12:09:24 PM GMT
                Category: Functionality
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Module: laboratory



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/", line 123, in
    response['result'] = dispatch_method(method, params)
  File "/site-packages/trytond/protocols/", line 156, in _dispatch
    res = dispatch(*args)
  File "/site-packages/trytond/protocols/", line 154, in
    result = rpc.result(meth(*args, **kwargs))
  File "/site-packages/trytond/wizard/", line 259, in execute
    return wizard._execute(state_name)
  File "/site-packages/trytond/wizard/", line 290, in _execute
    result = self._execute(transition())
line 64, in transition_create_lab_test
    test_report_data['requestor'] =
AttributeError: 'NoneType' object has no attribute 'id'


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]