How can I achieve the following
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
You can give onchange for the task_status field and check if it's Finished, you can set the Task Finisher as the current user.
if record.task_status == 'finished':
record.task_finisher = self.env.uid
Thank you so much.
Hello
you can write onchange to update task finisher.
@api.onchange('task_status')
def onchange_stage_id(self):
if self.task_status == 'finished':
self.task_finisher_id = self.env.user.id if self.task_finisher_id else False
Thanks & Regards,
CandidRoot Solutions Pvt. Ltd.
Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015
Thank you so much
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se