[tryton-debian-vcs] tryton-modules-account-invoice branch upstream-4.2 updated. upstream/4.2.2-1-g620ab47
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Sun Jun 11 22:35:00 UTC 2017
The following commit has been merged in the upstream-4.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-invoice.git;a=commitdiff;h=upstream/4.2.2-1-g620ab47
commit 620ab47cb673665544f9f1782f91effac0d8a82a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sun Jun 11 22:16:07 2017 +0200
Adding upstream version 4.2.3.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
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