Fix compute_cost_price
issue2720 review570002 (transplanted from aea0802162b1ce5311048a35017f0d0e3cf1fc77)
This commit is contained in:
1 parent
fee9848b8a
commit
98409be93f
1 file changed
+1
@@ -57,6 +57,7 @@ class Employee(ModelSQL, ModelView, Cacheable):
|
||||
for edate, ecost in employee_costs:
|
||||
if date >= edate:
|
||||
cost = ecost
|
||||
else:
|
||||
break
|
||||
return cost
|
||||
|
||||
|
||||
Reference in new issue
Block a user