[tryton-debian-vcs] tryton-modules-project-invoice branch debian updated. debian/4.0.1-1-3-g98d9803
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Nov 8 09:31:23 UTC 2016
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-project-invoice.git;a=commitdiff;h=debian/4.0.1-1-3-g98d9803
commit 98d9803aabf36bf40cd405028dd119193164c556
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Nov 8 09:42:44 2016 +0100
Releasing debian version 4.0.2-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index fe0ab40..e348fd8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-project-invoice (4.0.2-1) unstable; urgency=medium
+
+ * Updating to Standards-Version: 3.9.8, no changes needed.
+ * Merging upstream version 4.0.2.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Tue, 08 Nov 2016 09:42:44 +0100
+
tryton-modules-project-invoice (4.0.1-1) unstable; urgency=medium
* Merging upstream version 4.0.0.
commit cbccedc8c0b64c979cf196644fd28768e09c6c6e
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Nov 8 09:42:43 2016 +0100
Merging upstream version 4.0.2.
diff --git a/CHANGELOG b/CHANGELOG
index 8b2187e..50dc293 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.2 - 2016-11-06
+* Bug fixes (see mercurial logs for details)
+
Version 4.0.1 - 2016-05-11
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 8003244..81d3312 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_project_invoice
-Version: 4.0.1
+Version: 4.0.2
Summary: Tryton module to invoice projects
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/tryton.cfg b/tryton.cfg
index fb70f6d..0382cd5 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.0.1
+version=4.0.2
depends:
ir
project
diff --git a/trytond_project_invoice.egg-info/PKG-INFO b/trytond_project_invoice.egg-info/PKG-INFO
index 1c4bde7..08d3bf1 100644
--- a/trytond_project_invoice.egg-info/PKG-INFO
+++ b/trytond_project_invoice.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-project-invoice
-Version: 4.0.1
+Version: 4.0.2
Summary: Tryton module to invoice projects
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/work.py b/work.py
index 6fb5765..74855a3 100644
--- a/work.py
+++ b/work.py
@@ -490,7 +490,9 @@ class Work:
invoiced_progress = sum(x.effort_hours for x in self.invoiced_progress)
quantity = self.effort_hours * self.progress - invoiced_progress
- quantity = Uom.compute_qty(hour, quantity, self.product.default_uom)
+ if self.product:
+ quantity = Uom.compute_qty(
+ hour, quantity, self.product.default_uom)
if quantity > 0:
if not self.product:
self.raise_user_error('missing_product', (self.rec_name,))
--
tryton-modules-project-invoice
More information about the tryton-debian-vcs
mailing list