Implement non-destructive order updates

This commit is contained in:
fnux 2020-05-08 10:07:44 +02:00
commit d47c94ba84
3 changed files with 30 additions and 1 deletions

View file

@ -71,7 +71,7 @@ class OrderSerializer(serializers.ModelSerializer):
class Meta:
model = Order
fields = ['uuid', 'owner', 'description', 'creation_date', 'starting_date', 'ending_date',
'bill', 'recurring_period', 'recurring_price', 'one_time_price']
'bill', 'recurring_period', 'recurring_price', 'one_time_price', 'replaced_by']
###