diff --git a/models/sale_order.py b/models/sale_order.py
index ab4c9a10c527c765caa49866fe3c108e3a7eca7c..24323b35404a1ea5a542d4be44e80ca7460b7240 100644
--- a/models/sale_order.py
+++ b/models/sale_order.py
@@ -79,7 +79,7 @@ class SaleOrderLine(models.Model):
         """ Reprise de la fonction native pour changer le mode de calcul des heures planifiées dans timesheet
         """
         company_time_uom_id = self.env.user.company_id.project_time_mode_id
-        taux_horaire = self.env.user.company_id.taux_horaire
+        taux_horaire = self.order_id.taux_horaire
         if self.product_uom.id != company_time_uom_id.id \
                 and self.product_uom.category_id.id == company_time_uom_id.category_id.id:
             planned_hours = super(SaleOrderLine, self)._convert_qty_company_hours
@@ -98,7 +98,6 @@ class SaleOrderLine(models.Model):
             if stage:
                 task.stage_id = stage
                 task_name = str(client_name + " - " + stage.name)
-                print('------task_name', str(task_name))
                 task.write({'name': task_name})
             else:
                 task.write({'name': client_name})