Search 1.9 billion lines of Odoo code on GitHub

website_sale_require_legal

Author: Tecnativa, Odoo Community Association (OCA)
License: AGPL-3
Branch: 15.0
Repository: Change2improve/e-commerce
Dependencies: website_legal_page, and website_sale
Languages: HTML (398, 49.1%), JavaScript (67, 8.3%), PO File (87, 10.7%), Python (121, 14.9%), Sass (3, 0.4%), XML (28, 3.5%), and reStructuredText (107, 13.2%)
Other branches: 10.0, 11.0, 12.0, 12.0-ocabot-merge-pr-360-by-pedrobaeza-bump-nobump, 13.0, 14.0, 8.0, and 9.0
Other repositories: 111sree/e-commerce, AITIC/e-commerce, AbrahamTrey/e-commerce, Antiun/e-commerce, BillTheBest/e-commerce, CB-Gran-Canaria/e-commerce, Callino/e-commerce, ClearCorp/oca-e-commerce, Cloudxtreme/e-commerce, Comunitea/e-commerce, Dobtor-OCA/e-commerce, Dreamsting/e-commerce, ERPLibre/e-commerce, Endika/e-commerce, ForgeFlow/e-commerce, Fultrom/e-commerce, GabbasovDinar/e-commerce, Gabinete-Digital/e-commerce, Gofekra/e-commerce, Ingeos/e-commerce, JayVora-SerpentCS/e-commerce, JuanjoA/e-commerce, KolushovAlexandr/e-commerce, LL-Akeera/e-commerce, LasLabs/e-commerce, LeaMartinek/e-commerce, LevelPrime/e-commerce, MadsackMediaStore/e-commerce, MariajMesa/e-commerce, MathBenTech/e-commerce, Mefistous/e-commerce, MindAndGo/e-commerce, NaSol/e-commerce, NeatNerdPrime/e-commerce, NextERP-Romania/e-commerce, Nitrokey/odoo-e-commerce, Numigi/e-commerce, OCA-MUK/e-commerce, OCA/e-commerce, ORETEK/e-commerce, OpenPymeMx/e-commerce, RosleStores/e-commerce, SanteLibre/e-commerce, SequarSrl/e-commerce, SetRac/e-commerce, SeuMarco/e-commerce, SimoRubi/e-commerce, Spearhead-Odoo/e-commerce, SportPursuit/e-commerce, Strusovsky/e-commerce, TDu/e-commerce, TRESCLOUD/e-commerce, Tecnativa/e-commerce, TimotheeBa/e-commerce, VasiliyKorobatov/e-commerce, Vauxoo/e-commerce, VbossEkat/e-commerce, VisiionSolucionesTecnologicas/e-commerce, YannisPV/e-commerce, aacceess75/e-commerce, aaltinisik/e-commerce, acsone/e-commerce, adhoc-dev/e-commerce, agrista/odoo-e-commerce, akretion/e-commerce, akretion/website, aldola/e-commerce, alfa2267/e-commerce, andhit-r/e-commerce, anhvu-sg/e-commerce, antilhue/e-commerce, apachesep/e-commerce, apetbiz/e-commerce, archetipo/e-commerce, ateneolab/e-commerce, augustosamame/e-commerce, aurestic/e-commerce, bacgroup/e-commerce, billrich126/e-commerce, bodi000/e-commerce, brain-tec/e-commerce, bvkl/e-commerce, camptocamp/e-commerce, celm1990/e-commerce, coopiteasy/e-commerce, cor9003/e-commerce, daramousk/e-commerce, dcorio/e-commerce, deepika-bhojani-flectra/e-commerce, diagramsoftware/e-commerce, diggy128/e-commerce, digitalliuzg/e-commerce, dkrimmer84/e-commerce, durvilchat/e-commerce, dvitme/e-commerce, eLBati/e-commerce, eezee-it/e-commerce, elvirekemajou/e-commerce, ernestotejeda/e-commerce, exosoftware/oca-e-commerce, ezdoo/e-commerce, fagboreolatunji/e-commerce, fallewi/e-commerce, fanguloa/e-commerce, fcayre/e-commerce, flotho/e-commerce, francoisdelarbre/e-commerce, garzadekoster/e-commerce, george-taotaome/e-commerce, gfcapalbo/e-commerce, grap/e-commerce, grindtildeath/e-commerce, guggenbergerl/e-commerce, gurneyalex/e-commerce, haroldtamo/e-commerce, hbrunn/e-commerce, hurrinico/e-commerce, iRichGit/e-commerce, iledarn/e-commerce, isoscl/e-commerce, it-projects-llc/e-commerce, itblabla/e-commerce, itmyit/e-commerce, jctrey/e-commerce, jeffery9/odoo-saas-tools, jetrosantos26/e-commerce, jromeroarg/e-commerce, killvis/e-commerce, larmar/e-commerce, lepistone/e-commerce, lfreeke/e-commerce, lideritjnma/e-commerce, lodeblomme/e-commerce, mFlayyan/e-commerce, maitaoriana/e-commerce, mamcode/e-commerce, mcgrimm/e-commerce, mettadipa/e-commerce, mikevhe18/e-commerce, minhhq09/e-commerce, molandtoxx/e-commerce, moltisinc/e-commerce, mongramosjr/e-commerce, monksoftware/e-commerce, myceliandre/e-commerce, nadiaafa/e-commerce, nanxiaomo/e-commerce, necrodevz/e-commerce, nhomar/e-commerce, njeudy/e-commerce, noorealam96/e-commerce, nucleoosystem/e-commerce, nuobit/e-commerce, odoobgorg/OCA-e-commerce, odoosoft/e-commerce, onurugur/e-commerce, open-synergy/e-commerce, oscarolar/e-commerce, ovnicraft/e-commerce, oxidos/e-commerce, pscloud/e-commerce, quadit/e-commerce, reinka/e-commerce, rjpathan/e-commerce, rohitramnani1994/e-commerce, rossasa/e-commerce, rruebner/e-commerce, rsullivan2704/e-commerce, saas-addons/e-commerce, saigonsofttech/e-commerce, samsagaz/e-commerce, sanube/e-commerce, sendalpegat/e-commerce, shivaniamrutiya/e-commerce, simahawk/e-commerce, skmezanul/e-commerce, smellems/e-commerce, sodexis/e-commerce, soongxueyong/e-commerce, southasia/e-commerce, steingabelgaard/e-commerce, support-atharva/e-commerce, suryaprakashreddyk/e-commerce, susport/e-commerce, sylvainvh/e-commerce, tafaRU/e-commerce, tanza9/e-commerce, tarteo/e-commerce, thinkopensolutions/oca-e-commerce, tjuola/e-commerce, valmarnet/e-commerce, vdedyukhin/e-commerce, versada/e-commerce, veryberry/e-commerce, wahello/e-commerce, wtaferner/e-commerce, x0rzkov/odoo-e-commerce-automation, xichun/e-commerce, xuanox/e-commerce, yelizariev/e-commerce, ygenofficial/e-commerce, yogesh-serpentcs/e-commerce, yunkuaiji/e-commerce, yusniermatos/e-commerce, zeroheure/e-commerce, zhaohuaw/e-commerce, and ziranyidu/e-commerce

<h1 class="title">Require accepting legal terms to checkout</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/e-commerce/tree/15.0/website_sale_require_legal"><img alt="OCA/e-commerce" src="https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/e-commerce-15-0/e-commerce-15-0-website_sale_require_legal"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/113/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module extends your e-commerce legal compliance options:</p> <ol class="arabic simple"> <li>Require accepting legal terms before submitting a new address.</li> <li>Log a note in the partner when such terms are accepted.</li> <li>Log a note in the sale order when terms are accepted before payment (done for every online payment, it is an upstream feature).</li> </ol> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li> <li><a class="reference internal" href="#usage" id="id2">Usage</a></li> <li><a class="reference internal" href="#known-issues-roadmap" id="id3">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#bug-tracker" id="id4">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id5">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id6">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id7">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id8">Maintainers</a></li> </ul> </li> </ul> </div> <a name="configuration"></a> <h2><a class="toc-backref" href="#id1">Configuration</a></h2> <p>To configure this module, you need to:</p> <ol class="arabic"> <li><p class="first">Install it.</p> </li> <li><p class="first">Set up <a class="reference external" href="/legal">your legal pages</a>.</p> </li> <li><p class="first">Go to your e-commerce and make a sample checkout.</p> </li> <li><p class="first">Visit <a class="reference external" href="/shop/address">/shop/address</a> and enable <em>Customize &gt; Require Legal Terms Acceptance</em>.</p> <div class="figure"> <img alt="https://raw.githubusercontent.com/OCA/e-commerce/15.0/website_sale_require_legal/static/description/address-enable.png" src="https://raw.githubusercontent.com/OCA/e-commerce/15.0/website_sale_require_legal/static/description/address-enable.png" /> </div> <p>This will require acceptance before recording a new address, and log visitor's acceptance.</p> </li> <li><p class="first">Visit <a class="reference external" href="/shop/payment">/shop/payment</a> and enable <em>Customize &gt; Accept Terms &amp; Conditions</em> (upstream Odoo feature).</p> <div class="figure"> <img alt="https://raw.githubusercontent.com/OCA/e-commerce/15.0/website_sale_require_legal/static/description/payment-enable.png" src="https://raw.githubusercontent.com/OCA/e-commerce/15.0/website_sale_require_legal/static/description/payment-enable.png" /> </div> <p>This will require acceptance before paying the sale order, and log visitor's acceptance.</p> </li> </ol> <a name="usage"></a> <h2><a class="toc-backref" href="#id2">Usage</a></h2> <p>To use this module, you need to:</p> <ul class="simple"> <li>Buy something from your website.</li> </ul> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id3">Known issues / Roadmap</a></h2> <ul class="simple"> <li>Shopping terms and conditions are accepted only on user registration or address edition. So if those terms change after the user signed up, a notification should be made. An implicit acceptance could be printed in the payment screen to solve this. Maybe that could be a work to develop in another module.</li> <li>If you enable both acceptance views as explained in the configuration section, first-time buyers will have to accept the legal terms between 2 and 3 times to buy.</li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id4">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/e-commerce/issues">GitHub Issues</a>. 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 <a class="reference external" href="https://github.com/OCA/e-commerce/issues/new?body=module:%20website_sale_require_legal%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id5">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id6">Authors</a></h3> <ul class="simple"> <li>Tecnativa</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id7">Contributors</a></h3> <ul> <li><p class="first"><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:</p> <blockquote> <ul class="simple"> <li>Rafael Blasco</li> <li>Jairo Llopis</li> <li>Vicent Cubells</li> <li>David Vidal</li> <li>Ernesto Tejeda</li> <li>Cristina Martin R.</li> <li>Pilar Vargas</li> </ul> </blockquote> </li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id8">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>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.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/e-commerce/tree/15.0/website_sale_require_legal">OCA/e-commerce</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>