跳至内容
菜单
此问题已终结
1 回复
6587 查看

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

 

 

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
1
6月 23
3523
1
11月 22
3822
2
6月 20
4017
2
7月 18
7546
4
7月 18
8406