تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4751 أدوات العرض

Sometimes project.task throw a notification with subtype "Stage changed" but sometimes not? is this normal?

Where in workflow a change the stage throw a notification with "Stage changed" subtypes?

الصورة الرمزية
إهمال
أفضل إجابة

Yes it is.

The notification "Stage changed" is only sent if the new state is not new, done or open.

Here is the related code snipped in the source code:

'stage_id': {
    'project.mt_task_stage': lambda self, cr, uid, obj, ctx=None: obj['state'] not in ['new', 'done', 'open'],
الصورة الرمزية
إهمال
الكاتب

thanks for your answer but if I switch between 2 stages that have the same state(in progress for example) no notification is throw.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
ديسمبر 15
4449
2
ديسمبر 15
635
0
مارس 15
3754
3
يونيو 24
1826
1
يونيو 24
2902