Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4704 Представления

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?

Аватар
Отменить
Лучший ответ

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'],
Аватар
Отменить
Автор

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 Ответы Просмотры Активность
1
дек. 15
4369
2
дек. 15
635
0
мар. 15
3703
3
июн. 24
1785
1
июн. 24
2782