Changes to be committed:

modified:   .env.example
	new file:   compta/__pycache__/__init__.cpython-310.pyc
	new file:   compta/__pycache__/admin.cpython-310.pyc
	new file:   compta/__pycache__/apps.cpython-310.pyc
	new file:   compta/__pycache__/models.cpython-310.pyc
	modified:   compta/admin.py
	new file:   compta/categories_indy.py
	modified:   compta/indy.py
	modified:   compta/management/commands/seed_reference.py
	new file:   compta/migrations/0010_categorie_compte_pcg.py
	modified:   compta/models.py
	modified:   compta/templates/compta/base.html
	new file:   compta/templates/compta/gestion.html
	modified:   compta/urls.py
	new file:   compta/views_gestion.py
	new file:   config/__pycache__/__init__.cpython-310.pyc
	new file:   config/__pycache__/settings.cpython-310.pyc
	modified:   config/settings.py
	modified:   entrypoint.sh
This commit is contained in:
2026-07-11 20:27:51 +02:00
parent 358cf35790
commit 0a4ba2001b
19 changed files with 743 additions and 63 deletions
+3 -3
View File
@@ -30,10 +30,10 @@ class ScopedAdmin(admin.ModelAdmin):
@admin.register(Categorie)
class CategorieAdmin(admin.ModelAdmin):
list_display = ("nom", "usage", "exclure_calculs", "actif", "ordre")
list_display = ("nom", "usage", "exclure_calculs", "compte_pcg", "actif", "ordre")
list_filter = ("usage", "exclure_calculs", "actif")
list_editable = ("usage", "exclure_calculs", "actif", "ordre")
search_fields = ("nom",)
list_editable = ("usage", "exclure_calculs", "compte_pcg", "actif", "ordre")
search_fields = ("nom", "compte_pcg")
@admin.register(Bareme)