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

Passing data from Web to form in Odoo 8

Iscriviti

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

La domanda è stata contrassegnata
formsrecruitmentformviewwebsite_builderapplications
4 Risposte
9936 Visualizzazioni
Avatar
Franz Bautista

Hello everyone! Need help on the web builder in Odoo 8. I have been trying to create a web form in recruitment to allow applicants to provide information that interviewers need. I saw that you can use and customize the "contact_us" form. But this feeds the data to the Leads, I need data to end up in recruitment-->applications. Checking html code for "contact_us" and "jobs_form", they seem similar:

"Jobs"

<form class="form-horizontal mt32" action="/jobs/thankyou" method="post" enctype="multipart/form-data">
                            <input type="hidden" t-att-value="job and job.department_id.id or False" name="department_id"/>
                            <input type="hidden" t-att-value="job and job.id or False" name="job_id"/>
                            <div t-attf-class="form-group #{error.get('partner_name') and 'has-error' or ''}">
                                <label class="col-md-3 col-sm-4 control-label" for="partner_name">Your Name</label>
                                <div class="col-md-7 col-sm-8">
                                    <input type="text" t-att-value="default.get('partner_name')" class="form-control" name="partner_name" required="True"/>
                                </div>
                            </div>
                            <div t-attf-class="form-group #{error.get('email_from') and 'has-error' or ''}">
                                <label class="col-md-3 col-sm-4 control-label" for="email_from">Your Email</label>
                                <div class="col-md-7 col-sm-8">
                                    <input type="email" t-att-value="default.get('email_from')" class="form-control" name="email_from" required="True"/>
                                </div>
                            </div>
                            <div t-attf-class="form-group #{error.get('phone') and 'has-error' or ''}">
                                <label class="col-md-3 col-sm-4 control-label" for="phone">Your Phone</label>
                                <div class="col-md-7 col-sm-8">
                                    <input type="text" t-att-value="default.get('phone')" class="form-control" name="phone" required="True"/>
                                </div>
                            </div>
                            <div t-attf-class="form-group">
                                <label class="col-md-3 col-sm-4 control-label" for="partner_mobile">Mobile</label>
                                <div class="col-md-7 col-sm-8">
                                    <input type="text" t-att-value="default.get('partner_mobile')" class="form-control" name="partner_mobile"/>
                                </div>
                            </div>
                            <div t-attf-class="form-group">
                                <label class="col-md-3 col-sm-4 control-label" for="gender">Gender</label>
                                <div class="col-md-7 col-sm-8">
                                    <input type="text" class="form-control" name="gender"/>
                                </div>
                             </div>

"contact_us"

<form action="/crm/contactus" method="post" class="form-horizontal mt32" enctype="multipart/form-data">

            <div t-attf-class="form-group #{error and 'contact_name' in error and 'has-error' or ''}">
                <label class="col-md-3 col-sm-4 control-label" for="contact_name">Your Name</label>
                <div class="col-md-7 col-sm-8">
                    <input type="text" class="form-control" name="contact_name" required="True" t-attf-value="#{contact_name or ''}"/>
                </div>
            </div>
            <div t-attf-class="form-group #{error and 'phone' in error and 'has-error' or ''}">
                <label class="col-md-3 col-sm-4 control-label" for="phone">Phone Number</label>
                <div class="col-md-7 col-sm-8">
                    <input type="text" class="form-control" name="phone" t-attf-value="#{phone or ''}"/>
                </div>
            </div>
            <div name="email_from_container" t-attf-class="form-group #{error and 'email_from' in error and 'has-error' or ''}">
                <label class="col-md-3 col-sm-4 control-label" for="email_from">Email</label>
                <div class="col-md-7 col-sm-8">
                    <input type="email" class="form-control" name="email_from" required="True" t-attf-value="#{email_from or ''}"/>
                </div>
            </div>
            <div t-attf-class="form-group #{error and 'name' in error and 'has-error' or ''}">
                <label class="col-md-3 col-sm-4 control-label" for="name">Subject</label>
                <div class="col-md-7 col-sm-8">
                    <input type="text" class="form-control" name="name" t-attf-value="#{name or ''}"/>
                </div>
            </div>
            <div t-attf-class="form-group #{error and 'description' in error and 'has-error' or ''}">
                <label class="col-md-3 col-sm-4 control-label" for="description">Your Question</label>
                <div class="col-md-7 col-sm-8">
                    <textarea class="form-control" name="description" style="min-height: 120px" required="True"><t t-esc="description or ''"/></textarea>
                </div>
            </div>

I tried copy and paste the same code per field and added the field on the odoo form but still the data filled up on the web does not update to the odoo form. I essentially need to input more data from the web than what is current. Appreciate your help on this. Am still learning about odoo and have tons of questions. Tks Just to give you an idea, the default web forms above only provide about 4 fields for users to fill up, I need to add and "pass" about 14 or more fields form the webform to the odoo form.




0
Avatar
Abbandona
Avatar
Anthony Mukami
Risposta migliore

Hey Franz Bautista i dont know whether you solved this? hope this gets u in time... so you just open recruitment in backend, go ahead and create a new job position and specify further details. whaen youre done save and then you'll see a button linking to website frontend. Click on it and you'll be redirected to the website's recruitment page with a default form which dyou can customize according to your needs. On submit this form will submit data to recruitments>applications. 

Hope this helps  :)

0
Avatar
Abbandona
Avatar
Grf
Risposta migliore

0
Avatar
Abbandona
Avatar
Franz Bautista
Autore Risposta migliore

Mohamed,

I was able to do this by studying about controllers. I was able to pass data from a webform to  the recruitment module under hr.applicant.

 

You have to apply the controlllers in your module. Check out the web_hr_recruitment module you installed and copy that to your module.

0
Avatar
Abbandona
Avatar
Mohamed Zouine
Risposta migliore

Hi Franz, did you manage to solve the problem ? I have the same issue with passing data from the job application form to the hr.applicant model, my customised fields dont show up in the new hr.applicant record, odoo's do.

Please help

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à
How to imbed IFrame for an odoo website form in another website, without getting the full page?
forms iframe website_builder
Avatar
Avatar
Avatar
Avatar
3
dic 23
14397
How to set secure condition in form view of odoo Risolto
forms formview form_view
Avatar
Avatar
1
ott 22
3956
How to filter initially the contents of the dropdown based on the value in another field.
database forms conditionals formview
Avatar
0
dic 24
1237
How to do custom forms in HR module
contact customize forms recruitment
Avatar
Avatar
1
giu 23
6250
How to do Custom Forms in v8 website? Risolto
v8 form forms website_builder
Avatar
Avatar
Avatar
Avatar
Avatar
5
dic 23
32249
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