update
This commit is contained in:
parent
1e67402f71
commit
c053ec82fa
@ -1,5 +1,6 @@
|
|||||||
|
from django.core.management.base import BaseCommand
|
||||||
from inventory.models import VatRate
|
from inventory.models import VatRate
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
class Command:
|
class Command(BaseCommand):
|
||||||
def handle(self, *args, **kwargs):
|
def handle(self, *args, **kwargs):
|
||||||
VatRate.objects.get_or_create(rate=Decimal('0.15'), is_active=True)
|
VatRate.objects.get_or_create(rate=Decimal('0.15'), is_active=True)
|
||||||
Loading…
x
Reference in New Issue
Block a user