From 12fda9d41c9267c88d6f6511443a9313f407e390 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Tue, 12 Apr 2016 10:44:21 +0200 Subject: [PATCH] Fix model. --- accountant/api/views/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accountant/api/views/models.py b/accountant/api/views/models.py index 661e81d..7df9f51 100644 --- a/accountant/api/views/models.py +++ b/accountant/api/views/models.py @@ -138,7 +138,7 @@ operation_model = api.model('Operation', { description='Canceled status of the operation (for a scheduled one)') }) -operation_with_sold_model = api.extend( +operation_with_sold_model = api.inherit( 'OperationWithSold', operation_model, { 'sold': fields.Float( readonly=True,