1
0
forked from erp-dev/erp

feat: big version, added tasks for backup_database and stock change, added health check api, approve sse (support channel via merchant)

This commit is contained in:
2025-11-26 21:49:42 +08:00
parent 6bf0465d05
commit a9c75a13fa
26 changed files with 7158 additions and 216 deletions

View File

@@ -67,6 +67,7 @@ class StockChangeViewMixin:
"""构建明细数据"""
return {
'id': detail.id,
'stock_change_record': detail.stock_change_record_id,
'product': detail.product_id,
'product_name': detail.product.name,
'quantity': float(detail.quantity),