[tryton-debian-vcs] tryton-modules-account branch upstream updated. upstream/4.0.4-1-gb2b68a7
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Nov 8 09:25:49 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.git;a=commitdiff;h=upstream/4.0.4-1-gb2b68a7
commit b2b68a7ff01fe57a7c481de71a18c9eb746ea136
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Nov 8 09:27:42 2016 +0100
Adding upstream version 4.0.5.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 4905d1a..0924166 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.5 - 2016-11-06
+* Bug fixes (see mercurial logs for details)
+
Version 4.0.4 - 2016-10-02
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 52b277b..cd61239 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_account
-Version: 4.0.4
+Version: 4.0.5
Summary: Tryton module for accounting
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/account.py b/account.py
index 1bfa1ea..65ab850 100644
--- a/account.py
+++ b/account.py
@@ -1129,6 +1129,9 @@ class GeneralLedgerAccount(ModelSQL, ModelView):
periods.append(period)
if periods:
period_ids = [p.id for p in periods]
+ if name.startswith('end_'):
+ # Always include ending period
+ period_ids.append(period.id)
return period_ids
@classmethod
diff --git a/tryton.cfg b/tryton.cfg
index dd8f832..57bce33 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.0.4
+version=4.0.5
depends:
company
currency
diff --git a/trytond_account.egg-info/PKG-INFO b/trytond_account.egg-info/PKG-INFO
index fd2c5a9..d34ced0 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: 4.0.4
+Version: 4.0.5
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