This question has been flagged
1 Reply
5697 Views

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

 

 

Avatar
Discard
Best Answer

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

Avatar
Discard