[IMP]partner_autocomplete: company name field length
Currently, in the res.company form view, name field is extremely short.and in mobile view name field is hidden by other element because of placeholder is too long. after this commit the length of name field is should be as long as the res.partner one and change the placeholder (e.g. My Company) instead of (e.g. My Awesome Company) for idle mobile look. closes odoo/odoo#70241 Taskid: 2520268 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
@@ -46,7 +46,7 @@ var FieldAutocomplete = FieldChar.extend(AutocompleteMixin, {
|
||||
|
||||
if (this.mode === 'edit') {
|
||||
this.tagName = 'div';
|
||||
this.className += ' dropdown open';
|
||||
this.className += ' dropdown open w-100';
|
||||
}
|
||||
|
||||
if (this.debounceSuggestions > 0) {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="oe_title">
|
||||
<label for="name"/>
|
||||
<h1>
|
||||
<field name="name" placeholder="e.g. My Awesome Company"/>
|
||||
<field name="name" placeholder="e.g. My Company"/>
|
||||
</h1>
|
||||
</div>
|
||||
<notebook colspan="4">
|
||||
|
||||
Reference in New Issue
Block a user