コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4730 ビュー

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.

関連投稿 返信 ビュー 活動
1
12月 15
4399
2
12月 15
635
0
3月 15
3723
3
6月 24
1803
1
6月 24
2850