added kanban for users

bzr revid: nicolas.vanhoren@openerp.com-20130212172306-6cmeph8gk4z13sdg
This commit is contained in:
niv-openerp 2013-02-12 18:23:06 +01:00
parent 799256bcee
commit edb00749ac
2 changed files with 17 additions and 1 deletions

View File

@ -59,7 +59,22 @@
</div>
<field name="are_you_inside" invisible="1"/>
<label for="user_ids" colspan="2"/>
<field name="user_ids" readonly="1" nolabel="1" colspan="2"/>
<field name="user_ids" readonly="1" nolabel="1" colspan="2" widget="many2many_kanban">
<kanban>
<field name="name"/>
<templates>
<t t-name="kanban-box">
<div>
<div class="oe_group_details" style="min-height: 40px">
<img t-att-src="kanban_image('im.user', 'image', record.id.value)"
class="oe_avatar oe_kanban_avatar_smallbox" style="float:left; margin-right: 10px;"/>
<h4><field name="name"/></h4>
</div>
</div>
</t>
</templates>
</kanban>
</field>
<label for="script" colspan="2"/>
<field name="script" readonly="1" nolabel="1" colspan="2"/>
<label for="button_text" colspan="2"/>

View File

@ -1,5 +1,6 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_ls_chann1,live_support.channel,model_live_support_channel,,1,0,0,0
access_ls_chann2,live_support.channel,model_live_support_channel,group_live_support,1,1,1,0
access_ls_chann3,live_support.channel,model_live_support_channel,group_live_support_manager,1,1,1,1
access_ls_message,live_support.im.message,web_im.model_im_message,portal.group_anonymous,0,0,0,0
access_im_user,live_support.im.user,web_im.model_im_user,portal.group_anonymous,1,0,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_ls_chann1 live_support.channel model_live_support_channel 1 0 0 0
3 access_ls_chann2 live_support.channel model_live_support_channel group_live_support 1 1 1 0
4 access_ls_chann3 live_support.channel model_live_support_channel group_live_support_manager 1 1 1 1
5 access_ls_message live_support.im.message web_im.model_im_message portal.group_anonymous 0 0 0 0
6 access_im_user live_support.im.user web_im.model_im_user portal.group_anonymous 1 0 0 0