Fix wrong usage of partner_id when associated people id is used in affect_shift process

2 jobs from dev_cooperatic in 1 minute 30 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #2877
lint:js

00:21

passed #2878
unit:django

01:08