def METHOD_NAME(self, values):
    """Create new no_gap entry sequence for every
    new document serie"""
    sequence = {
        "name": values.get("name", _("Document Serie Sequence")),
        "implementation": "no_gap",
        "padding": 1,
        "number_increment": 1,
    }
    if "company_id" in values:
        sequence["company_id"] = values["company_id"]
    return self.env["ir.sequence"].create(sequence).id