Skip to content

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

Closed

Description

@eeintech

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

Activity

  1. added
    bug
    question
    and removed
    question
    on May 30, 2022
  2. added
    part
    import / export
    on May 30, 2022
  3. added this to the 0.7.1 milestone on May 30, 2022
  4. SchrodingersGat commented on May 30, 2022

    @SchrodingersGat
    Member

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

  5. SchrodingersGat commented on May 31, 2022

    @SchrodingersGat
    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.

  6. eeintech commented on May 31, 2022

    @eeintech
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugimport / exportpart

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions