[6.0][project] unable to use 'draft' state; while it would be really useful

Bug #653322 reported by Raphaël Valyi - http://www.akretion.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Low
OpenERP R&D Addons Team 1

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'.

Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote :
Changed in openobject-addons:
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Medium → Low
Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote :

Hello, let me insist that currently the project.project object has a "draft" state, but it's useless with the current buttons and current initial state since OpenERP create projects in "open" state by default. I think that just like other ERP entities such as orders, invoices or moves, projects are first created in "draft" mode instead and become "open" only after some confirmation.

Can we have this before too many people start creating projects in 'open' mode with the OpenERP RC's. I think the patch with the initial state in 'draft' is pretty straightforward, would that make a big difference to get the fix if I pass you an other patch?

summary: - [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
tfr (Openerp) (tfr)
Changed in openobject-addons:
milestone: 6.0 → 6.0-rc2
Revision history for this message
tfr (Openerp) (tfr) wrote :

we prefer to remain simple, we never saw a client using the draft state in previous version. Tasks show up even if the project is in draft state

Changed in openobject-addons:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.