İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4672 Görünümler

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?

Avatar
Vazgeç
En İyi Yanıt

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'],
Avatar
Vazgeç
Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Ara 15
4346
2
Ara 15
635
0
Mar 15
3662
3
Haz 24
1768
1
Haz 24
2745