def METHOD_NAME(self, fieldName, args = [], sendToId = None):
    if self.cr:
        dg = self.dclass.clientFormatUpdate(
            fieldName, sendToId or self.doId, args)
        self.cr.send(dg)
    else:
        self.notify.warning("sendUpdate failed, because self.cr is not set")