def METHOD_NAME(self, request):
    request_terminal = getattr(request.user, 'terminal', None)
    if not request_terminal:
        raise ValidationError('Request user has no terminal')
    self.date_synced = timezone.now()
    if self.terminal == request_terminal:
        self.save(update_fields=['date_synced'])
    else:
        self.terminal = request_terminal
        self.save(update_fields=['terminal', 'date_synced'])