[tryton-debian-vcs] tryton-modules-account-invoice branch debian-stretch-4.2 updated. debian/4.2.2-1-3-g39801d2

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Jun 11 22:34:58 UTC 2017


The following commit has been merged in the debian-stretch-4.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-invoice.git;a=commitdiff;h=debian/4.2.2-1-3-g39801d2

commit 39801d228fb79763f8b477be0379d5a38ee6bc0c
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Jun 11 22:16:08 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 4b3c037..cfd5c6c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-account-invoice (4.2.3-1) unstable; urgency=medium
+
+  * Setting the branch in the watch file to the fixed version 4.2.
+  * Merging upstream version 4.2.3.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Sun, 11 Jun 2017 22:16:08 +0200
+
 tryton-modules-account-invoice (4.2.2-1) unstable; urgency=medium
 
   * Add the actual upstream maintainer key to signing-key.asc.
commit 40a1808f46b271412b02a7e697be3186faa7dcb0
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Jun 11 22:16:08 2017 +0200

    Merging upstream version 4.2.3.

diff --git a/CHANGELOG b/CHANGELOG
index 3bf5a00..70f6d97 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.2.3 - 2017-06-06
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.2 - 2017-03-10
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 3ce5c1f..802aa66 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_invoice
-Version: 4.2.2
+Version: 4.2.3
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/invoice.py b/invoice.py
index eacdfe1..03b3250 100644
--- a/invoice.py
+++ b/invoice.py
@@ -2018,7 +2018,10 @@ class InvoiceLine(sequence_ordered(), ModelSQL, ModelView, TaxableMixin):
         '''
         line = self.__class__()
         line.origin = self
-        line.quantity = -self.quantity
+        if self.quantity:
+            line.quantity = -self.quantity
+        else:
+            line.quantity = self.quantity
 
         for field in ('sequence', 'type', 'invoice_type', 'unit_price',
                 'description', 'unit', 'product', 'account'):
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/tryton.cfg b/tryton.cfg
index af479b9..b1d079d 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.2
+version=4.2.3
 depends:
     account
     account_product
diff --git a/trytond_account_invoice.egg-info/PKG-INFO b/trytond_account_invoice.egg-info/PKG-INFO
index 5d5b882..d6d3a05 100644
--- a/trytond_account_invoice.egg-info/PKG-INFO
+++ b/trytond_account_invoice.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-account-invoice
-Version: 4.2.2
+Version: 4.2.3
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-account-invoice



More information about the tryton-debian-vcs mailing list