Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Passing data from Web to form in Odoo 8

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
formsrecruitmentformviewwebsite_builderapplications
4 Odpowiedzi
9956 Widoki
Awatar
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
Awatar
Odrzuć
Awatar
Anthony Mukami
Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Grf
Najlepsza odpowiedź

0
Awatar
Odrzuć
Awatar
Franz Bautista
Autor Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Mohamed Zouine
Najlepsza odpowiedź

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
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
How to imbed IFrame for an odoo website form in another website, without getting the full page?
forms iframe website_builder
Awatar
Awatar
Awatar
Awatar
3
gru 23
14441
How to set secure condition in form view of odoo Rozwiązane
forms formview form_view
Awatar
Awatar
1
paź 22
3958
How to filter initially the contents of the dropdown based on the value in another field.
database forms conditionals formview
Awatar
0
gru 24
1240
How to do custom forms in HR module
contact customize forms recruitment
Awatar
Awatar
1
cze 23
6266
How to do Custom Forms in v8 website? Rozwiązane
v8 form forms website_builder
Awatar
Awatar
Awatar
Awatar
Awatar
5
gru 23
32261
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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