[tryton-debian-vcs] tryton-modules-project-invoice branch upstream-3.8 updated. upstream/3.8.1-1-ga2f5eb1
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Nov 8 09:31:25 UTC 2016
The following commit has been merged in the upstream-3.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-project-invoice.git;a=commitdiff;h=upstream/3.8.1-1-ga2f5eb1
commit a2f5eb199ec76bc8bd82c609e9949c0e404cc675
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Nov 8 09:43:51 2016 +0100
Adding upstream version 3.8.2.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index b8c3049..294ea7e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.2 - 2016-11-06
+* Bug fixes (see mercurial logs for details)
+
Version 3.8.1 - 2016-03-14
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index fb81651..a287dec 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_project_invoice
-Version: 3.8.1
+Version: 3.8.2
Summary: Tryton module to invoice projects
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/tryton.cfg b/tryton.cfg
index 4350e12..4c5b9fd 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.8.1
+version=3.8.2
depends:
ir
project
diff --git a/trytond_project_invoice.egg-info/PKG-INFO b/trytond_project_invoice.egg-info/PKG-INFO
index 57e8e8b..99ba7b7 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: 3.8.1
+Version: 3.8.2
Summary: Tryton module to invoice projects
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_project_invoice.egg-info/requires.txt b/trytond_project_invoice.egg-info/requires.txt
index 3ef8868..f664595 100644
--- a/trytond_project_invoice.egg-info/requires.txt
+++ b/trytond_project_invoice.egg-info/requires.txt
@@ -5,4 +5,4 @@ trytond_timesheet >= 3.8, < 3.9
trytond_account >= 3.8, < 3.9
trytond_account_invoice >= 3.8, < 3.9
trytond_product >= 3.8, < 3.9
-trytond >= 3.8, < 3.9
\ No newline at end of file
+trytond >= 3.8, < 3.9
diff --git a/work.py b/work.py
index cf8b05f..1760ffd 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