Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. @api.multi
  2. def assign_task(self):
  3. for task in self.dispatch_task_ids:
  4. task.task_id.write({
  5. 'skill_id': task.skill_id.id,
  6. 'user_id': task.user_id.id,
  7. 'date_deadline': task.dispatch_date,
  8. })
  9. return True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement