2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-05 13:10:57 +00:00

Simple and View test units

This commit is contained in:
eeintech
2021-04-01 16:30:06 -04:00
parent 94574b37ae
commit bb69e38c1a
5 changed files with 149 additions and 3 deletions

View File

@ -31,3 +31,17 @@
name: Another customer!
description: Yet another company
is_customer: True
- model: company.company
pk: 6
fields:
name: A manufacturer
description: A company that makes parts!
is_manufacturer: True
- model: company.company
pk: 7
fields:
name: Another manufacturer
description: They build things and sell it to us
is_manufacturer: True

View File

@ -0,0 +1,22 @@
# Manufacturer Parts
- model: company.manufacturerpart
pk: 1
fields:
part: 5
manufacturer: 6
MPN: 'MPN123'
- model: company.manufacturerpart
pk: 2
fields:
part: 3
manufacturer: 7
MPN: 'MPN456'
- model: company.manufacturerpart
pk: 3
fields:
part: 5
manufacturer: 7
MPN: 'MPN789'

View File

@ -52,3 +52,20 @@
part: 2
supplier: 2
SKU: 'ZERGM312'
# Supplier parts linked to Manufacturer parts
- model: company.supplierpart
pk: 10
fields:
part: 3
manufacturer_part: 2
supplier: 2
SKU: 'MPN456-APPEL'
- model: company.supplierpart
pk: 11
fields:
part: 3
manufacturer_part: 2
supplier: 3
SKU: 'MPN456-ZERG'