Browse Source

[FIX] website_form_builder: Fix missing required field indicators

Styling should be available for public users too.

Fixes https://github.com/OCA/website/issues/584.
pull/585/head
Jairo Llopis 8 months ago
parent
commit
5241a1f5a8
No account linked to committer's email address
2 changed files with 8 additions and 3 deletions
  1. +1
    -1
      website_form_builder/__manifest__.py
  2. +7
    -2
      website_form_builder/templates/assets.xml

+ 1
- 1
website_form_builder/__manifest__.py View File

@@ -3,7 +3,7 @@
{
"name": "Website Form Builder",
"summary": "Build customized forms in your website",
"version": "11.0.1.0.0",
"version": "11.0.1.1.0",
"category": "Website",
"website": "https://github.com/OCA/website",
"author": "Tecnativa, Odoo Community Association (OCA)",

+ 7
- 2
website_form_builder/templates/assets.xml View File

@@ -10,8 +10,6 @@
src="/website_form_builder/static/src/js/snippets.js"/>
<script type="text/javascript"
src="/website_form_builder/static/src/js/widgets.js"/>
<link rel="stylesheet"
href="/website_form_builder/static/src/css/website_form_builder.less"/>

<script type="text/javascript"
src="/web/static/src/js/core/domain.js"/>
@@ -24,4 +22,11 @@
</xpath>
</template>

<template id="assets_frontend" inherit_id="website.assets_frontend">
<xpath expr=".">
<link rel="stylesheet"
href="/website_form_builder/static/src/css/website_form_builder.less"/>
</xpath>
</template>

</odoo>

Loading…
Cancel
Save