forked from erp-dev/erp
feat: running on docker fully, and added rabbitmq/worker container
This commit is contained in:
@@ -12,14 +12,6 @@ class StockAdminBase(admin.ModelAdmin):
|
||||
result = list(result) + ['created_at']
|
||||
return result
|
||||
|
||||
@admin.register(models.PurchaseOrder)
|
||||
class PurchaseOrderAdmin(admin.ModelAdmin):
|
||||
list_display = ('id', 'supplier', 'order_date', 'total_amount')
|
||||
search_fields = ('supplier__name',)
|
||||
list_filter = ('order_date',)
|
||||
ordering = ('-order_date',)
|
||||
|
||||
|
||||
@admin.register(models.Inventory)
|
||||
class InventoryAdmin(StockAdminBase):
|
||||
list_display = (
|
||||
|
||||
Reference in New Issue
Block a user