[FR]Hide non-relevant fields for virtual parts

Open Beginner friendly
#13,318 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
django, python
Domain
frontend

Research direction

Find the part edit form or component that renders the Default location and minimum/maximum stock inputs, then read how it identifies virtual parts. Hide those fields for virtual parts and check the form for both virtual and non-virtual parts to confirm the fields appear only where applicable.

Written by the indexing model from the issue text.

Description

enhancement triage:not-checked
Please verify that this feature request has NOT been suggested before.
  • I checked and didn't find a similar feature request
Problem statement

The following fields are not applicable for virtual parts:

  • Default location
  • Minimum/maximum stock

I think hiding these inputs for virtual part makes sense

Suggested solution

Hide those inputs

Describe alternatives you've considered

Make them at least disabled

Examples of other systems
Do you want to develop this?
  • I want to develop this.
Dominant language
Python
Stars
7.7k
Forks
1.6k
Avg merge
21h 45m
Merged PRs (30d)
204

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from inventree/InvenTree

All issues in inventree/InvenTree

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.