-
-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[15.0][IMP] website_form_require_legal: Set link to terms and conditions #1025
[15.0][IMP] website_form_require_legal: Set link to terms and conditions #1025
Conversation
@@ -35,7 +35,6 @@ odoo.define("website_form_require_legal.form_editor", function (require) { | |||
$(template).html( | |||
qweb.render("website_form_require_legal.s_website_form_legal", { | |||
labelWidth: labelWidth, | |||
termsURL: "terms", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why removing this default value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirm that this is working with a sane default /terms
, so please restore it with that value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
Improve the template by allowing to set the URL when rendering the qweb template by setting a value for the termsURL variable by context. TT40305
a6558be
to
a914de6
Compare
/ocabot merge minor |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 0d42647. Thanks a lot for contributing to OCA. ❤️ |
Improve the template by allowing to set the URL when rendering the qweb template by setting a value for the termsURL variable by context.
cc @Tecnativa TT40305
@pedrobaeza @chienandalu please review