Hallo zusammen,
Ich habe das Problem im Project Modul einem Projekt Teilprojekte bzw. Tasks
zuzuweisen.
Szenarion 1: Wenn ich im übergeordneten Projekt unter Children das
untergeordnete Projekt angebe kommt die Meldung “There should be only one
timesheet work by task/project.” -> Ich habe für jeden Task und jedes
Projekt ein eigenes „Timesheet Works“ angelegt. Gibt es hier ein anderes
Vorgehen?
Szenario 2: Wenn ich im untergeordneten Projekt unter Parent das
übergeordnete Projekt angebe kommt keine Warnung/Fehler. Wenn ich nun
allerdings das übergeordnete Projekt nach dem Speichern öffne kommt
folgende Fehlermeldung:
Traceback (most recent call last):
File "\trytond\protocols\jsonrpc.py", line 162, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "\trytond\protocols\jsonrpc.py", line 191, in _dispatch
res = dispatch(*args)
File "\trytond\protocols\dispatcher.py", line 158, in dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "\trytond\model\modelsql.py", line 663, in read
getter_results = field.get(ids, cls, field_list, values=result)
File "\trytond\model\fields\function.py", line 91, in get
return call(names)
File "\trytond\model\fields\function.py", line 84, in call
return method(records, name)
File "\trytond\modules\project_plan\work.py", line 129, in
get_function_fields
durations[work.parent.id] += durations[work_id]
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'NoneType'
Verwende Tryton 3.6 und Windows 7 mit PostgreSQL Datenbank. Unter
bugs.tryton.org habe ich leider nichts gefunden..
Ich hoffe, dass ich mich verständlich ausgedrückt habe und hoffe auf eure
Hilfe.
Viele Grüße
Dan
--
Sie erhalten diese Nachricht, weil Sie Mitglied der Google Groups-Gruppe
"tryton-de" sind.
Weitere Optionen: https://groups.google.com/d/optout