remove branch from warehouse model

This commit is contained in:
behruz-dev
2025-09-22 11:08:02 +05:00
parent 2b6e776737
commit 3589b0daf3
5 changed files with 24 additions and 23 deletions

View File

@@ -5,6 +5,5 @@ from core.apps.wherehouse.models.wherehouse import WhereHouse
@admin.register(WhereHouse)
class WhereHouseAdmin(admin.ModelAdmin):
list_display = ['id','name', 'address', 'branch']
search_fields = ['name', 'address']
list_filter = ['branch']
list_display = ['id','name', 'address',]
search_fields = ['name', 'address']