Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

213
Visualizações
Onchange function in odoo 14

I have been trying to use an on-change for a character field. Odoo triggers on-change function when the cursor is changed. I need it to trigger when enter button is pressed. The goal is to use it with a barcode scanner.

I also tried it with a many2one and many2many but with the barcode scanner the enter gets pressed so quickly that it doesn't give time for the many2one to load. For example by default the many2one will show suggestion, first one will be record 1. If i scan the barcode of record 2. Many2one won't get time to load the one which is scanned. so in the on-change function we will be getting record 1 itself.

Is there any way to trigger an on-change with enter key for a char field in odoo?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda