Create contact form snippet for v9
Opened this issue · 3 comments
Description
We want to create an Addon for the odoo v9 that provides a dynamic contact form to create leads in the backend. The addon must be draggable onto the page and create the lead in the right place in the backend.
Criteria
- create odoo addon shell
- provide the following input fields
- Name
- Telephone number
- Optional: Textinput (optional: nth)
- Implement common sense validations for the inputs
- Display thank you message in modal
- Use backbone views to structure fe js code
- Connect to the right model in the backend
- create a controller, that manages the thank you message or implement async js call to render template on success
almost similar to v9 form builder? except backbone JS part.
On 14 Jan 2016 7:21 pm, "Fl0rianFischer" notifications@github.com wrote:
Description
We want to create an Addon for the odoo v9 that provides a dynamic contact
form to create leads in the backend The addon must be draggable onto the
page and create the lead in the right place in the backend
Criteria
- create odoo addon shell
- provide the following input fields ** Name ** Email ** Telephone
number ** Optional: Textinput (optional: nth)- Implement common sense validations for the inputs
- Display thank you message in modal
- Use backbone views to structure fe js code
- Connect to the right model in the backend
- create a controller, that manages the thank you message or implement
async js call to render template on success—
Reply to this email directly or view it on GitHub
#61.
I didn't consider this. Will look at it. Thanks!
The form builder is only available in enterprise. We would like to provide an addon for the community version as well.
It seems though like we can use the module website_form to do most of the work.