Reviewers: ,
Please review this at http://codereview.tryton.org/355001/ Affected files: M work.py Index: work.py =================================================================== --- a/work.py +++ b/work.py @@ -90,7 +90,7 @@ ('parent', 'child_of', ids), ]) # force inactive ids to be in all_ids - all_ids = all_ids + ids + all_ids = list(set(all_ids + ids)) clause = "SELECT work, sum(hours) FROM timesheet_line "\ "WHERE work IN (%s) "\ % ",".join(('%s',) * len(all_ids)) -- [email protected] mailing list
