def METHOD_NAME(
    self, values, model=None, parent_dict=None, defaults_model=None
):
    # we disable enderEmit related creation with dry_run=True
    context = self._context.copy()
    context["dry_run"] = True
    values = super(ResCompany, self.with_context(**context)).METHOD_NAME(
        values, model, parent_dict, defaults_model
    )
    if not values.get("name"):
        values["name"] = values.get("nfe40_xFant") or values.get("nfe40_xNome")
    return values