fix - pos device agencies on new system with quota stat
This commit is contained in:
@@ -7,7 +7,7 @@ from django.db import models
|
||||
from apps.authentication.models import Organization, City, Province
|
||||
from apps.authorization.models import UserRelations
|
||||
from apps.core.models import BaseModel
|
||||
from apps.product.models import Product, Broker, QuotaBrokerValue, QuotaDistribution
|
||||
from apps.product.models import Product, Broker, QuotaBrokerValue, QuotaDistribution, OrganizationQuotaStats
|
||||
|
||||
|
||||
class ProviderCompany(BaseModel):
|
||||
@@ -292,6 +292,12 @@ class StakeHolderShareAmount(BaseModel):
|
||||
related_name='holders_share_amount',
|
||||
null=True
|
||||
)
|
||||
org_quota_stat = models.ForeignKey(
|
||||
OrganizationQuotaStats,
|
||||
on_delete=models.CASCADE,
|
||||
related_name='holders_share_amount',
|
||||
null=True
|
||||
)
|
||||
stakeholders = models.ForeignKey(
|
||||
StakeHolders,
|
||||
on_delete=models.CASCADE,
|
||||
|
||||
Reference in New Issue
Block a user