From 68c4b1c11caa2e2a937790ed10cab2b0c256ea0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 19 Oct 2012 00:11:56 +0200 Subject: [PATCH] Fix compute_cost_price issue2720 review570002 (transplanted from aea0802162b1ce5311048a35017f0d0e3cf1fc77) --- service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/service.py b/service.py index 3836e23f70..7fcd7d8a94 100644 --- a/service.py +++ b/service.py @@ -56,6 +56,7 @@ class Employee(ModelSQL, ModelView, Cacheable): for edate, ecost in employee_costs: if date >= edate: cost = ecost + else: break return cost