[tryton-debian-vcs] tryton-modules-account-invoice branch upstream updated. upstream/4.0.1-1-g0fdb0f5

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Mon Aug 8 09:28:55 UTC 2016


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

commit 0fdb0f5059256ae5a75a2576a98031679fa89e8b
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Fri Aug 5 11:12:55 2016 +0200

    Adding upstream version 4.0.2.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index 00797c4..6bdc754 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.2 - 2016-08-02
+* 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 a9c12e5..c78d1c0 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_invoice
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/invoice.py b/invoice.py
index 4a8e5fb..7964224 100644
--- a/invoice.py
+++ b/invoice.py
@@ -1152,7 +1152,7 @@ class Invoice(Workflow, ModelSQL, ModelView, TaxableMixin):
             if self.type == 'out':
                 line1.debit, line1.credit = -amount, 0
             else:
-                line1.debit, line2.credit = 0, -amount
+                line1.debit, line1.credit = 0, -amount
 
         line2.debit, line2.credit = line1.credit, line1.debit
         if line2.debit:
diff --git a/tryton.cfg b/tryton.cfg
index 96db76f..b83ea63 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.1
+version=4.0.2
 depends:
     account
     account_product
diff --git a/trytond_account_invoice.egg-info/PKG-INFO b/trytond_account_invoice.egg-info/PKG-INFO
index f77cc31..0f51b5d 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.0.1
+Version: 4.0.2
 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