2025-06-22 13:25:54 +03:00

9 lines
262 B
Python

from django.core.management.base import BaseCommand
from inventory.models import VatRate
from decimal import Decimal
class Command(BaseCommand):
def handle(self, *args, **kwargs):
VatRate.objects.get_or_create(rate=Decimal("0.15"), is_active=True)