[FIX] project: state is not draft by default, but given by the stage
bzr revid: qdp-launchpad@openerp.com-20121018124949-97x6tc5tlvskfh3f
This commit is contained in:
@@ -777,7 +777,6 @@ class task(base_stage, osv.osv):
|
||||
_defaults = {
|
||||
'stage_id': _get_default_stage_id,
|
||||
'project_id': _get_default_project_id,
|
||||
'state': 'draft',
|
||||
'kanban_state': 'normal',
|
||||
'priority': '2',
|
||||
'progress': 0,
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
<field name="name">Budget Planning</field>
|
||||
<field name="date_deadline" eval="time.strftime('%Y-%m-24')"/>
|
||||
<field name="stage_id" ref="project_tt_negotiation"/>
|
||||
<field name="state">pending</field>
|
||||
<field name="color">4</field>
|
||||
</record>
|
||||
<record id="project_task_4" model="project.task">
|
||||
|
||||
Reference in New Issue
Block a user