Website mailing list archives

website@odoo-community.org

Avatar

Re: Creating forms on odoo website

by
Moduon Team, S. L., Rafael Blasco (Moduon)
- 26/09/2019 16:50:27
Hello Remy,

Here you are


Regards
Rafael


El mar., 24 sept. 2019 10:46, Rémy Taymans <remy@coopiteasy.be> escribió:
Dear community,

I used to create forms on the website part of odoo. These forms act like
odoo wizard but with a public access (or a portail access). This means
that there is an accessible page like /new/action that leads to a
form that user can fill in and submit. This form manages errors, checks
data entered by the user and then creates various odoo objects. Like any
wizard can do, but with a website user interface instead of a backend
interface.

There is a lot in common to all form. For example checking emails, dates,
VAT numbers, etc. Showing to the user proper errors when wrong data is
entered. Also rendering the form fields are always similar (all data
fields look the same, all emails fields, etc.).

In Django, there is a Form object that we can describe and then using it
to render a form, filling default values and perform validations before
processing it.

Is there a module bringing similar functionality in odoo or some other
way to facilitate form management ?

I'm aware of the website_form module, but it seams that it does not let
you customize the way forms are processed.

Thanks for your attention and replies,


--
Rémy Taymans @ Coop IT Easy
+32 493 02 69 85 - 

_______________________________________________
Mailing-List: https://odoo-community.org/groups/website-36
Post to: mailto:website@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference