Fix ids mixing between timesheet and project works

review915002
(transplanted from a45802fb6088de85f0a07b0dd06b10391a43ada1)

--HG--
extra : transplant_source : %A4X%02%FB%60%88%DE%85%F0%A0%7B%0D%D0k%109%1AC%AD%A1