Skip to content
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

[14.0][MIG] website_cookie_notice: merged into website #2960

Closed

Conversation

MiquelRForgeFlow
Copy link
Contributor

Adapting to of OCA/website#814 (comment).

@MiquelRForgeFlow MiquelRForgeFlow added this to the 14.0 milestone Nov 8, 2021
@MiquelRForgeFlow MiquelRForgeFlow force-pushed the 14.0-mig-website_cookie_notice branch 4 times, most recently from 335d512 to d972100 Compare November 10, 2021 10:21
@MiquelRForgeFlow
Copy link
Contributor Author

@pedrobaeza I think it's ready.

@MiquelRForgeFlow MiquelRForgeFlow force-pushed the 14.0-mig-website_cookie_notice branch from d972100 to c76e7e0 Compare November 11, 2021 13:14
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

This must depends on #2840

openupgrade.logged_query(
env.cr,
"""
WITH keys AS (
Copy link
Member

Choose a reason for hiding this comment

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

Why doing this again?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What do you mean again? here we delete all views that have as key the views of 'cookie_message' and 'cookie_message_container'

openupgrade.logged_query(
env.cr,
"""
DELETE FROM ir_model_data imd
Copy link
Member

Choose a reason for hiding this comment

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

I think deleting by ORM the view, the COW system deletes the rest.

@MiquelRForgeFlow
Copy link
Contributor Author

Continue in #2840.

@MiquelRForgeFlow MiquelRForgeFlow deleted the 14.0-mig-website_cookie_notice branch November 16, 2021 12:15
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.

2 participants