Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4017 Näkymät

Hello all,

Using PaaS Odoo, version 14.0

I would like to create an automation in Odoo so that after "confirm order" is clicked on a purchase order, it will automatically generate a "schedule activity" for that purchase order.


Is there a way to do this in Studio or will it require some custom python code?


Thanks in advance

Avatar
Hylkää
Paras vastaus

You can create from Automated actions .. settings>technical>actions while on developer mode. If you don't view this menu, you would have to install from Apps 'Automated Action Rules' module.

Create new:

Model Purchase Order
Trigger - On Update
Trigger Fields - Status (purchase.order)
Apply on - Status '=' Purchase Order
Action to do - Create Next Activity

You can then select the activity to be created and whom to be assigned and Due Date

Avatar
Hylkää
Tekijä

Thank you Jaideep - perfect response and exactly what I wanted

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
elok. 25
447
2
elok. 25
1443
2
toukok. 25
2171
0
helmik. 25
1541
1
elok. 25
2171