diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-02-12 18:23:06 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-02-12 18:23:06 +0100 |
| commit | edb00749acdc7cbadeaf81de00d6bbf71ea5e2b0 (patch) | |
| tree | 9198ce1621098c31d6ccb02f9c0d283f6803f8f3 | |
| parent | 799256bcee4b539bc9ee8c0328963277dc3803b2 (diff) | |
added kanban for users
bzr revid: nicolas.vanhoren@openerp.com-20130212172306-6cmeph8gk4z13sdg
| -rw-r--r-- | addons/live_support/live_support_view.xml | 17 | ||||
| -rw-r--r-- | addons/live_support/security/ir.model.access.csv | 1 |
2 files changed, 17 insertions, 1 deletions
diff --git a/addons/live_support/live_support_view.xml b/addons/live_support/live_support_view.xml index 55b46232a40..a9fb12e3fa0 100644 --- a/addons/live_support/live_support_view.xml +++ b/addons/live_support/live_support_view.xml @@ -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"/> diff --git a/addons/live_support/security/ir.model.access.csv b/addons/live_support/security/ir.model.access.csv index 8b4833bbf5a..3b846cb3461 100644 --- a/addons/live_support/security/ir.model.access.csv +++ b/addons/live_support/security/ir.model.access.csv @@ -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
\ No newline at end of file |
