bugGNU Health - Bugs: bug #41382, 'Application Error' on Creating...


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

bug #41382: 'Application Error' on Creating New Stock Move

Submitted by:  Selvakumar <vselva>
Submitted on:  Wed 29 Jan 2014 08:36:15 AM UTC  
Category: Demo environmentSeverity: 3 - Normal
Item Group: NoneStatus: In Progress
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None
Module: Inventory & Stock

Sun 26 Apr 2015 05:51:14 AM UTC, comment #1:

Still occurs. Looking into it.

Chris Zimmerman <teffalump>
Project Member
Wed 29 Jan 2014 08:36:15 AM UTC, original submission:


I am testing GNU Health on demo server as following:

Server: health.gnusolidario.org:8000
Database: health24rc1
User name: admin
Password: gnusolidario
Tryton version: 3.0.2


When I tried to create a stock move as follows, I got 'Application Error' Message window:

1. Prescriptions
2. Select one prescriptions (here in demo server I selected PRES 2013/000002)
3. Open Related Records (in top menu bar)
4. Create New Record (from top menu bar)
5. Select 'Origin' as 'Patient Ambulatory Care' and then 'Open New Record'.

This give 'Application Error' as follows:



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/model/modelsql.py", line 871, in search
tables, expression = cls.search_domain(domain)
File "/trytond/model/modelsql.py", line 1044, in search_domain
expression = convert(domain)
File "/trytond/model/modelsql.py", line 1042, in convert
domain[1:] if domain[0] == 'AND' else domain)))
File "/trytond/model/modelsql.py", line 1041, in <genexpr>
return And((convert(d) for d in (
File "/trytond/model/modelsql.py", line 1032, in convert
expression = field.convert_domain(domain, tables, cls)
File "/trytond/model/fields/field.py", line 237, in convert_domain
name, operator, value = domain
ValueError: too many values to unpack

Selvakumar <vselva>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by teffalump (Posted a comment)
  • -unavailable- added by vselva (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):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 26 Apr 2015 05:51:14 AM UTCteffalumpStatusNone=>In Progress

    Back to the top

    Powered by Savane 3.1-cleanup