[FIX]Fixed some traceback in accounting new api.

Fixed following tracebacks:
->ParseError: "dictionary update sequence element #0 has length
-> state field and type field error which is deprecated.
->balance field access before computing in financial report
->field centralisation cannot be located in parent view
->account.model_account_journal_period no matching record found
->duplicate argument date in function definition.