Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4761 มุมมอง

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
4470
2
ธ.ค. 15
635
0
มี.ค. 15
3769
3
มิ.ย. 24
1840
1
มิ.ย. 24
2943