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

Add some test fixtures for Company app

This commit is contained in:
Oliver Walters
2019-05-21 13:33:05 +10:00
parent e9f681e736
commit 357bfdae3f
3 changed files with 63 additions and 4 deletions

View File

@ -0,0 +1,14 @@
# Sample company data
- model: company.company
fields:
name: ACME
description: A Cool Military Enterprise
- model: company.company
fields:
name: Appel Computers
description: Think more differenter
- model: company.company
fields:
name: Zerg Corp
description: We eat the competition

View File

@ -0,0 +1,24 @@
# Supplier Parts
# M2x4 LPHS from ACME
- model: company.supplierpart
pk: 1
fields:
part: 1
supplier: 1
SKU: 'ACME0001'
- model: company.supplierpart
pk: 2
fields:
part: 1
supplier: 1
SKU: 'ACME0002'
# M2x4 LPHS from Zerg Corp
- model: company.supplierpart
pk: 3
fields:
part: 1
supplier: 3
SKU: 'ZERGLPHS'