Skip to content

[IMP] website_sale_require_legal: record metadata on registration and acceptance of conditions#235

Merged
pedrobaeza merged 2 commits intoOCA:9.0from
Tecnativa:9.0-imp-website_sale_require_legal_gdpr
Jun 4, 2018
Merged

[IMP] website_sale_require_legal: record metadata on registration and acceptance of conditions#235
pedrobaeza merged 2 commits intoOCA:9.0from
Tecnativa:9.0-imp-website_sale_require_legal_gdpr

Conversation

@chienandalu
Copy link
Member

Make the module GDPR compliant

cc @Tecnativa

@chienandalu chienandalu force-pushed the 9.0-imp-website_sale_require_legal_gdpr branch from 4ef8a03 to c91f026 Compare June 1, 2018 15:47
@chienandalu chienandalu changed the title [IMP] record metadata on registration and acceptance of conditions [IMP] website_sale_require_legal: record metadata on registration and acceptance of conditions Jun 1, 2018
@chienandalu
Copy link
Member Author

Can we fix the website_sale_wishlist .rst with a direct commit from here 219e1c0 for this branch?

@pedrobaeza
Copy link
Member

Done, please rebase.

@chienandalu chienandalu force-pushed the 9.0-imp-website_sale_require_legal_gdpr branch from c91f026 to 7842b22 Compare June 1, 2018 16:36
@chienandalu
Copy link
Member Author

Great, green now

@rafaelbn Can you review?

)
website_user = (request.website.salesperson_id.id or
SUPERUSER_ID)
partner_id.sudo(website_user).message_post(body=metadata)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please explain in README where to find acceptance metadata. One might think it will be in the SO instead.

if partner_id:
environ = request.httprequest.headers.environ
metadata = "Website legal terms acceptance metadata: "
metadata += "\n".join(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

captura de pantalla de 2018-06-04 10-05-30

It seems you need to use <br/> instead.

@chienandalu
Copy link
Member Author

@yajo Changes done

@yajo yajo added this to the 9.0 milestone Jun 4, 2018
@pedrobaeza pedrobaeza merged commit 6147587 into OCA:9.0 Jun 4, 2018
@pedrobaeza pedrobaeza deleted the 9.0-imp-website_sale_require_legal_gdpr branch June 4, 2018 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants