first setup of pos transaction - add provider, user, organization information of pos to login

This commit is contained in:
2025-08-26 15:24:46 +03:30
parent c0b6b8ddca
commit 65c831d6a8
7 changed files with 54 additions and 6 deletions

View File

@@ -10,14 +10,14 @@ class BaseModel(models.Model):
created_by = models.ForeignKey(
settings.AUTH_USER_MODEL,
on_delete=models.CASCADE,
related_name="%(class)s_createddby",
related_name="%(class)s_createddby", # noqa
null=True,
blank=True,
)
modified_by = models.ForeignKey(
settings.AUTH_USER_MODEL,
on_delete=models.CASCADE,
related_name="%(class)s_modifiedby",
related_name="%(class)s_modifiedby", # noqa
null=True,
blank=True,
)