跳至內容
選單
此問題已被標幟
2 回覆
10678 瀏覽次數

Can anyone help me in setting up automated action? For eg i want to send mail when product quantity is less than 100.

頭像
捨棄
最佳答案

Have a look at http://doc.openerp.com/v6.1/book/2/3_CRM_Contacts/opport.html or you can have CRM example in Setting->Technical->Automated Actions. There in Action Type you can define Email option.

image description

You can also use Scheduler for regular interval of time

Go to Settings->Technical->Scheduler->Scheduled Actions

There you can specify your interval time in Minutes,Hours,Days,Week,Month & you can also specify no. of calls that means intervals.

頭像
捨棄
作者

Do you know how to trigger automated action after a specific interval of time? for ex i want my action to trigger every after 12 hours.

作者

How to call automated action from scheduler?

You don't need to call automated action from scheduler, you can directly send mail form scheduler at a regular interval of time. Have a look at Technical Data page in scheduler form.

作者

but i have to send mail after 12 hours if product quantity is less than 100 (for ex). And i cant check for python code at Technical Data page in scheduler form.Also i cannot make a method on my python file as i am using OpenERP SAAS.

Hi ! I try to go to go to Settings->Technical->Scheduler->Scheduled Actions but I don't know what to put in Technical Data ... Could you help me?

You can have examples of already created schedulers if demo data is there in database otherwise you can create your own function in py file which sends email. You just need to define object in action trigger and method name you have created.Arguments is optional. Hope then it will work.

最佳答案

Automated action is a auto action

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
2月 25
1116
0
11月 24
1280
2
2月 23
2313
2
6月 19
8957
1
5月 15
6753