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

[BUG] 0.7.0 BOM Import fails to match parts by Part ID #3097

Closed
eeintech opened this issue May 30, 2022 · 3 comments
Closed

[BUG] 0.7.0 BOM Import fails to match parts by Part ID #3097

eeintech opened this issue May 30, 2022 · 3 comments
Labels
bug Identifies a bug which needs to be addressed import / export Data importing, exporting and processing part Related to Part models
Milestone

Comments

@eeintech
Copy link
Contributor

eeintech commented May 30, 2022

Describe the bug

On last step of BOM import, it fails to match parts by Part ID field:

image

Steps to Reproduce

Steps to reproduce the behavior:

  1. In Part view, click "Bill of Materials" then click tools dropdown and "Upload BOM"
  2. Select a file which contains valid reference, part ID and quantity columns
  3. Match the columns to InvenTree fields and click submit
  4. Part matching fails to automatically select corresponding InvenTree parts designated by Part IDs

Expected behavior

Part matching should be successful.

Version Information
InvenTree-Version: 0.7.0 (stable)
Django Version: 3.2.13
Commit Hash: 044315a
Commit Date: 2022-05-24
Database: postgresql
Debug-Mode: False
Deployed using Docker: False

Deployment Method: Bare Metal

@eeintech eeintech added bug Identifies a bug which needs to be addressed question This is a question and removed question This is a question labels May 30, 2022
@matmair matmair added part Related to Part models import / export Data importing, exporting and processing labels May 30, 2022
@matmair matmair added this to the 0.7.1 milestone May 30, 2022
@SchrodingersGat
Copy link
Member

Any fix here will have to include improving our unit testing around the BOM import tool

@SchrodingersGat
Copy link
Member

@eeintech can you provide a sample file (sanitized as necessary) which can reliably reproduce this issue? The import is working fine on my end.

@eeintech
Copy link
Contributor Author

You know what, it was a user issue... I mixed up Part ID and IPN 👏 😞

Import works just fine, sorry for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies a bug which needs to be addressed import / export Data importing, exporting and processing part Related to Part models
Projects
None yet
Development

No branches or pull requests

3 participants