def METHOD_NAME(self):
    for record in self:
        if record.move_ids and record.issuer == DOCUMENT_ISSUER_PARTNER:
            move_id = record.move_ids[0]
            if move_id.date:
                user_tz = timezone(self.env.user.tz or "UTC")
                doc_date = datetime.combine(move_id.date, time.min)
                record.date_in_out = (
                    user_tz.localize(doc_date).astimezone(UTC).replace(tzinfo=None)
                )