[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:
Munaf Khan
2021-05-10 10:22:40 +00:00
parent 12469ef4d3
commit c94e187cbe
2 changed files with 2 additions and 2 deletions
@@ -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) {
+1 -1
View File
@@ -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">