Siirry sisältöön
Odoo Menu
  • Kirjaudu sisään
  • Kokeile ilmaiseksi
  • Sovellukset
    Talous
    • Kirjanpito
    • Laskutus
    • Kulut
    • Datataulukot (BI)
    • Asiakirjat
    • Allekirjoita
    Myynti
    • CRM
    • Myynti
    • Kassajärjestelmä myymälään
    • Kassajärjestelmä ravintolaan
    • Tilaukset
    • Vuokraus
    Verkkosivut
    • Verkkosivun Rakennustyökalu
    • Verkkokauppa
    • Blogi
    • Foorumi
    • Livechat
    • Verkko-oppiminen
    Toimitusketju
    • Varastointi
    • Tuotanto
    • Tuotteen elinkaaren hallinta (PLM)
    • Ostot
    • Huolto
    • Laatu
    Henkilöstöhallinto
    • Työntekijät
    • Rekrytointi
    • Vapaat
    • Arvioinnit
    • Suositukset
    • Kuljetuskalusto
    Markkinointi
    • Somemarkkinointi
    • Sähköpostimarkkinointi
    • Tekstiviestimarkkinointi
    • Tapahtumat
    • Markkinoinnin automaatio
    • Kyselyt
    Palvelut
    • Projekti
    • Työaikakirjaukset
    • Kenttähuolto
    • Asiakaspalvelu
    • Suunnittelu
    • Ajanvaraukset
    Tuottavuus
    • Viestintä
    • Hyväksynnät
    • IoT
    • IP-puhe
    • Tietokirjasto
    • WhatsApp
    Kolmannen osapuolen sovellukset Odoo-Studio Odoo-Pilvialusta
  • Toimialat
    Vähittäiskauppa
    • Kirjakauppa
    • Vaatekauppa
    • Huonekaluliike
    • Ruokakauppa
    • Laitteistokauppa
    • Lelukauppa
    Ruoka & Majoitus
    • Baari ja Pubi
    • Ravintola
    • Pikaruoka
    • Majatalo
    • Juomien jakelija
    • Hotelli
    Kiinteistöt
    • Kiinteistönvälitystoimisto
    • Arkkitehtitoimisto
    • Rakentaminen
    • Kiinteistönhallinta
    • Puutarhanhoito
    • Kiinteistön omistajien yhdistys
    Konsultointi
    • Tilitoimisto
    • Odoo-kumppani
    • Markkinointitoimisto
    • Lakitoimisto
    • Osaajahankinta
    • Tilintarkastus & sertifiointi
    Tuotanto
    • Tekstiili
    • Metalli
    • Huonekalut
    • Ruoka
    • Panimo
    • Yrityslahjat
    Terveys & Liikunta
    • Urheiluseura
    • Silmälasiliike
    • Kuntokeskus
    • Hyvinvointialan ammattilaiset
    • Apteekki
    • Kampaamo
    Kaupat
    • Yleismies
    • IT-laitteisto & Tuki
    • Aurinkoenergiajärjestelmät
    • Suutari
    • Siivouspalvelut
    • LVI-palvelut
    Muut
    • Voittoa tavoittelematon järjestö
    • Ympäristötoimisto
    • Mainostaulujen vuokraus  
    • Valokuvaus
    • Leasing-pyörät
    • Ohjelmistojen jälleenmyyjä
    Selaa kaikkia toimialoja
  • Yhteisö
    Opi
    • Kurssit
    • Dokumentaatio
    • Todistukset
    • Koulutus
    • Blogi
    • Podcast
    Kannusta kouluttautumaan
    • Koulutusohjelmat
    • Scale Up! Liiketoimintapeli
    • Vieraile Odoolla
    Hanki ohjelmisto
    • Lataa
    • Vertaile versioita
    • Julkaisut
    Tee yhteistyötä
    • Github
    • Foorumi
    • Tapahtumat
    • Käännökset
    • Ryhdy kumppaniksi
    • Kumppanipalvelut
    • Rekisteröi tilitoimistosi
    Hanki palveluja
    • Löydä kumppani
    • Löydä kirjanpitäjä
    • Varaa asiantuntijatapaaminen
    • Implementaatiopalvelut
    • Asiakasreferenssit
    • Tuki
    • Versionkorotukset
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Varaa demo
  • Hinnoittelu
  • Asiakaspalvelu

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

  • CRM
  • e-Commerce
  • Kirjanpito
  • Varastointi
  • PoS
  • Projekti
  • MRP
All apps
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Apua

How do I create additional forms with website builder?

Tilaa

Saat ilmoituksen, kun tähän viestiin ilmaantuu aktiviteettia

Tämä kysymys on merkitty
v8webformwebsite
7 Vastaukset
32785 Näkymät
Avatar
Harold Poku

Odoo v8 website builder comes with a simple contact us form. What is the procedure to add additonal forms such as an online registration form with fields for uploading attachments?
 

4
Avatar
Hylkää
Avatar
Fabien Pinckaers (fp)
Paras vastaus

There is no form builder in version 8 yet. But you can create forms by copy/pasting the HTML code of the contact us page. Change the HTML code of the contact form and it will work.

You can even add any field in the HTML contact form and it will be integrated in your leads. (even binary fields, that will create attached documents to the lead).

3
Avatar
Hylkää
mihir shah

ok i have copy/pasted all the required field and create desired form i want to integrated it with HR employee as employee registration form .. does odoo give us that provision and save data of employee or create employee profile ????

Avatar
Brandon Bazemore
Paras vastaus

Obviously this is quite an old post, but in case anyone finds themselves here with the error above, the fix is to comment out the following line in your HTML code (pasting it with the comment tag added).  Assuming that you have this problem, you will likely not be able to access your page any longer, so the way to get to where you need to modify is to go in to settings / views and then search for your page.  It will be a qWeb view that you can simply edit and modify.  Then go back to your website view and all should be well. ;)

<!--<t t-foreach="kwargs" t-as="kwarg">

<input type="hidden" t-att-name="kwarg[0]" t-att-value="kwarg[1]"/>

</t>-->

1
Avatar
Hylkää
Laura

Thank you!! I comment this loop and it works ;D

Avatar
Tobi
Paras vastaus

Odoo website works in mvc pattern. So creating view is simply just 1/3 of your needs. You will have to also create controller and edit module for some extra behaviour. To create a well working page do this by creating a new module wit mvc content. If you wan't to just inherit some other page use xpath. Don't forget that you can also use JavaScript w/ JQuery if you wnat to add som fancy things. Everything can be found in original Odoo website, website_sale, website_crm modules.

0
Avatar
Hylkää
Avatar
Frank Adler
Paras vastaus

Hi Harold, 

I had the exact same experience as you did. Please have a look here for a step-by-step guide:

https://www.odoo.com/forum/help-1/question/custom-forms-this-is-how-to-62623

Hope this helps.

Frank

0
Avatar
Hylkää
Avatar
Harold Poku
Tekijä Paras vastaus

Thanks. I have been able to copy/paste the HTML code of the contact us page into my new "Registration" page. But in changing the HTML code of the contact form doesnt it modify the existing simple contact us page as well? That page is still needed for simple contacts.

I see the contact form is linked to the contact us page via an xpath expression:  <xpath expr="//div[@name='mail_button']" position="replace">. Doest the xpath need to be modified in anyway and should i be using the existing contact form or create and new form altogether for new registration form page?

just fyi, I tried creating a new qweb view from  Settings/Technical/Views:

View Name: Registration Form

View Type: QWeb

Inherited View: Registration

 

And getting this error:

Traceback (most recent call last):
  File "/opt/openerp/server/openerp/http.py", line 1183, in get_response
    result.flatten()
  File "/opt/openerp/server/openerp/http.py", line 1059, in flatten
    self.response.append(self.render())
  File "/opt/openerp/server/openerp/http.py", line 1056, in render
    return view_obj.render(request.cr, uid, self.template, self.qcontext, context=request.context)
  File "/opt/openerp/server/openerp/addons/website/models/ir_ui_view.py", line 160, in render
    return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)
  File "/opt/openerp/server/openerp/addons/base/ir/ir_ui_view.py", line 870, in render
    return self.pool[engine].render(cr, uid, tname, qcontext, loader=loader, context=context)
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 229, in render
    return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 273, in render_node
    result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 290, in render_element
    g_inner.append(self.render_node(current_node, qwebcontext))
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 271, in render_node
    result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 382, in render_tag_call
    d[0] = self.render_element(element, template_attributes, generated_attributes, d)
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 290, in render_element
    g_inner.append(self.render_node(current_node, qwebcontext))
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 273, in render_node
    result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 290, in render_element
    g_inner.append(self.render_node(current_node, qwebcontext))
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 273, in render_node
    result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 290, in render_element
    g_inner.append(self.render_node(current_node, qwebcontext))
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 273, in render_node
    result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 290, in render_element
    g_inner.append(self.render_node(current_node, qwebcontext))
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 273, in render_node
    result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 290, in render_element
    g_inner.append(self.render_node(current_node, qwebcontext))
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 273, in render_node
    result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 290, in render_element
    g_inner.append(self.render_node(current_node, qwebcontext))
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 271, in render_node
    result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
  File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 373, in render_tag_foreach
    raise QWebException("foreach enumerator %r is not defined while rendering template %r" % (expr, template), template=template)
QWebException: foreach enumerator 'kwargs' is not defined while rendering template u'website.Registration'

0
Avatar
Hylkää
Avatar
Nancy Nguyen
Paras vastaus

test

-1
Avatar
Hylkää
Nautitko keskustelusta? Älä vain lue, vaan osallistu!

Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!

Rekisteröidy
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
How to define a tests to simulate form submission (front-end to back-end) ? [SOLVED]]
v8 web form tests website
Avatar
0
toukok. 15
5316
How to edit sign up form for new customers on your website Ratkaistu
python xml web form website
Avatar
Avatar
2
toukok. 24
9720
website form
form website
Avatar
Avatar
Avatar
2
toukok. 25
10549
Portal Users Requesting Time Off via Website
form website
Avatar
Avatar
Avatar
Avatar
3
maalisk. 24
6272
How Can I get current URL (means browser URL)?
web website
Avatar
Avatar
Avatar
Avatar
Avatar
5
tammik. 22
12576
Yhteisö
  • Kurssit
  • Dokumentaatio
  • Foorumi
Avoin lähdekoodi
  • Lataa
  • Github
  • Runbot
  • Käännökset
Palvelut
  • Odoo.sh hosting
  • Tuki
  • Versionkorotus
  • Räätälöidyt kehitykset
  • Koulutus
  • Löydä kirjanpitäjä
  • Löydä kumppani
  • Ryhdy kumppaniksi
Meistä
  • Yrityksemme
  • Tavaramerkki
  • Ota yhteyttä
  • Työpaikat
  • Tapahtumat
  • Podcast
  • Blogi
  • Asiakkaat
  • Oikeudellinen ilmoitus • Yksityisyys
  • Tietoturva
الْعَرَبيّة 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 on kokoelma avoimen lähdekoodin yrityssovelluksia, jotka kattavat kaikki yrityksesi tarpeet: asiakkuudenhallinta eli CRM, verkkokauppa, kirjanpito, varastointi, kassajärjestelmä, projektinhallinta, jne.

Odoon uniikki arvolupaus on olla samanaikaisesti erittäin helppokäyttöinen ja täysin integroitu.

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