[tryton-debian-vcs] tryton-modules-project-plan branch upstream-3.0 updated. upstream/3.0.0-1-gde79eac
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Mon May 12 16:09:36 UTC 2014
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-plan.git;a=commitdiff;h=upstream/3.0.0-1-gde79eac
commit de79eacc15c1aeae5e4683fd443666c266e6369c
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon May 12 15:52:49 2014 +0200
Adding upstream version 3.0.1.
diff --git a/CHANGELOG b/CHANGELOG
index aa80594..a9e9def 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.1 - 2014-05-07
+* Bug fixes (see mercurial logs for details)
+
Version 3.0.0 - 2013-10-21
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index fa3aaf4..8b958cc 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
Copyright (C) 2009-2013 Bertrand Chenal.
-Copyright (C) 2009-2013 Cédric Krier.
-Copyright (C) 2009-2013 B2CK SPRL.
+Copyright (C) 2009-2014 Cédric Krier.
+Copyright (C) 2009-2014 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 9da5349..360cb1f 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_project_plan
-Version: 3.0.0
+Version: 3.0.1
Summary: Tryton module to add planning capabilities on projects
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/tryton.cfg b/tryton.cfg
index 07263a1..4c5100b 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.0.0
+version=3.0.1
depends:
ir
company
diff --git a/trytond_project_plan.egg-info/PKG-INFO b/trytond_project_plan.egg-info/PKG-INFO
index 8880099..6d3dc0c 100644
--- a/trytond_project_plan.egg-info/PKG-INFO
+++ b/trytond_project_plan.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-project-plan
-Version: 3.0.0
+Version: 3.0.1
Summary: Tryton module to add planning capabilities on projects
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/work.py b/work.py
index 824ccda..f964e9a 100644
--- a/work.py
+++ b/work.py
@@ -109,11 +109,12 @@ class Work:
total_allocation = 0
if not work.allocations:
- durations[work.id] = work.effort
+ durations[work.id] = (work.effort or 0)
continue
for allocation in work.allocations:
total_allocation += allocation.percentage
- durations[work.id] = work.effort / (total_allocation / 100.0)
+ durations[work.id] = ((work.effort or 0)
+ / (total_allocation / 100.0))
while leafs:
for work_id in leafs:
--
tryton-modules-project-plan
More information about the tryton-debian-vcs
mailing list