Fix model inheritance.

This commit is contained in:
Alexis Lahouze 2016-05-24 08:42:01 +02:00
parent 1187730b85
commit 000fa7fcd2
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ operation_model = api.model('Operation', {
description='Canceled status of the operation (for a scheduled one)')
})
operation_with_sold_model = api.inherit(
operation_with_sold_model = api.clone(
'OperationWithSold', operation_model, {
'sold': fields.Float(
readonly=True,