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:
14
InvenTree/company/fixtures/company.yaml
Normal file
14
InvenTree/company/fixtures/company.yaml
Normal 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
|
24
InvenTree/company/fixtures/supplier_part.yaml
Normal file
24
InvenTree/company/fixtures/supplier_part.yaml
Normal 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'
|
Reference in New Issue
Block a user