fix - pos sharing on agc bug fixed influently

This commit is contained in:
2025-12-22 09:42:22 +03:30
parent 4096dbbd6e
commit 65a826ab7f
8 changed files with 115 additions and 65 deletions

View File

@@ -1,6 +1,7 @@
from django.db import models
from apps.authentication import models as auth_models
from apps.authentication.models import Organization
from apps.core.models import BaseModel
@@ -82,6 +83,13 @@ class Herd(BaseModel):
class Rancher(BaseModel):
organization = models.ForeignKey(
Organization,
on_delete=models.CASCADE,
related_name='ranchers',
null=True,
help_text="connect ranchers to their specific Taavoni" # noqa
)
ranching_farm = models.CharField(max_length=150, null=True)
union_name = models.CharField(max_length=50, null=True, blank=True)
union_code = models.CharField(max_length=50, null=True, blank=True)