bugGNU Health - Bugs: bug #42644, Error while adding a lab test

 
 

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

bug #42644: Error while adding a lab test

Submitter:  lenin <fplenin>
Submitted:  Sun 29 Jun 2014 06:20:46 PM UTC
   
 
Category:  Functionality Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  None
Module:  Lab Component:  None

Sun 29 Jun 2014 07:07:03 PM UTC, comment #2: 

Hello

Before posting a bug, please send a mail to -email is unavailable- mailing list (you need to subscribe firts) to check whether is really a bug or misconfiguration issue. If it is, we'll be happy to file a bug.

Also, specify well the steps that lead you to generate the problem.

If you have configured the system and logged in as a health professional, the related user would be shown as a default.

Please try to reproduce it in the demo database.

Thanks !

Luis Falcon <meanmicio>
Group administrator
Sun 29 Jun 2014 06:26:25 PM UTC, comment #1: 

It doesn't show that error message when I add the doctor field.
Maybe all it needs is just a simple warning like: "You must select a health professional" or just to have an option to leave it empty.

lenin <fplenin>
Sun 29 Jun 2014 06:20:46 PM UTC, original submission:  

Attached file text:


Traceback (most recent call last):
  File "/trytond/protocols/jsonrpc.py", line 123, in _marshaled_dispatch
    response['result'] = dispatch_method(method, params)
  File "/trytond/protocols/jsonrpc.py", line 156, in _dispatch
    res = dispatch(*args)
  File "/trytond/protocols/dispatcher.py", line 169, in dispatch
    result = rpc.result(meth(c_args, *c_kwargs))
  File "/trytond/wizard/wizard.py", line 218, in execute
    return wizard._execute(state_name)
  File "/trytond/wizard/wizard.py", line 249, in _execute
    result = self._execute(transition())
  File "/trytond/modules/health_lab/wizard/wizard_create_lab_test.py", line 169, in transition_request
    PatientLabTest.create(lab_tests)
  File "/trytond/modules/health_lab/health_lab.py", line 262, in create
    return super(GnuHealthPatientLabTest, cls).create(vlist)
  File "/trytond/model/modelsql.py", line 339, in create
    insert_values.append(field.sql_format(value))
  File "/trytond/model/fields/many2one.py", line 85, in sql_format
    assert value is not False
AssertionError


Feel free to contact me for further information

lenin <fplenin>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by meanmicio (Posted a comment)
  • -email is unavailable- added by fplenin (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-07-15 meanmicio Open/ClosedOpen Closed
    2014-06-29 meanmicio StatusNone Works For Me
    2014-06-29 fplenin Attached File- Added Captura de pantalla de 2014-06-29 13:47:22.png, #31634

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code