Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4691 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
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 Odpovědi Zobrazení Aktivita
1
pro 15
4357
2
pro 15
635
0
bře 15
3681
3
čvn 24
1775
1
čvn 24
2757