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

Import Many2many with ID instead of name #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

levkar
Copy link

@levkar levkar commented May 18, 2018

Currently, many2many records are imported by their names. It is reading names of all ids and trying to import records by matching name field. Records with different id's with the same name is a huge problem.

This PR changes many2many importing directly with ID instead of name. It improves many2many import performance and eliminate matching errors.

@flotho
Copy link
Collaborator

flotho commented Jun 12, 2018

Hi,
Thanks for your PR, I really appreciate.
Could you precise a test workflow so that I would be able to test and merge if everything is Ok.
Thanks

@levkar
Copy link
Author

levkar commented Jun 13, 2018

You can use existing tests since this fix doesn't add anything new.
Thanks.

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