I’m trying to make it where when a tasks stage is set to “repaired” the timer stops. I have an automation rule that starts the timer when stage is set to in progress but I can’t seem to make stop work if anyone can help. I’m on odoo online.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
137
Tampilan
Hi,
Activate Developer Mode
Create a New Automated Action
Model : Project Task
Trigger : On Update
Trigger Fields : stage_id
Filter Domain (optional, but clean):
[('stage_id.name', '=', 'Repaired')]
Action To Do : Execute Python Code
Python Code (best option):
if record.timer_start:
record.timer_stop()
i hope it is usefull
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Mei 20
|
4737 | ||
Enter time by *task* (not project) on HR Timesheet
Diselesaikan
|
|
3
Apr 16
|
17291 | |
|
3
Agu 15
|
7965 | ||
|
3
Mar 15
|
4834 | ||
Time condition in automation
Diselesaikan
|
|
1
Okt 24
|
1201 |