Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5141 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

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

Post Terkait Replies Tampilan Aktivitas
1
Des 15
4967
2
Des 15
635
0
Mar 15
4101
3
Jun 24
2130
1
Jun 24
3565