[FIX] Fixed small bug in group kanban view leading to nothing displayed
bzr revid: tde@openerp.com-20120203122933-hfedmktbv6z7818s
This commit is contained in:
@@ -67,8 +67,7 @@
|
||||
<t t-name="kanban-box">
|
||||
<div class="oe_group_vignette">
|
||||
<div class="oe_group_image">
|
||||
<!-- <a type="edit"><img t-att-src="kanban_image('hr.employee', 'photo', record.id.value)" class="oe_employee_picture"/></a> -->
|
||||
prout
|
||||
Image
|
||||
</div>
|
||||
<div class="oe_group_details">
|
||||
<h4><a type="edit"><field name="name"/></a></h4>
|
||||
@@ -78,9 +77,6 @@
|
||||
<li>Joined</li>
|
||||
</ul>
|
||||
</div>
|
||||
<script>
|
||||
$('.oe_employee_picture').load(function() { if($(this).width() > $(this).height()) { $(this).addClass('oe_employee_picture_wide') } });
|
||||
</script>
|
||||
</div>
|
||||
</t>
|
||||
</templates>
|
||||
@@ -172,7 +168,7 @@
|
||||
name="See followers"
|
||||
res_model="mail.subscription"
|
||||
src_model="mail.group"
|
||||
view_mode="tree,form"
|
||||
view_mode="kanban,tree,form"
|
||||
view_type="form"/>
|
||||
|
||||
</data>
|
||||
|
||||
@@ -60,6 +60,7 @@ class mail_notification(osv.osv):
|
||||
'message_id': fields.many2one('mail.message', string='Message',
|
||||
ondelete='cascade', required=True),
|
||||
'read': fields.boolean('Read'),
|
||||
# TODO: add a timestamp ? or use message date ?
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
|
||||
Reference in New Issue
Block a user