changes
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 5.1.7 on 2026-01-14 03:21
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app', '0354_group_rights'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='group_rights',
|
||||
name='is_edit',
|
||||
field=models.BooleanField(default=False, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='product',
|
||||
name='price_excluding_vat',
|
||||
field=models.DecimalField(decimal_places=2, max_digits=15, null=True),
|
||||
),
|
||||
]
|
||||
@@ -804,6 +804,7 @@ class Product(AutoCodeModel):
|
||||
policy = models.ForeignKey(Sale_Policy, null=True, related_name='+', on_delete=models.PROTECT)
|
||||
note = models.TextField(null=True)
|
||||
origin_price = models.DecimalField(max_digits=15, decimal_places=2, null=True)
|
||||
price_excluding_vat = models.DecimalField(max_digits=15, decimal_places=2, null=True)
|
||||
product_type = models.CharField(max_length=255, null=True)
|
||||
template_name = models.CharField(max_length=255, null=True)
|
||||
link = models.UUIDField(default=uuid.uuid4, editable=False, unique=True, null=True)
|
||||
@@ -1117,6 +1118,7 @@ class Dealer_Rights(models.Model):
|
||||
class Group_Rights(models.Model):
|
||||
setting = models.ForeignKey(Biz_Setting, null=False, related_name='+', on_delete=models.PROTECT)
|
||||
group = models.ForeignKey(User_Type, null=False, related_name='+', on_delete=models.PROTECT)
|
||||
is_edit = models.BooleanField(null=True, default=False)
|
||||
create_time = models.DateTimeField(null=True, auto_now_add=True)
|
||||
|
||||
class Meta:
|
||||
|
||||
Reference in New Issue
Block a user