[tryton-debian-vcs] tryton-modules-account branch upstream-3.8 updated. upstream/3.8.2-1-gc2306fe
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Sun Sep 4 16:54:59 UTC 2016
The following commit has been merged in the upstream-3.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account.git;a=commitdiff;h=upstream/3.8.2-1-gc2306fe
commit c2306fe0a21cc954a5bfa30e435cc7dbe8755710
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat Sep 3 20:51:00 2016 +0200
Adding upstream version 3.8.3.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
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