diff --git a/models/account_invoice.py b/models/account_invoice.py
index 30a727ef593b10bf361ce6778442389fa298f326..0d45032f87bca10dfbf15a04fdd35575c2ba80c7 100644
--- a/models/account_invoice.py
+++ b/models/account_invoice.py
@@ -97,49 +97,7 @@ class AccountInvoice(models.Model):
     # ------------------------------------------------------
     # Onchange / Constraints
     # ------------------------------------------------------
-    # @api.onchange("project_id")
-    # def onchange_project_id(self):
-    #     # force domain on project when timesheet is set
-    #     if self.type == "in_invoice":
-    #         if self.project_id:
-    #             formateur_ids = self.env["project.task"].search(
-    #                 [("project_id", "=", self.project_id.id)]
-    #             ).mapped("formateur_id")
-    #             res = {
-    #                 'domain': {
-    #                     'partner_id': [('id', 'in', formateur_ids.ids)],
-    #                 }
-    #             }
-    #             return res
-    #
-    # @api.onchange("partner_id")
-    # def onchange_partner_id(self):
-    #     # force domain on project when timesheet is set
-    #     if self.type == "in_invoice":
-    #         if self.partner_id:
-    #             task_ids = self.env["project.task"].search(
-    #                 [("project_id", "=", self.project_id.id),
-    #                  ("formateur_id", "=", self.partner_id)
-    #                  ]
-    #             )
-    #             res = {
-    #                 'domain': {
-    #                     'task_ids': [('id', 'in', task_ids.ids)]
-    #                 }
-    #             }
-    #             return res
-
-    #
-    # @api.multi
-    # def action_view_partner_projects(self):
-    #     self.ensure_one()
-    #     action = self.env.ref("project.open_view_project_all_config").read()[0]
-    #     action["domain"] = literal_eval(action["domain"])
-    #     porteurs_projects = self.env["res.partner.porteur.project"].search(
-    #         [("partner_id", "=", self.id)]
-    #     )
-    #     action["domain"].append(("porteurs_projets_ids", "in", porteurs_projects.ids))
-    #     return action
+
     # ------------------------------------------------------
     # CRUD methods (ORM overrides)
     # ------------------------------------------------------