2023-01-04 16:09:24 +01:00
|
|
|
diff --git a/tryton/modules/project_invoice/work.py b/tryton/trytond/trytond/modules/project_invoice/work.py
|
2021-03-05 14:36:36 +01:00
|
|
|
index fcc41a2..3577e1f 100644
|
2023-01-04 16:09:24 +01:00
|
|
|
--- a/tryton/modules/project_invoice/work.py
|
|
|
|
+++ b/tryton/modules/project_invoice/work.py
|
2021-03-05 14:36:36 +01:00
|
|
|
@@ -515,9 +515,6 @@ class Work(metaclass=PoolMeta):
|
|
|
|
|
|
|
|
invoiced_progress = sum(x.effort_hours for x in self.invoiced_progress)
|
|
|
|
quantity = self.effort_hours * self.progress - invoiced_progress
|
|
|
|
- if self.product:
|
|
|
|
- quantity = Uom.compute_qty(
|
|
|
|
- hour, quantity, self.product.default_uom)
|
|
|
|
if quantity > 0:
|
|
|
|
if not self.product:
|
|
|
|
raise InvoicingError(
|