add new fields to sale item
This commit is contained in:
@@ -165,11 +165,15 @@ class InventoryQuotaSaleItem(BaseModel):
|
||||
price_type = models.CharField(max_length=150, null=True)
|
||||
delivery_type = models.CharField(max_length=150, null=True)
|
||||
paid_type = models.CharField(max_length=150, null=True)
|
||||
item_type = models.CharField(max_length=150, null=True)
|
||||
unit = models.CharField(max_length=50, null=True)
|
||||
weight = models.PositiveBigIntegerField(default=0)
|
||||
unit_price = models.PositiveBigIntegerField(default=0)
|
||||
total_price = models.PositiveBigIntegerField(default=0)
|
||||
paid_price = models.PositiveBigIntegerField(default=0)
|
||||
is_extra = models.BooleanField(default=False)
|
||||
is_pre_sale = models.BooleanField(default=False)
|
||||
additional = models.JSONField(default=dict)
|
||||
|
||||
@property
|
||||
def product(self):
|
||||
|
||||
Reference in New Issue
Block a user