Fix model.

This commit is contained in:
Alexis Lahouze 2016-04-12 10:44:21 +02:00
parent 24bd0ddecc
commit 12fda9d41c

View File

@ -138,7 +138,7 @@ operation_model = api.model('Operation', {
description='Canceled status of the operation (for a scheduled one)') 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, { 'OperationWithSold', operation_model, {
'sold': fields.Float( 'sold': fields.Float(
readonly=True, readonly=True,