-
-
Notifications
You must be signed in to change notification settings - Fork 500
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: pre-commit auto fixes
- Loading branch information
1 parent
ec4dda1
commit 65372b1
Showing
16 changed files
with
153 additions
and
146 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["whool"] | ||
build-backend = "whool.buildapi" |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
To configure this module, you need to: | ||
|
||
1. Install it. | ||
|
||
2. Set up [your legal pages](/legal). | ||
|
||
3. Go to your e-commerce and make a sample checkout. | ||
|
||
4. Visit [/shop/address](/shop/address) and enable *Customize \> | ||
Require Legal Terms Acceptance*. | ||
|
||
![](../static/description/address-enable.png) | ||
|
||
This will require acceptance before recording a new address, and log | ||
visitor's acceptance. | ||
|
||
5. Visit [/shop/payment](/shop/payment) and enable *Customize \> Accept | ||
Terms & Conditions* (upstream Odoo feature). | ||
|
||
![](../static/description/payment-enable.png) | ||
|
||
This will require acceptance before paying the sale order, and log | ||
visitor's acceptance. |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
This module adds the functionality to require the user to check the | ||
checkbox to accept the legal terms in the address form. Additionally, it | ||
provides a metadata record for both the user when legal terms are | ||
accepted through the address form and for the sales order when legal | ||
terms are accepted during the payment process. | ||
|
||
It's worth noting that this module can be useful even if the acceptance | ||
of legal terms in the address form is not activated, as it stores a | ||
metadata record when the terms and conditions are accepted during the | ||
payment process, even if a new address has not been created. |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- [Tecnativa](https://www.tecnativa.com): | ||
|
||
> - Rafael Blasco | ||
> - Jairo Llopis | ||
> - Vicent Cubells | ||
> - David Vidal | ||
> - Ernesto Tejeda | ||
> - Cristina Martin R. | ||
> - Pilar Vargas |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
This module extends your e-commerce legal compliance options: | ||
|
||
1. Require accepting legal terms before submitting a new address. | ||
2. Log a note in the partner when such terms are accepted. | ||
3. 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
- 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. | ||
- 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. |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
To use this module, you need to: | ||
|
||
- Buy something from your website. |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.