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] mail migration #2659

Closed
wants to merge 4 commits into from

Conversation

RaulOForgeFlow
Copy link

Added the migration scripts for the mail module

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@RaulOForgeFlow RaulOForgeFlow changed the title 14.0 mail migration [14.0] mail migration Apr 16, 2021
@RaulOForgeFlow RaulOForgeFlow changed the title [14.0] mail migration [14.0][MIG] mail migration Apr 16, 2021
@pedrobaeza
Copy link
Member

I have removed my comment immediately because I have found that is already set:

Selección_012

Raúl should add it in local for automatically committing with pre-commit.

Copy link
Contributor

@MiquelRForgeFlow MiquelRForgeFlow left a comment

Choose a reason for hiding this comment

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

remember to squash commits :)

openupgrade.rename_models(
env.cr, [("email_template.preview", "mail.template.preview")]
)
openupgrade.set_xml_ids_noupdate_value(env, "mail", "mail_channel_rule", True)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
openupgrade.set_xml_ids_noupdate_value(env, "mail", "mail_channel_rule", True)
openupgrade.set_xml_ids_noupdate_value(env, "mail", ["mail_channel_rule"], True)

@RaulOForgeFlow
Copy link
Author

Replaced by #2660

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants