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

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
3506
1
11月 22
3793
2
6月 20
3987
2
7月 18
7528
4
7月 18
8380