Reviewers: ,


Please review this at http://codereview.tryton.org/709003/

Affected files:
  M work.py


Index: work.py
===================================================================

--- a/work.py
+++ b/work.py
@@ -108,8 +108,8 @@
                          ),
                         ])
                 for req_ref in req_refs:
-                    _, work_id = req_ref.reference.split(',')
-                    requests[int(work_id)].append(req_ref.request.id)
+                    work_id = req_ref.reference.id
+                    requests[work_id].append(req_ref.request.id)

             res['requests'] = requests




--
--
[email protected] mailing list

--- You received this message because you are subscribed to the Google Groups "tryton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to