'This method copies translations values of templates into new Accounts/Taxes/Journals for languages selected
:param langs: List of languages to load for new records
:param in_field: Name of the translatable field of source templates
:param in_ids: Recordset of ids of source object
:param out_ids: Recordset of ids of destination object
:return: True'

@api.multi
def process_translations(self, langs, in_field, in_ids, out_ids):

    xlat_obj = self.env['ir.translation']
    for lang in langs:
        value = xlat_obj._get_ids(((in_ids._name + ',') + in_field), 'model', lang, in_ids.ids)
        counter = 0
        for element in in_ids.with_context(lang=None):
            if value[element.id]:
                xlat_obj.create({'name': ((out_ids._name + ',') + in_field), 'type': 'model', 'res_id': out_ids[counter].id, 'lang': lang, 'src': element.name, 'value': value[element.id]})
            else:
                _logger.info(('Language:    %s.    Translation    from    template:    there    is    no    translation    available    for    %s!' % (lang, element.name)))
            counter += 1
    return True
