===== Forms ===== Forms in Odoo are very powerful. They are directly integrated with other applications and can be used for many different purposes. In this chapter, you will discover how to: - Add a form in your custom theme. - Change the action of the form. - Stylize the form thanks to Bootstrap variables. Default form ============ To add a form to your page, you can simply copy and paste the code generated by the Website Builder in your view. It should look something like the following. .. code-block:: xml
Actions ======= There is a `data-model_name` in the form tag. It enables you to define different actions for your form. Send an email (this action is used by default). .. code-block:: xml