{ "info": { "author": "Tecnativa, Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Programming Language :: Python" ], "description": "====================\nWebsite Form Builder\n====================\n\n.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! This file is generated by oca-gen-addon-readme !!\n !! changes will be overwritten. !!\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n :target: https://odoo-community.org/page/development-status\n :alt: Beta\n.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png\n :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html\n :alt: License: LGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github\n :target: https://github.com/OCA/website/tree/12.0/website_form_builder\n :alt: OCA/website\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n :target: https://translation.odoo-community.org/projects/website-12-0/website-12-0-website_form_builder\n :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png\n :target: https://runbot.odoo-community.org/runbot/186/12.0\n :alt: Try me on Runbot\n\n|badge1| |badge2| |badge3| |badge4| |badge5| \n\nThis module provides websites the feature of adding custom forms in any page.\n\n**Table of contents**\n\n.. contents::\n :local:\n\nInstallation\n============\n\nInstall some other addon that provides ``website_form`` support to\nbenefit from this one's features. Hints:\n\n* ``website_crm``\n* ``website_form_project``\n* ``website_hr_recruitment``\n* ``website_sale``\n\nConfiguration\n=============\n\nTo configure this module, you need to:\n\n#. Have *Administration / Settings* privileges.\n#. Go to *Settings > Activate developer mode*.\n#. Go to *Settings > Technical > Database Structure > Models*.\n#. Search for the model you want to manage website form access for.\n#. When you find it, it will have a *Website Forms* section where you can:\n\n * Allow the model to get forms, by checking *Allowed to use in forms*.\n * Give the model forms a better name in *Label for form action*.\n * Choose the field where to store custom fields data in *Field for custom\n form data*. If you leave this one empty and the model is a mail thread,\n a new message will be appended with that custom data.\n\n#. In the *Fields* tab, there's a new column called *Blacklisted in web forms*.\n It's a security feature that forbids form submitters to write to those\n fields. When you create a new website form, all its model fields are\n automatically whitelisted for the sake of improving the UX. If you want to\n have higher control, come back here after creating the form and blacklist\n any fields you want, although that will only work for custom fields.\n\nUsage\n=====\n\nTo use this module, you need to:\n\n#. Go to any of your website pages.\n#. Edit it.\n#. Drag and drop the *Form* snippet into the page.\n#. Use the snippet overlay to add, edit and remove fields.\n#. If you want to set a hidden field, make sure you set a valid default value\n on it, or users may get hidden errors and they might even be unable to send\n the form!\n\nKnown issues / Roadmap\n======================\n\n* These type of fields will not appear, they are forbidden since they make no\n sense in this module's context, or a correct implementation would be adding\n not much value while adding lots of complexity:\n\n * ``id``\n * ``create_uid``\n * ``create_date``\n * ``write_uid``\n * ``write_date``\n * ``__last_update``\n * Any ``one2many`` fields\n * Any ``reference`` fields\n * Any ``serialized`` fields\n * Any read-only fields\n\n* You should include https://github.com/odoo/odoo/pull/21628 in your\n installation to get a better UX when a user has already sent a form and\n cannot resend it.\n\n* To edit any ``