Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4728 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Auteur

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

Publications associées Réponses Vues Activité
1
déc. 15
4394
2
déc. 15
635
0
mars 15
3723
3
juin 24
1803
1
juin 24
2844