[IMP] Improve button for contextual menu to set in the form view.
bzr revid: sma@tinyerp.com-20110519130623-uqztduzpzl53909n
This commit is contained in:
parent
5c41522fe0
commit
b7c4c3284a
|
@ -838,5 +838,10 @@ body.openerp {
|
|||
position: relative;
|
||||
margin-left: -26px;
|
||||
}
|
||||
/*------------- End autocomplete ------- */
|
||||
|
||||
.openerp img.m2o_open {
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/*----- End autocomplete ------- */
|
||||
|
|
|
@ -356,13 +356,16 @@
|
|||
</select>
|
||||
</t>
|
||||
<t t-name="FieldMany2One">
|
||||
<input type="text"
|
||||
t-att-name="widget.name"
|
||||
t-att-id="widget.element_id + '_field'"
|
||||
t-att-class="'field_' + widget.type"
|
||||
t-att-type="widget.type"
|
||||
style="width: 100%;"/>
|
||||
<div type='button' class='ui_combo' tabindex="'-1'" title="'Show All Items'"></div>
|
||||
<div style="padding-right: 16px;white-space: nowrap;">
|
||||
<input type="text"
|
||||
t-att-name="widget.name"
|
||||
t-att-id="widget.element_id + '_field'"
|
||||
t-att-class="'field_' + widget.type"
|
||||
t-att-type="widget.type"
|
||||
style="width: 100%;"/>
|
||||
<span type='button' t-att-class="'ui_combo'" tabindex="'-1'" title="'Show All Items'"></span>
|
||||
<img t-att-id="widget.name + '_open'" t-att-alt="'Open'" t-att-title="'Create'" t-att-src="'/base/static/src/img/iconset-d-drop.gif'" t-att-class="'m2o_open'"/>
|
||||
</div>
|
||||
</t>
|
||||
<t t-name="FieldOne2Many">
|
||||
<div t-att-id="widget.element_id">
|
||||
|
|
Loading…
Reference in New Issue