[tryton-debian-vcs] tryton-modules-account-statement branch upstream updated. upstream/4.0.1-1-g281d3fa

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Sep 4 16:56:14 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-statement.git;a=commitdiff;h=upstream/4.0.1-1-g281d3fa

commit 281d3fa561d5a2d92cec20fac7303b8e3b255906
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Sep 3 20:53:00 2016 +0200

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

diff --git a/CHANGELOG b/CHANGELOG
index fc2c48c..677dfb2 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.2 - 2016-09-03
+* 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 6cbfdfc..b401351 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_statement
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module with account statements
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/statement.py b/statement.py
index e3cff25..1430a88 100644
--- a/statement.py
+++ b/statement.py
@@ -545,7 +545,7 @@ class Line(ModelSQL, ModelView):
     invoice = fields.Many2One('account.invoice', 'Invoice',
         domain=[
             If(Bool(Eval('party')), [('party', '=', Eval('party'))], []),
-            If(Bool(Eval('party')), [('account', '=', Eval('account'))], []),
+            If(Bool(Eval('account')), [('account', '=', Eval('account'))], []),
             If(Eval('_parent_statement', {}).get('state') == 'draft',
                 ('state', '=', 'posted'),
                 ('state', '!=', '')),
diff --git a/tryton.cfg b/tryton.cfg
index aabb6e1..3d7f477 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.1
+version=4.0.2
 depends:
     account
     account_invoice
diff --git a/trytond_account_statement.egg-info/PKG-INFO b/trytond_account_statement.egg-info/PKG-INFO
index 9478844..3de6b31 100644
--- a/trytond_account_statement.egg-info/PKG-INFO
+++ b/trytond_account_statement.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-account-statement
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module with account statements
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-account-statement



More information about the tryton-debian-vcs mailing list