[FIX]Used type field instead of journal_id for fix traceback on on change company_id