← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 674589] [NEW] Error with autocomplete in javascript

 

Public bug reported:

The field many2one conducts research, even when it is typed with the autocomplete javascript equals OFF. Each time that you start typing a search occurs, I would remove it using the completion = "0" in the field,
for application to become lighter, but does not work.
Follow the codes checked:

CODE HTML:

<span class="m2o">
<input id="pessoa_id" name="pessoa_id" class="m2o requiredfield" value="3" kind="many2one" context="{}" relation="pessoa.pessoa" domain="[]" type="hidden">
<input autocomplete="OFF" id="pessoa_id_text" class="m2o requiredfield" kind="many2one" relation="pessoa.pessoa" value="SIG SOLUÇÕES EM IINFORMÁTICA LTDA" type="text">

<input id="_hidden_pessoa_id" value="" type="hidden">
<img id="pessoa_id_select" alt="Search" title="Search" src="/openerp/static/images/fields-a-lookup-a.gif" class="m2o_select">
</span>

<img id="pessoa_id_open" alt="Open" title="Open a resource"
src="/openerp/static/images/iconset-d-drop.gif" class="m2o_open">

<div id="autoCompleteResults_pessoa_id" class="autoTextResults"></div>

CODE XML

<field name="pessoa_id" colspan="6" select="1"/>

Reviews:
openerp-server-3007
openerp-web-3867


Thanks.

** Affects: openobject-client-web
     Importance: Undecided
         Status: New

** Description changed:

  The field many2one conducts research, even when it is typed with the autocomplete javascript equals OFF. Each time that you start typing a search occurs, I would remove it using the completion = "0" in the field,
  for application to become lighter, but does not work.
  Follow the codes checked:
  
  CODE HTML:
-         
+ 
  <span class="m2o">
  <input id="pessoa_id" name="pessoa_id" class="m2o requiredfield" value="3" kind="many2one" context="{}" relation="pessoa.pessoa" domain="[]" type="hidden">
  <input autocomplete="OFF" id="pessoa_id_text" class="m2o requiredfield" kind="many2one" relation="pessoa.pessoa" value="SIG SOLUÇÕES EM IINFORMÁTICA LTDA" type="text">
  
  <input id="_hidden_pessoa_id" value="" type="hidden">
  <img id="pessoa_id_select" alt="Search" title="Search" src="/openerp/static/images/fields-a-lookup-a.gif" class="m2o_select">
  </span>
  
  <img id="pessoa_id_open" alt="Open" title="Open a resource"
  src="/openerp/static/images/iconset-d-drop.gif" class="m2o_open">
  
  <div id="autoCompleteResults_pessoa_id" class="autoTextResults"></div>
  
- 
  CODE XML
  
  <field name="pessoa_id" colspan="6" select="1"/>
  
+ Reviews:
+ openerp-server-3007
+ openerp-web-3867
+ 
+ 
+ 
  Thanks.

-- 
Error with autocomplete in javascript
https://bugs.launchpad.net/bugs/674589
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Web Client: New

Bug description:
The field many2one conducts research, even when it is typed with the autocomplete javascript equals OFF. Each time that you start typing a search occurs, I would remove it using the completion = "0" in the field,
for application to become lighter, but does not work.
Follow the codes checked:

CODE HTML:

<span class="m2o">
<input id="pessoa_id" name="pessoa_id" class="m2o requiredfield" value="3" kind="many2one" context="{}" relation="pessoa.pessoa" domain="[]" type="hidden">
<input autocomplete="OFF" id="pessoa_id_text" class="m2o requiredfield" kind="many2one" relation="pessoa.pessoa" value="SIG SOLUÇÕES EM IINFORMÁTICA LTDA" type="text">

<input id="_hidden_pessoa_id" value="" type="hidden">
<img id="pessoa_id_select" alt="Search" title="Search" src="/openerp/static/images/fields-a-lookup-a.gif" class="m2o_select">
</span>

<img id="pessoa_id_open" alt="Open" title="Open a resource" src="/openerp/static/images/iconset-d-drop.gif" class="m2o_open">

<div id="autoCompleteResults_pessoa_id" class="autoTextResults"></div>

CODE XML

<field name="pessoa_id" colspan="6" select="1"/>

Reviews:
openerp-server-3007
openerp-web-3867





Thanks.







Follow ups

References