Skip to content

Commit

Permalink
removed barcode
Browse files Browse the repository at this point in the history
  • Loading branch information
cheminfolab committed Apr 6, 2024
1 parent cc6ba48 commit 899f00e
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 165 deletions.
Empty file removed backend/barcode_field/__init__.py
Empty file.
3 changes: 0 additions & 3 deletions backend/barcode_field/admin.py

This file was deleted.

6 changes: 0 additions & 6 deletions backend/barcode_field/apps.py

This file was deleted.

16 changes: 0 additions & 16 deletions backend/barcode_field/core.py

This file was deleted.

87 changes: 0 additions & 87 deletions backend/barcode_field/fields.py

This file was deleted.

Empty file.
3 changes: 0 additions & 3 deletions backend/barcode_field/models.py

This file was deleted.

45 changes: 0 additions & 45 deletions backend/barcode_field/tests.py

This file was deleted.

3 changes: 0 additions & 3 deletions backend/barcode_field/views.py

This file was deleted.

4 changes: 2 additions & 2 deletions backend/chemicals/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from django.core.validators import MaxValueValidator, MinValueValidator
import uuid

from barcode_field.fields import BarcodeField
# from barcode_field.fields import BarcodeField

from accounts.models import WorkingGroup, Member, Supplier
from locations.models import Storage
Expand Down Expand Up @@ -301,7 +301,7 @@ class Container(models.Model):
# is_active (False, when amount_left = 0)

supplier = models.ForeignKey(Supplier, on_delete=models.PROTECT, related_name="products")
EAN = BarcodeField(blank=True)
EAN = models.CharField(blank=True, null=True, max_length=13) # BarcodeField(blank=True)
product_number = models.CharField(blank=True, null=True, max_length=100)
# batch_number (self-made: auto-generate?)
# sku (stock-keeping unit)
Expand Down

0 comments on commit 899f00e

Please sign in to comment.