mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
apply ruff rule A005
This commit is contained in:
@ -39,12 +39,12 @@ from accounting.models import (
|
||||
Operation,
|
||||
SimplifiedAccountingType,
|
||||
)
|
||||
from accounting.widgets.select import (
|
||||
from accounting.widgets.ajax_select import (
|
||||
AutoCompleteSelectClubAccount,
|
||||
AutoCompleteSelectCompany,
|
||||
)
|
||||
from club.models import Club
|
||||
from club.widgets.select import AutoCompleteSelectClub
|
||||
from club.widgets.ajax_select import AutoCompleteSelectClub
|
||||
from core.auth.mixins import (
|
||||
CanCreateMixin,
|
||||
CanEditMixin,
|
||||
@ -54,7 +54,7 @@ from core.auth.mixins import (
|
||||
from core.models import User
|
||||
from core.views.forms import SelectDate, SelectFile
|
||||
from core.views.mixins import TabedViewMixin
|
||||
from core.views.widgets.select import AutoCompleteSelectUser
|
||||
from core.views.widgets.ajax_select import AutoCompleteSelectUser
|
||||
from counter.models import Counter, Product, Selling
|
||||
|
||||
# Main accounting view
|
||||
|
@ -2,7 +2,10 @@ from pydantic import TypeAdapter
|
||||
|
||||
from accounting.models import ClubAccount, Company
|
||||
from accounting.schemas import ClubAccountSchema, CompanySchema
|
||||
from core.views.widgets.select import AutoCompleteSelect, AutoCompleteSelectMultiple
|
||||
from core.views.widgets.ajax_select import (
|
||||
AutoCompleteSelect,
|
||||
AutoCompleteSelectMultiple,
|
||||
)
|
||||
|
||||
_js = ["bundled/accounting/components/ajax-select-index.ts"]
|
||||
|
Reference in New Issue
Block a user