mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
total read only
This commit is contained in:
parent
e2f54880f0
commit
174bba90ab
@ -517,7 +517,8 @@ class SalesOrderSerializer(ReferenceIndexingSerializerMixin, InvenTreeModelSeria
|
||||
|
||||
total_price = InvenTreeMoneySerializer(
|
||||
source='get_total_price',
|
||||
allow_null=True
|
||||
allow_null=True,
|
||||
read_only=True,
|
||||
)
|
||||
|
||||
total_price_string = serializers.CharField(source='get_total_price', read_only=True)
|
||||
|
Loading…
Reference in New Issue
Block a user