[tryton-debian-vcs] tryton-modules-project-invoice branch debian-stretch-3.8 updated. debian/3.8.1-1-3-ga300ae8

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-stretch-3.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-project-invoice.git;a=commitdiff;h=debian/3.8.1-1-3-ga300ae8

commit a300ae8e8647b80afe6f176e474898a264e5d2e5
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Nov 8 09:43:52 2016 +0100

    Releasing debian version 3.8.2-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index 3fd5d55..6908bee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-project-invoice (3.8.2-1) unstable; urgency=medium
+
+  * Setting the branch in the watch file to the fixed version 3.8.
+  * Merging upstream version 3.8.2.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Tue, 08 Nov 2016 09:43:52 +0100
+
 tryton-modules-project-invoice (3.8.1-1) unstable; urgency=medium
 
   * Updating signing-key.asc with the actual upstream maintainer keys.
commit 5fb901f3235a72601ce89ef316fe9521c68102ce
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Nov 8 09:43:52 2016 +0100

    Merging upstream version 3.8.2.

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