[IMP]add sybtype for project issue in ready state
bzr revid: mba@tinyerp.com-20140224044547-pm0acqg1gr0hbi19
This commit is contained in:
parent
733edc4da4
commit
8139bbdd24
|
@ -56,6 +56,7 @@ class project_issue(osv.Model):
|
|||
},
|
||||
'kanban_state': {
|
||||
'project_issue.mt_issue_blocked': lambda self, cr, uid, obj, ctx=None: obj.kanban_state == 'blocked',
|
||||
'project_issue.mt_issue_done': lambda self, cr, uid, obj, ctx=None: obj.kanban_state == 'done',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -47,6 +47,12 @@ Access all issues from the top Project menu, and access the issues of a specific
|
|||
<field name="default" eval="False"/>
|
||||
<field name="description">Issue blocked</field>
|
||||
</record>
|
||||
<record id="mt_issue_done" model="mail.message.subtype">
|
||||
<field name="name">Issue Done</field>
|
||||
<field name="res_model">project.issue</field>
|
||||
<field name="default" eval="False"/>
|
||||
<field name="description">Issue Done</field>
|
||||
</record>
|
||||
<record id="mt_issue_stage" model="mail.message.subtype">
|
||||
<field name="name">Stage Changed</field>
|
||||
<field name="res_model">project.issue</field>
|
||||
|
|
Loading…
Reference in New Issue