Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6576 Lượt xem

Hello,

In project management module if I am close the project than I am creating task on project OpenERP allow to create task.

Is this right to allow creation of task on close project?

And if allow than what is the purpose of it?

Thanks

 

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Solanki,

I have also faced same situation, inspite of closing the project we can create tasks and issues, etc for that project. So, what I did is 

1) hided the buttons(Task, Issues, etc) on project form, once it reaches to the dead state by applying attrs on buttons div.

2) at task, issue, milestone, etc masters on project_id field applied the domain ('state', '!=', 'closed').

3) Rest wherever u get the project_id field(related to project master) apply ('state', '!=', 'closed') domain .

Now i cant create the tasks or issues or anything from any scenario.


thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 23
3518
1
thg 11 22
3804
Cannot create task Đã xử lý
2
thg 6 20
4002
2
thg 7 18
7537
4
thg 7 18
8400