add purchace limitations system for rancher - add incentive plans to rancher entries data

This commit is contained in:
2025-08-26 12:18:10 +03:30
parent b5dfcebafe
commit c0b6b8ddca
12 changed files with 142 additions and 14 deletions

View File

@@ -127,6 +127,9 @@ class Rancher(BaseModel):
null=True
)
without_herd = models.BooleanField(default=False)
ignore_purchase_limit = models.BooleanField(
default=False, help_text="if its true rancher has not buy limitations"
)
def __str__(self):
return f'rancher: {self.first_name} {self.last_name}'