From c053ec82fab9075ace6d8ef6c02b3684c099adde Mon Sep 17 00:00:00 2001 From: ismail <=> Date: Mon, 5 May 2025 15:03:04 +0300 Subject: [PATCH] update --- inventory/management/commands/set_vat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inventory/management/commands/set_vat.py b/inventory/management/commands/set_vat.py index a173e3c2..5460cc1d 100644 --- a/inventory/management/commands/set_vat.py +++ b/inventory/management/commands/set_vat.py @@ -1,5 +1,6 @@ +from django.core.management.base import BaseCommand from inventory.models import VatRate from decimal import Decimal -class Command: +class Command(BaseCommand): def handle(self, *args, **kwargs): VatRate.objects.get_or_create(rate=Decimal('0.15'), is_active=True) \ No newline at end of file