505
505
'date_created': fields.date('Creation date', select=True),
506
506
'analytic_lines': fields.one2many('account.analytic.line', 'move_id', 'Analytic lines'),
507
'centralisation': fields.selection([('normal','Normal'),('credit','Credit Centralisation'),('debit','Debit Centralisation')], 'Centralisation', size=6),
507
'centralisation': fields.selection([('normal','Normal'),('credit','Credit Centralisation'),('debit','Debit Centralisation'),('currency','Currency Adjustment')], 'Centralisation', size=8),
508
508
'balance': fields.function(_balance, fnct_search=_balance_search, method=True, string='Balance'),
509
509
'state': fields.selection([('draft','Unbalanced'), ('valid','Valid')], 'State', readonly=True,
510
510
help='When new move line is created the state will be \'Draft\'.\n* When all the payments are done it will be in \'Valid\' state.'),