Fix balances_model name.

This commit is contained in:
Alexis Lahouze 2017-05-25 21:51:34 +02:00
parent a664c661ed
commit 5d498adf32

View File

@ -30,16 +30,16 @@ account_model = ns.model('Account', {
}) })
# Account status model. # Account status model.
solds_model = ns.model('Solds', { balances_model = ns.model('Account balances', {
'current': fields.Float( 'current': fields.Float(
readonly=True, readonly=True,
description='Current sold of the account'), description='Current balance of the account'),
'pointed': fields.Float( 'pointed': fields.Float(
readonly=True, readonly=True,
description='Pointed sold of the account'), description='Pointed balance of the account'),
'future': fields.Float( 'future': fields.Float(
readonly=True, readonly=True,
description='Future sold of the account') description='Future balance of the account')
}) })
# Account balance model. # Account balance model.