Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @api.multi
- def assign_task(self):
- for task in self.dispatch_task_ids:
- task.task_id.write({
- 'skill_id': task.skill_id.id,
- 'user_id': task.user_id.id,
- 'date_deadline': task.dispatch_date,
- })
- return True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement