feat: add new document and documentcategory model for auto evaluation detail

This commit is contained in:
xoliqberdiyev
2026-04-03 16:19:53 +05:00
parent 3664f8f66d
commit 12b19290d6
41 changed files with 681 additions and 26 deletions

View File

@@ -1,6 +1,7 @@
from .auto import * # noqa
from .customer import * # noqa
from .document import * # noqa
from .documentcategory import * # noqa
from .history import * # noqa
from .movable import * # noqa
from .quick import * # noqa

View File

@@ -1,8 +1,12 @@
from django.db.models.signals import post_save
from django.dispatch import receiver
from core.apps.evaluation.models import ValuationDocumentModel
from core.apps.evaluation.models import DocumentModel, ValuationDocumentModel
@receiver(post_save, sender=ValuationDocumentModel)
def ValuationdocumentSignal(sender, instance, created, **kwargs): ...
@receiver(post_save, sender=DocumentModel)
def DocumentSignal(sender, instance, created, **kwargs): ...

View File

@@ -0,0 +1,8 @@
from django.db.models.signals import post_save
from django.dispatch import receiver
from core.apps.evaluation.models import DocumentcategoryModel
@receiver(post_save, sender=DocumentcategoryModel)
def DocumentcategorySignal(sender, instance, created, **kwargs): ...