Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4668 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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'],
Imagine profil
Abandonează
Autor

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

Related Posts Răspunsuri Vizualizări Activitate
1
dec. 15
4344
2
dec. 15
635
0
mar. 15
3655
3
iun. 24
1758
1
iun. 24
2740