-
-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] website_sale_require_legal: document, fix and test new module s…
…cope This is what the module does now: - Add the posibility to configure legal terms acceptance requirement before saving a new partner. - Log that acceptance as a note in the partner. - Extend upstream's legal requirement before payment and log that acceptance as a note in the sale order. @Tecnativa TT25963
- Loading branch information
Jairo Llopis
committed
Jul 13, 2021
1 parent
0dd4da5
commit 6b9c2ba
Showing
14 changed files
with
223 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
To configure this module, you need to: | ||
|
||
* Set up your legal pages. | ||
#. Install it. | ||
|
||
#. Set up `your legal pages </legal>`__. | ||
|
||
#. Go to your e-commerce and make a sample checkout. | ||
|
||
#. Visit `/shop/address </shop/address>`__ and enable *Customize > Require | ||
Legal Terms Acceptance*. | ||
|
||
.. figure:: ../static/description/address-enable.png | ||
|
||
This will require acceptance before recording a new address, and log visitor's | ||
acceptance. | ||
|
||
#. Visit `/shop/payment </shop/payment>`__ and enable *Customize > Accept Terms | ||
& Conditions* (upstream Odoo feature). | ||
|
||
.. figure:: ../static/description/payment-enable.png | ||
|
||
This will require acceptance before paying the sale order, and log visitor's | ||
acceptance. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
This module was written to extend the functionality of your website shop to | ||
support forcing the user to accept your legal advice, terms of use and privacy | ||
policy, and allow you to comply with some countries' laws. | ||
This module extends your e-commerce legal compliance options: | ||
|
||
#. Require accepting legal terms before submitting a new address. | ||
#. Log a note in the partner when such terms are accepted. | ||
#. Log a note in the sale order when terms are accepted before payment | ||
(done for every online payment, it is an upstream feature). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
To install this module, you need to: | ||
|
||
* Install repository `OCA/website <https://github.com/OCA/website>`_. | ||
* Install ``website_legal_page`` from repository `OCA/website <https://github.com/OCA/website>`_. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.