[IMP] crm_helpdesk: Added Chatter widget; fixed a bug linked to a weird indentation (again...).

bzr revid: tde@openerp.com-20120530101131-9piqzm85n90j4o03
This commit is contained in:
Thibault Delavallée
2012-05-30 12:11:31 +02:00
parent e2d2758462
commit f812458c59
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -145,8 +145,8 @@ class crm_helpdesk(base_state, osv.osv):
# OpenChatter
# ******************************
def case_get_note_msg_prefix(self, cr, uid, id, context=None):
return 'Helpdesk'
def case_get_note_msg_prefix(self, cr, uid, id, context=None):
return 'Helpdesk'
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+4 -1
View File
@@ -37,7 +37,7 @@
<button name="case_pending" string="Pending" type="object"
states="draft,open"/>
<button name="case_reset" string="Reset to Draft" type="object"
states="cancel"/>
states="cancel,done"/>
<button name="case_escalate" string="Escalate" type="object"
states="open,draft,pending"/>
<button name="case_cancel" string="Cancel" type="object"
@@ -132,6 +132,9 @@
</page>
</notebook>
</sheet>
<div class="oe_form_bottom">
<field name="message_ids_social" colspan="4" widget="ThreadView" nolabel="1"/>
</div>
</form>
</field>
</record>