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
- Apskaita
- Atsarga
- PoS
- Project
- MRP
This question has been flagged
            
                1
                
                    Atsakyti
                
            
        
        
            
                774
                
                    Rodiniai
                
            
        
    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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registracija| Related Posts | Replies | Rodiniai | Veikla | |
|---|---|---|---|---|
|  | 1 geg. 20  | 5451 | ||
|  | 3 bal. 16  | 18042 | ||
|  | 3 rugp. 15  | 8631 | ||
|  | 3 kov. 15  | 5538 | ||
| 
            
                Time condition in automation
            
            
                    Solved
            
         |  | 1 spal. 24  | 1788 | 
