[tryton-debian-vcs] tryton-modules-project-revenue branch upstream updated. upstream/3.4.0-1-gd766584

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Feb 25 00:43:11 UTC 2015


The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-project-revenue.git;a=commitdiff;h=upstream/3.4.0-1-gd766584

commit d766584f542c94ff295117799f8065afc70e5103
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Feb 24 19:42:42 2015 +0100

    Adding upstream version 3.4.1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index 2e31877..fb47bac 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.4.1 - 2015-02-22
+* Bug fixes (see mercurial logs for details)
+
 Version 3.4.0 - 2014-10-20
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 8d7bc43..0634fbe 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2008-2014 Cédric Krier.
-Copyright (C) 2008-2014 B2CK SPRL.
+Copyright (C) 2008-2015 Cédric Krier.
+Copyright (C) 2008-2015 B2CK SPRL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index 64ecad7..b90c307 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_project_revenue
-Version: 3.4.0
+Version: 3.4.1
 Summary: Tryton module to add revenue on project
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/tryton.cfg b/tryton.cfg
index c384263..81eee70 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.4.0
+version=3.4.1
 depends:
     ir
     project
diff --git a/trytond_project_revenue.egg-info/PKG-INFO b/trytond_project_revenue.egg-info/PKG-INFO
index b7935ec..3435f60 100644
--- a/trytond_project_revenue.egg-info/PKG-INFO
+++ b/trytond_project_revenue.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-project-revenue
-Version: 3.4.0
+Version: 3.4.1
 Summary: Tryton module to add revenue on project
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/work.py b/work.py
index 3d4664d..b8746a2 100644
--- a/work.py
+++ b/work.py
@@ -82,6 +82,8 @@ class Work:
                         costs[work_id] += (
                             Decimal(str(timesheet_work.hours)) * cost)
                 to_date = from_date - datetime.timedelta(1)
+        for work in works:
+            costs[work.id] = work.company.currency.round(costs[work.id])
         return costs
 
     @classmethod
-- 
tryton-modules-project-revenue



More information about the tryton-debian-vcs mailing list