[tryton-debian-vcs] tryton-modules-account-statement branch upstream updated. upstream/3.0.0-1-g23ee69f
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Sun Jan 19 19:05:22 UTC 2014
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/3.0.0-1-g23ee69f
commit 23ee69f1d898f5ea0ae187a09f0aa0498811057d
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sun Jan 19 19:38:16 2014 +0100
Adding upstream version 3.0.1.
diff --git a/CHANGELOG b/CHANGELOG
index 7c2419c..0e8e662 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.1 - 2014-01-18
+* Bug fixes (see mercurial logs for details)
+
Version 3.0.0 - 2013-10-21
* Bug fixes (see mercurial logs for details)
* Allow to use invoice to fill party and account on statement line
diff --git a/PKG-INFO b/PKG-INFO
index 26083d2..627d223 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_account_statement
-Version: 3.0.0
+Version: 3.0.1
Summary: Tryton module with account statements
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/statement.py b/statement.py
index 15f2e1d..2f78359 100644
--- a/statement.py
+++ b/statement.py
@@ -180,12 +180,6 @@ class Statement(Workflow, ModelSQL, ModelView):
@classmethod
def search_rec_name(cls, name, clause):
- statements = cls.search(['OR',
- ('start_balance',) + tuple(clause[1:]),
- ('end_balance',) + tuple(clause[1:]),
- ])
- if statements:
- return [('id', 'in', [s.id for s in statements])]
return [('journal',) + tuple(clause[1:])]
def get_end_balance(self, name):
@@ -447,6 +441,10 @@ class Line(ModelSQL, ModelView):
return self.statement.rec_name
@classmethod
+ def search_rec_name(cls, name, clause):
+ return [('statement.rec_name',) + tuple(clause[1:])]
+
+ @classmethod
def copy(cls, lines, default=None):
if default is None:
default = {}
diff --git a/tryton.cfg b/tryton.cfg
index 93e3864..c2511b4 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.0.0
+version=3.0.1
depends:
account
account_invoice
diff --git a/trytond_account_statement.egg-info/PKG-INFO b/trytond_account_statement.egg-info/PKG-INFO
index 956107c..8c8acb3 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: 3.0.0
+Version: 3.0.1
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