[tryton-debian-vcs] tryton-modules-project-revenue branch upstream-3.0 updated. upstream/3.0.1-1-g4224532
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-3.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-project-revenue.git;a=commitdiff;h=upstream/3.0.1-1-g4224532
commit 4224532ef64efac39685612653a0f9ae4720003e
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Feb 24 19:45:23 2015 +0100
Adding upstream version 3.0.2.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 905a10d..6cf4da9 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.2 - 2015-02-22
+* Bug fixes (see mercurial logs for details)
+
Version 3.0.1 - 2014-03-22
* 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 0e3cfd3..3e0bb32 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_project_revenue
-Version: 3.0.1
+Version: 3.0.2
Summary: Tryton module to add cost/revenue on project
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/tryton.cfg b/tryton.cfg
index 3544fe8..51a5d4b 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.0.1
+version=3.0.2
depends:
ir
project
diff --git a/trytond_project_revenue.egg-info/PKG-INFO b/trytond_project_revenue.egg-info/PKG-INFO
index b9160c4..2648c26 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.0.1
+Version: 3.0.2
Summary: Tryton module to add cost/revenue on project
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_project_revenue.egg-info/SOURCES.txt b/trytond_project_revenue.egg-info/SOURCES.txt
index ad0fd51..9052a03 100644
--- a/trytond_project_revenue.egg-info/SOURCES.txt
+++ b/trytond_project_revenue.egg-info/SOURCES.txt
@@ -8,9 +8,25 @@ setup.py
tryton.cfg
work.xml
./__init__.py
+./tryton.cfg
./work.py
+./work.xml
+./locale/bg_BG.po
+./locale/ca_ES.po
+./locale/cs_CZ.po
+./locale/de_DE.po
+./locale/es_AR.po
+./locale/es_CO.po
+./locale/es_ES.po
+./locale/fr_FR.po
+./locale/nl_NL.po
+./locale/ru_RU.po
+./locale/sl_SI.po
./tests/__init__.py
./tests/test_project_revenue.py
+./view/work_form.xml
+./view/work_list2.xml
+./view/work_tree.xml
locale/bg_BG.po
locale/ca_ES.po
locale/cs_CZ.po
diff --git a/work.py b/work.py
index c89dc9f..71e940d 100644
--- a/work.py
+++ b/work.py
@@ -85,6 +85,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