diff options
| author | Christophe Matthieu <chm@openerp.com> | 2013-03-04 14:14:44 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2013-03-04 14:14:44 +0100 |
| commit | ddbb442bcf64602fb3130582dd2c334d2fa99e43 (patch) | |
| tree | 9b9d22ffb940a16e09cb3f36dedc1ac448c6dc9a | |
| parent | d2a53be60884654a91155203e57e35356e2021b5 (diff) | |
[IMP] crm: salesteams, display alias on kanban view
bzr revid: chm@openerp.com-20130304131444-lbegox654fyb85wx
| -rw-r--r-- | addons/crm/crm_salesteams.xml | 2 | ||||
| -rw-r--r-- | addons/crm/static/src/css/crm.css | 15 | ||||
| -rw-r--r-- | addons/crm/static/src/js/crm.js | 7 |
3 files changed, 2 insertions, 22 deletions
diff --git a/addons/crm/crm_salesteams.xml b/addons/crm/crm_salesteams.xml index 433c191e49a..9609d43ff4b 100644 --- a/addons/crm/crm_salesteams.xml +++ b/addons/crm/crm_salesteams.xml @@ -98,7 +98,7 @@ <div class="oe_kanban_content"> <h4><field name="name"/></h4> <div class="oe_kanban_crm_salesteams_alias" t-if="record.alias_id.value"> - <span class="oe_e">%%</span><input t-att-value="record.alias_id.raw_value[1]" readonly="1"/> + <span class="oe_e">%%</span><small><field name="alias_id"/></small> </div> <div class="oe_kanban_crm_salesteams_list"> <a name="%(crm_case_form_view_salesteams_lead)d" type="action" style="margin-right: 10px"> diff --git a/addons/crm/static/src/css/crm.css b/addons/crm/static/src/css/crm.css index f82341aed9d..014783c9d14 100644 --- a/addons/crm/static/src/css/crm.css +++ b/addons/crm/static/src/css/crm.css @@ -20,7 +20,7 @@ } .oe_kanban_crm_salesteams_alias { - margin: -2px 0 8px 0; + margin: -8px 0 8px 0; } .oe_kanban_crm_salesteams_alias .oe_e { @@ -33,19 +33,6 @@ float: left; } -.oe_kanban_crm_salesteams_alias input { - display: block; - margin-left: 20px; - height: 16px; - font-size: 12px; - border: 0; - padding: 0; - margin: 0; - color: #4c4c4c; - cursor: pointer; - width: 200px; -} - .oe_kanban_crm_salesteams_list a { white-space: nowrap; }
\ No newline at end of file diff --git a/addons/crm/static/src/js/crm.js b/addons/crm/static/src/js/crm.js index b0f6a428dbd..e027313d6dc 100644 --- a/addons/crm/static/src/js/crm.js +++ b/addons/crm/static/src/js/crm.js @@ -7,12 +7,5 @@ openerp.crm = function(openerp) { this._super.apply(this, arguments); } }, - start: function() { - this.$(".oe_kanban_crm_salesteams_alias").click(function (event) { - event.stopPropagation(); - $(this).find("input")[0].select(); - }) - this._super(); - }, }); }; |
