health
[Top][All Lists]
Advanced

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

[Health] unsupported operand type(s) for +: 'NoneType' and 'str'


From: ronald munjoma
Subject: [Health] unsupported operand type(s) for +: 'NoneType' and 'str'
Date: Wed, 16 Jan 2013 19:58:14 +0200

Dear All,

I am getting the below traceback when directly opening the below menu's on the 1.8.0 RC1 online demo:

- Appointments
- Centres
- Buildings
- Units
- wards
- Operating Room
-

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 154, in dispatch
    result = rpc.result(meth(*args, **kwargs))
  File "/trytond/model/modelsql.py", line 652, in read
    if x[field]], fields_related[field]):
  File "/trytond/model/modelsql.py", line 616, in read
    res2 = cls._fields[field].get(ids, cls, field_list, values=res)
  File "/trytond/model/fields/function.py", line 89, in get
    return dict((name, call(name)) for name in names)
  File "/trytond/model/fields/function.py", line 89, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/trytond/model/fields/function.py", line 83, in call
    return dict((r.id, method(r, name)) for r in records)
  File "/trytond/model/fields/function.py", line 83, in <genexpr>
    return dict((r.id, method(r, name)) for r in records)
  File "/trytond/modules/health/health.py", line 579, in get_rec_name
    return (self.lastname + ', ' + self.name)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Regards
Ronald Munjoma

reply via email to

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