We generate recurring field service tasks upon the confirmation of a sales order. The sales order also have a subscription. How can I stop the recurrence of the tasks and mark all of them as done when I end the subscription automatically?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
1147
Visualizzazioni
You can do that using an Automated Action by following these steps:
- Create a new Automated Action with the following conditions:
- Model: Sales Order
- Trigger: On Save
- Before Update Domain:
- Recurring is set
- Subscription Status = In Progress
- Apply On:
- Subscription Status = Churned
- Recurring is set
- Actions to Do:
- Update Tasks associated to this sales > Recurrent to No (False)
- Update Tasks associated to this sales > Task Done to Yes (True)
- Update Tasks associated to this sales > State to Done
- Update Tasks associated to this sales > Stage to Done
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
dic 24
|
1647 | ||
|
1
ago 24
|
1347 | ||
|
3
giu 25
|
1938 | ||
|
2
mag 25
|
1002 | ||
|
3
apr 25
|
1771 |