Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

error on creation of Lot/Serial in odoo 11: "TypeError: this.$input is undefined"

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
javascriptstockodoo11community
3969 Visualizzazioni
Avatar
GP

I am trying to create lot number using stock.view_production_lot_form, but after selecting a product and clicking the save button I get the error which is pasted at the bottom of this post.

If I remove the product_qty field from the form view above the error does not appear and I can save the record. (product_qty on the module stock_production_lot is a computed field, based on the quantity field of related stock.quant ... when creating a lot from scratch as opposed to via a picking there are no related quants and so product_qty should be submitted as 0.0)

Besides the database above, which I will call database A, three other databases on the same server can be used as points of comparison. When I look at the relevant tables, models and views in phppgadmin, Settings/General Settings/Technical/Models and Settings/General Settings/User Interface/Views, the databases below seem identical to me.

Database B  is a new database with only the stock module installed and with lot/serial with expiration date enabled in the inventory settings. The error does not appear on Database B.

Database C shares the configuration and customizations of A, but they were developed in parallel. I thought the two were identical. But the error does not appear on database C.

Database D is a duplicate of A with the customizations to stock.production.lot and associated views rolled back (all customizations were minor: I had made name and life_date required, renaming Lot/Serial form, menuitems and action to Lots). The error appears on database D.

Please help me identify the source of the error.

Thanks

*****

Error:
TypeError: this.$input is undefined

https://www.website.com/web/content/617-eb44ca6/web.assets_backend.js:2622
Traceback:
_compute_result@https://www.website.com/web/content/617-eb44ca6/web.assets_backend.js:2622:74
commitChanges@https://www.website.com/web/content/617-eb44ca6/web.assets_backend.js:2617:509
commitChanges/defs<@https://www.website.com/web/content/617-eb44ca6/web.assets_backend.js:1322:184
_.collect@https://www.website.com/web/content/606-6f5b62b/web.assets_common.js:13:270
commitChanges@https://www.website.com/web/content/617-eb44ca6/web.assets_backend.js:1322:123
exec/<@https://www.website.com/web/content/606-6f5b62b/web.assets_common.js:4010:295
then/</</<@https://www.website.com/web/content/606-6f5b62b/web.assets_common.js:802:678
fire@https://www.website.com/web/content/606-6f5b62b/web.assets_common.js:796:281
add@https://www.website.com/web/content/606-6f5b62b/web.assets_common.js:797:467
then/</<@https://www.website.com/web/content/606-6f5b62b/web.assets_common.js:802:631
each@https://www.website.com/web/content/606-6f5b62b/web.assets_common.js:625:758
then/<@https://www.website.com/web/content/606-6f5b62b/web.assets_common.js:802:553
Deferred@https://www.website.com/web/content/606-6f5b62b/web.assets_common.js:803:189
then@https://www.website.com/web/content/606-6f5b62b/web.assets_common.js:802:518
exec@https://www.website.com/web/content/606-6f5b62b/web.assets_common.js:4010:257
saveRecord@https://www.website.com/web/content/617-eb44ca6/web.assets_backend.js:1310:787
saveRecord@https://www.website.com/web/content/617-eb44ca6/web.assets_backend.js:1408:354
OdooClass.extend/</prototype[name]</<@https://www.website.com/web/content/606-6f5b62b/web.assets_common.js:3816:485
_onSave@https://www.website.com/web/content/617-eb44ca6/web.assets_backend.js:1416:801
dispatch@https://www.website.com/web/content/606-6f5b62b/web.assets_common.js:892:378
add/elemData.handle@https://www.website.com/web/content/606-6f5b62b/web.assets_common.js:865:151


0
Avatar
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Odoo 11 input onchange by javascript
javascript odoo11community
Avatar
0
set 18
6281
Missing dependencies web.DataModel in odoo11 Risolto
javascript odoo11community
Avatar
Avatar
1
mag 18
7792
Odoo point of sale product expiry check
javascript stock shop
Avatar
Avatar
Avatar
2
ott 25
14402
how to inherit _onCarrierUpdateAnswer() to update some info on selecting delivery carrier
javascript website_sale odoo11community
Avatar
Avatar
1
gen 19
4287
Date Time field error after installing status_bar_clock module in odoo11 CE
javascript datepicker odoo11community
Avatar
Avatar
1
gen 19
3380
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now