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

@@ -10,3 +10,14 @@ class ValuationdocumentPermission(permissions.BasePermission):
def has_permission(self, request, view):
return True
class DocumentPermission(permissions.BasePermission):
def __init__(self) -> None: ...
def __call__(self, *args, **kwargs):
return self
def has_permission(self, request, view):
return True

View File

@@ -0,0 +1,12 @@
from rest_framework import permissions
class DocumentcategoryPermission(permissions.BasePermission):
def __init__(self) -> None: ...
def __call__(self, *args, **kwargs):
return self
def has_permission(self, request, view):
return True