forked from erp-dev/erp
feat: all the business models supported human_id now but it wont change statements api. Added new field 'order_quantity' into sales_order model (integer, allow null).
This commit is contained in:
@@ -53,7 +53,7 @@ class SalesOrderSerializer(serializers.ModelSerializer):
|
||||
'id', 'human_id', 'customer', 'customer_name', 'sales_date', 'kind',
|
||||
'total_amount', 'diff_quantity', 'total_quantity',
|
||||
'operator', 'operator_name', 'warehouse', 'warehouse_name',
|
||||
'status', 'remarks', 'created_at', 'updated_at', 'items',
|
||||
'status', 'order_quantity', 'remarks', 'created_at', 'updated_at', 'items',
|
||||
'quantity_of_rolls',
|
||||
]
|
||||
read_only_fields = ['id', 'created_at', 'updated_at', 'items', 'customer_name', 'operator_name', 'warehouse_name']
|
||||
|
||||
Reference in New Issue
Block a user