[tryton-debian-vcs] tryton-modules-account branch debian-stretch-3.8 updated. debian/3.8.2-1-2-gef4dfb0

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Sep 4 16:54:31 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-account.git;a=commitdiff;h=debian/3.8.2-1-2-gef4dfb0

commit ef4dfb02d33b7cfbc8c41e7d2336b1f4324b4549
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Sep 3 20:51:01 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 4db0178..53f58da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-account (3.8.3-1) unstable; urgency=medium
+
+  * Merging upstream version 3.8.3.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Sat, 03 Sep 2016 20:51:01 +0200
+
 tryton-modules-account (3.8.2-1) unstable; urgency=medium
 
   * Updating signing-key.asc with the actual upstream maintainer keys.
commit 00cefdbf2baa664a25730c6f338d25fe0dfad7f4
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Sep 3 20:51:01 2016 +0200

    Merging upstream version 3.8.3.

diff --git a/CHANGELOG b/CHANGELOG
index 9a1e856..5d3c125 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.3 - 2016-09-03
+* Bug fixes (see mercurial logs for details)
+
 Version 3.8.2 - 2016-07-05
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 26400a0..90e4484 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account
-Version: 3.8.2
+Version: 3.8.3
 Summary: Tryton module for accounting
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/move.py b/move.py
index f87b980..8b54793 100644
--- a/move.py
+++ b/move.py
@@ -391,6 +391,8 @@ class Move(ModelSQL, ModelView):
         for line in cancel_move.lines:
             line.debit *= -1
             line.credit *= -1
+            if line.second_currency:
+                line.amount_second_currency *= -1
             for tax_line in line.tax_lines:
                 tax_line.amount *= -1
             line.tax_lines = line.tax_lines  # Force tax_lines changing
diff --git a/party.py b/party.py
index c96ffee..c76aac2 100644
--- a/party.py
+++ b/party.py
@@ -90,8 +90,6 @@ class Party:
             return result
         company_id = user.company.id
 
-        line_query, _ = MoveLine.query_get(line)
-
         amount = Sum(Coalesce(line.debit, 0) - Coalesce(line.credit, 0))
         for name in names:
             code = name
@@ -110,7 +108,6 @@ class Party:
                             & (account.kind == code)
                             & (line.reconciliation == Null)
                             & (account.company == company_id)
-                            & line_query
                             & party_where
                             & today_where
                             & (account.kind == code)),
diff --git a/tryton.cfg b/tryton.cfg
index 7120b88..d28f5ef 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.8.2
+version=3.8.3
 depends:
     company
     currency
diff --git a/trytond_account.egg-info/PKG-INFO b/trytond_account.egg-info/PKG-INFO
index d9a6f6c..dda879c 100644
--- a/trytond_account.egg-info/PKG-INFO
+++ b/trytond_account.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-account
-Version: 3.8.2
+Version: 3.8.3
 Summary: Tryton module for accounting
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-account



More information about the tryton-debian-vcs mailing list