Remove brand from equipment name

This commit is contained in:
Keannu Bernasol 2024-01-14 20:13:19 +08:00
parent e8524e1d45
commit 4a26f6ae3e

View file

@ -80,7 +80,7 @@ def create_superuser(sender, **kwargs):
# Get equipment information # Get equipment information
category = filename.split('-')[0] category = filename.split('-')[0]
name = row[2] + ' ' + row[1] name = row[1]
# If quantity is missing, set value as 0 # If quantity is missing, set value as 0
if (row[3] == ''): if (row[3] == ''):
available = 0 available = 0