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

Submitted by:  lenin <fplenin>
Submitted on:  Sun 29 Jun 2014 06:20:46 PM UTC  
 
Category: FunctionalitySeverity: 3 - Normal
Item Group: NoneStatus: Works For Me
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Module: Lab

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

Hello

Before posting a bug, please send a mail to -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>
Project 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>

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by meanmicio (Posted a comment)
  • -unavailable- added by fplenin (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 15 Jul 2014 09:07:59 AM UTCmeanmicioOpen/ClosedOpen=>Closed
    Sun 29 Jun 2014 07:07:03 PM UTCmeanmicioStatusNone=>Works For Me
    Sun 29 Jun 2014 06:20:46 PM UTCfpleninAttached File-=>Added Captura de pantalla de 2014-06-29 13:47:22.png, #31634

    Back to the top


    Powered by Savane 3.1-cleanup1