-
-
Notifications
You must be signed in to change notification settings - Fork 498
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
3 changed files
with
19 additions
and
2 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Copyright 2017 Sergio Teruel <[email protected]> | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). | ||
|
||
from odoo import fields, models | ||
from odoo import _, fields, models | ||
from odoo.http import request | ||
|
||
|
||
|
@@ -11,7 +11,10 @@ class Website(models.Model): | |
website_sale_checkout_skip_message = fields.Text( | ||
string="Website Sale SKip Message", | ||
required=True, | ||
default="Our team will check your order and send you payment information soon.", | ||
translate=True, | ||
default=lambda s: _( | ||
"Our team will check your order and send you payment information soon." | ||
), | ||
) | ||
checkout_skip_payment = fields.Boolean(compute="_compute_checkout_skip_payment") | ||
|
||
|