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

[13.0][MIG] mig_crm_claim: Migration to 13.0 #307

Closed
wants to merge 21 commits into from

Conversation

manuelcalerosolis
Copy link

This is the migration mig_crm_claim to 13.0 version

@Tecnativa TT22081

@rousseldenis
Copy link

@manuelcalerosolis Please fix runbot warnings

@pedrobaeza
Copy link
Member

Please squash migration commits and administrative commits

Copy link
Member

@ernestotejeda ernestotejeda left a comment

Choose a reason for hiding this comment

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

Thank you @manuelcalerosolis, Just some suggestions

You can generate README.rst using OCA/maintainer-tools

Copy link

@NL66278 NL66278 left a comment

Choose a reason for hiding this comment

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

👍 Looks good in general. One nag. And please squash commits as suggested by @pedrobaeza

@manuelcalerosolis manuelcalerosolis force-pushed the 13.0-mig-crm_claim branch 8 times, most recently from 93f2c71 to 6f711d7 Compare March 4, 2020 15:27
Copy link
Member

@Tardo Tardo left a comment

Choose a reason for hiding this comment

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

Thanks, looks good!


from psycopg2.extensions import AsIs
# pylint: disable=sql-injection
Copy link
Member

Choose a reason for hiding this comment

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

Is this necessary?

Why not to avoid psycopg2 formatters and use a report style like Odoo does: https://github.com/odoo/odoo/blob/13.0/addons/sale/report/sale_report.py#L61

Copy link
Author

Choose a reason for hiding this comment

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

@yajo and I, we were looking at several ways to solve it, he recommended that I use that directive.

Copy link
Member

Choose a reason for hiding this comment

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

Indeed much better @chienandalu, thanks for the tip.

@carlosdauden
Copy link

Merged in #316

@pedrobaeza pedrobaeza closed this Jun 21, 2020
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.