what is the base configuration to create a planned action
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- المشروع
- MRP
لقد تم الإبلاغ عن هذا السؤال
3
الردود
3352
أدوات العرض
for rec in model.search([('create_date','>=', datetime.datetime.now() - timedelta(hours=24)),('state','=','ticket')])
rec['state'] = 'delayed'
Hello Francisco Mendez
Activate debug or developer mode and go to Settings --> Technical --> Scheduled Actions --> create new record as per following screenshot.

for rec in model.search([('create_date','>=', datetime.datetime.now() - timedelta(hours=24)),('state','=','ticket')])
rec['state'] = 'delayed'
Let us know if you still need any help on this, Thanks,
Thanks & Regards,
CandidRoot Solutions Pvt. Ltd.
Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015
thank you, it worked for me
When creating a custom function in a model, is any configuration required?
I'm encountering an AttributeError: "'helpdesk.ticket' object has no attribute 'send_stage_change_to_rabbitmq'" when calling `model.send_stage_change_to_rabbitmq()`.
thanks, it worked correctly
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
|
0
مارس 25
|
1535 | ||
|
|
0
نوفمبر 23
|
2190 | ||
|
|
0
مارس 15
|
6863 | ||
|
|
1
ديسمبر 22
|
7124 | ||
|
|
0
أغسطس 18
|
5338 |
could you please specify a little more?