Package: odoo11-addon-website-form-builder
This module provides websites the feature of adding custom forms in any page.Table of contentsInstallationConfigurationUsageKnown issues / RoadmapBug TrackerCreditsAuthorsContributorsOther creditsMaintainersInstallationInstall some other addon that provideswebsite_formsupport to
benefit from this one’s features. Hints:website_crmwebsite_form_projectwebsite_hr_recruitmentwebsite_saleConfigurationTo configure this module, you need to:HaveAdministration / Settingsprivileges.Go toSettings > Activate developer mode.Go toSettings > Technical > Database Structure > Models.Search for the model you want to manage website form access for.When you find it, it will have aWebsite Formssection where you can:Allow the model to get forms, by checkingAllowed to use in forms.Give the model forms a better name inLabel for form action.Choose the field where to store custom fields data inField for custom
form data. If you leave this one empty and the model is a mail thread,
a new message will be appended with that custom data.In theFieldstab, there’s a new column calledBlacklisted in web forms.
It’s a security feature that forbids form submitters to write to those
fields. When you create a new website form, all its model fields are
automatically whitelisted for the sake of improving the UX. If you want to
have higher control, come back here after creating the form and blacklist
any fields you want, although that will only work for custom fields.UsageTo use this module, you need to:Go to any of your website pages.Edit it.Drag and drop theFormsnippet into the page.Use the snippet overlay to add, edit and remove fields.If you want to set a hidden field, make sure you set a valid default value
on it, or users may get hidden errors and they might even be unable to send
the form!Known issues / RoadmapThese type of fields will not appear, they are forbidden since they make no
sense in this module’s context, or a correct implementation would be adding
not much value while adding lots of complexity:idcreate_uidcreate_datewrite_uidwrite_date__last_updateAnyone2manyfieldsAnyreferencefieldsAnyserializedfieldsAny read-only fieldsYou should includehttps://github.com/odoo/odoo/pull/21628in your
installation to get a better UX when a user has already sent a form and
cannot resend it.To edit any<label>text, you need to click twice. Review the problem
oncehttps://bugzilla.mozilla.org/show_bug.cgi?id=853519gets fixed.You cannot edit base fields blacklisted status manually becauseOdoo forbids that for security.website_formworks in unexpected and undocumented ways. If you plan to
add support in your addon,this is a good place to start reading.If you add a custom file upload field to a form that creates records in
models that have nomail.threadinheritance, your users will be unable
to send the form.Bug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsTecnativaContributorsTecnativa:
* Jairo Llopis <jairo.llopis@tecnativa.com>Other creditsImageshttps://openclipart.org/detail/281632/formhttps://openclipart.org/detail/224192/simple-grey-small-pencil-icon-white-backgroundMaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.This module is part of theOCA/websiteproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.