From 20934e9a84f2a652369ca3b839726f02ff3ea423 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 ff6197cf81..47a57d54d7 100644 --- a/service.py +++ b/service.py @@ -61,6 +61,7 @@ class Employee(ModelSQL, ModelView, Cacheable): for edate, ecost in employee_costs: if date >= edate: cost = ecost + else: break return cost