Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4721 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

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 correlati Risposte Visualizzazioni Attività
1
dic 15
4385
2
dic 15
635
0
mar 15
3718
3
giu 24
1798
1
giu 24
2822