c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #02529
[Bug 653322] Re: [6.0][project] unable to use 'draft' state; while it would be really useful
** Summary changed:
- [6.0][project] no way to re-open a project in 'draft' state
+ [6.0][project] unable to use 'draft' state; while it would be really useful
--
[6.0][project] unable to use 'draft' state; while it would be really useful
https://bugs.launchpad.net/bugs/653322
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: In Progress
Bug description:
Hello,
on last trunk addons revisions, with demo data and project module. Try to open a new project. With the buttons, there is no way to reach the 'draft' state.
Still, in some custom module we like the 'draft' state as being the first state of a project (instead of open), for us, draft explicits that the project is still in planning phase, so for instance you can't order it or something like that.
So in our custom module, we use _default in project.project to set the default state to 'draft'.
But then there is no button to pass the project to the 'open' state. I believe this is a bug.
Here is attached a patch that fixed the draft to open transition. To be able to reach the draft state, I let you find a solution. I suggest you set draft as the initial default state instead of 'open'.