def METHOD_NAME(self):
    vals = {
        "model": self.consumer_record._name,
        "res_id": self.consumer_record.id,
    }
    exchange_record = self.backend.create_record("test_csv_output", vals)
    self.consumer_record._edi_set_origin(exchange_record)
    self.assertEqual(
        self.consumer_record.origin_exchange_record_id, exchange_record
    )
    self.assertEqual(self.consumer_record._edi_get_origin(), exchange_record)