[IMP] crm: salesteams, display alias on kanban view
bzr revid: chm@openerp.com-20130304131444-lbegox654fyb85wx
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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();
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user