def METHOD_NAME(self):
    if self.partner_id:
        values = {
            "default_transport_condition_id": (
                self.partner_id.default_transport_condition_id
            ),
            "default_goods_appearance_id": (
                self.partner_id.default_goods_appearance_id
            ),
            "default_transport_reason_id": (
                self.partner_id.default_transport_reason_id
            ),
            "default_transport_method_id": (
                self.partner_id.default_transport_method_id
            ),
        }
    else:
        values = {
            "default_transport_condition_id": False,
            "default_goods_appearance_id": False,
            "default_transport_reason_id": False,
            "default_transport_method_id": False,
        }
    self.update(values)