Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4034 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
ผู้เขียน

Thank you Jaideep - perfect response and exactly what I wanted

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ส.ค. 25
485
2
ส.ค. 25
1496
importing Purchase Order shown as a RFQ แก้ไขแล้ว
2
พ.ค. 25
2216
0
ก.พ. 25
1609
1
ส.ค. 25
2221