Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4717 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
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.

Publicações relacionadas Respostas Visualizações Atividade
1
dez. 15
4378
2
dez. 15
635
0
mar. 15
3709
3
jun. 24
1795
1
jun. 24
2801