[IMP] improve code

bzr revid: fka@tinyerp.com-20121204084819-ucg872vc6bxykjc0
This commit is contained in:
Foram Katharotiya (OpenERP) 2012-12-04 14:18:19 +05:30
parent aa2ca3ce0c
commit 300af6a7ea
2 changed files with 8 additions and 3 deletions

View File

@ -234,10 +234,10 @@ class project_issue(base_stage, osv.osv):
If the case needs to be reviewed then the status is \
set to \'Pending\'.'),
'kanban_state': fields.selection([('normal', 'Normal'),('blocked', 'Blocked'),('done', 'Ready for next stage')], 'Kanban State',
help="A task's kanban state indicates special situations affecting it:\n"
help="A Issue's kanban state indicates special situations affecting it:\n"
" * Normal is the default situation\n"
" * Blocked indicates something is preventing the progress of this task\n"
" * Ready for next stage indicates the task is ready to be pulled to the next stage",
" * Blocked indicates something is preventing the progress of this issue\n"
" * Ready for next stage indicates the issue is ready to be pulled to the next stage",
readonly=True, required=False),
'email_from': fields.char('Email', size=128, help="These people will receive email.", select=1),
'email_cc': fields.char('Watchers Emails', size=256, help="These email addresses will be added to the CC field of all inbound and outbound emails for this record before being sent. Separate multiple email addresses with a comma"),

View File

@ -74,6 +74,11 @@ Access all issues from the top Project menu, and access the issues of a specific
<field name="res_model">project.project</field>
<field name="default" eval="False"/>
</record>
<record id="mt_project_issue_blocked" model="mail.message.subtype">
<field name="name">Issue Blocked</field>
<field name="res_model">project.project</field>
<field name="default" eval="False"/>
</record>
<record id="mt_project_issue_closed" model="mail.message.subtype">
<field name="name">Issue Closed</field>
<field name="res_model">project.project</field>