From 68fbc4bfa2a3cc4b3c3a60c0fdc0ca18fd974138 Mon Sep 17 00:00:00 2001 From: pilarvargas-tecnativa Date: Tue, 8 Aug 2023 17:40:47 +0200 Subject: [PATCH] [MIG] website_form_require_legal: Migration to version 16.0 TT44376 --- website_form_require_legal/README.rst | 23 ++++++---- website_form_require_legal/__manifest__.py | 7 +-- .../static/description/index.html | 46 ++++++++++--------- .../static/src/js/options.js | 7 +-- 4 files changed, 43 insertions(+), 40 deletions(-) diff --git a/website_form_require_legal/README.rst b/website_form_require_legal/README.rst index cc9a73568c..72c54b7e1b 100644 --- a/website_form_require_legal/README.rst +++ b/website_form_require_legal/README.rst @@ -2,10 +2,13 @@ Website Form Require Legal ========================== -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:d42bd92c06b48ff759e04a63fcbed82512d602526159ec8b6e86111c1e6e789e + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -14,16 +17,16 @@ Website Form Require Legal :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github - :target: https://github.com/OCA/website/tree/15.0/website_form_require_legal + :target: https://github.com/OCA/website/tree/16.0/website_form_require_legal :alt: OCA/website .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/website-15-0/website-15-0-website_form_require_legal + :target: https://translation.odoo-community.org/projects/website-16-0/website-16-0-website_form_require_legal :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/186/15.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=16.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module adds the possibility to require confirm legal terms at frontend forms. @@ -57,8 +60,8 @@ Bug Tracker Bugs are tracked on `GitHub 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 welcomed -`feedback `_. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -90,6 +93,6 @@ 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 the `OCA/website `_ project on GitHub. +This module is part of the `OCA/website `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/website_form_require_legal/__manifest__.py b/website_form_require_legal/__manifest__.py index 046fad6835..7210fbf821 100644 --- a/website_form_require_legal/__manifest__.py +++ b/website_form_require_legal/__manifest__.py @@ -3,18 +3,19 @@ { "name": "Website Form Require Legal", "summary": "Add possibility to require confirm legal terms.", - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "category": "Website", "license": "LGPL-3", "website": "https://github.com/OCA/website", "author": "Tecnativa, Odoo Community Association (OCA)", "application": False, "installable": True, - "depends": ["website"], + "depends": ["web_editor", "website"], "data": ["views/snippets.xml"], "assets": { "website.assets_wysiwyg": [ - "website_form_require_legal/static/src/js/options.js" + "website_form_require_legal/static/src/js/options.js", + "website_form_require_legal/static/src/xml/website_form_editor.xml", ], "web.assets_frontend": [ "website_form_require_legal/static/src/scss/website_form_legal.scss" diff --git a/website_form_require_legal/static/description/index.html b/website_form_require_legal/static/description/index.html index cf5f4f6f38..87db0c542e 100644 --- a/website_form_require_legal/static/description/index.html +++ b/website_form_require_legal/static/description/index.html @@ -1,20 +1,20 @@ - + - + Website Form Require Legal