health-dev
[Top][All Lists]
Advanced

[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

URL:
  <http://savannah.gnu.org/bugs/?38654>

                 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

    _______________________________________________________

Details:

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'




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38654>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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