[FIX] BASE: Dependance order to extend employee model

This commit is contained in:
Horilla
2024-07-04 10:33:51 +05:30
parent b17761c5f8
commit b7c3559173
7 changed files with 14 additions and 9 deletions

View File

@@ -4,6 +4,7 @@ of form fields and widgets for the corresponding models in the payroll managemen
"""
import datetime
import logging
import uuid
from typing import Any
@@ -17,7 +18,6 @@ from base.methods import reload_queryset
from employee.filters import EmployeeFilter
from employee.models import BonusPoint, Employee
from horilla import horilla_middlewares
from horilla.decorators import logger
from horilla_widgets.forms import HorillaForm
from horilla_widgets.widgets.horilla_multi_select_field import HorillaMultiSelectField
from horilla_widgets.widgets.select_widgets import HorillaMultiSelectWidget
@@ -36,6 +36,8 @@ from payroll.models.models import (
)
from payroll.widgets import component_widgets as widget
logger = logging.getLogger(__name__)
class AllowanceForm(forms.ModelForm):
"""