[FIX]Fixed some traceback and error in accounting new api.

Hello,
i have fixed some tracebacks and removed code,type,parent_id field columns from l10n_*, csv files.
Thanks.