Fix compute_cost_price

issue2720
review570002
(transplanted from aea0802162b1ce5311048a35017f0d0e3cf1fc77)
This commit is contained in:
Cédric Krier committed 2012-10-19 00:11:56 +02:00
1 parent fee9848b8a
commit 98409be93f
1 file changed
+1
+1
View File
@@ -57,6 +57,7 @@ class Employee(ModelSQL, ModelView, Cacheable):
for edate, ecost in employee_costs:
if date >= edate:
cost = ecost
else:
break
return cost