Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6531 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
giu 23
3473
1
nov 22
3766
2
giu 20
3972
2
lug 18
7506
4
lug 18
8352