Skip to content

Import Many2many with ID instead of name#50

Open
levkar wants to merge 1 commit intoDeBortoliWines:masterfrom
levkar:many2many_name_to_id
Open

Import Many2many with ID instead of name#50
levkar wants to merge 1 commit intoDeBortoliWines:masterfrom
levkar:many2many_name_to_id

Conversation

@levkar
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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