first move for product statistics
This commit is contained in:
@@ -114,7 +114,8 @@ class Product(BaseModel):
|
||||
).aggregate(total_entry=models.Sum('warehouse_entry'))['total_entry'] or 0
|
||||
|
||||
data = {
|
||||
'product': self.id,
|
||||
'product_id': self.id,
|
||||
'product_name': self.name,
|
||||
'quotas_count': quotas_count,
|
||||
'total_quotas_weight': total_quotas_weight,
|
||||
'total_remaining_quotas_weight': total_remaining_quotas_weight,
|
||||
|
||||
Reference in New Issue
Block a user