[tryton-debian-vcs] tryton-modules-analytic-account branch debian-wheezy-2.6 updated. debian/2.6.1-1-3-g94dc879

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Jul 3 15:59:46 UTC 2014


The following commit has been merged in the debian-wheezy-2.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-analytic-account.git;a=commitdiff;h=debian/2.6.1-1-3-g94dc879

commit 94dc8797d2ff129661eba8bab632ae4e2b66cd1e
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Jul 3 14:38:21 2014 +0200

    Releasing debian version 2.6.2-1.

diff --git a/debian/changelog b/debian/changelog
index ecf7904..401b7bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-analytic-account (2.6.2-1) unstable; urgency=medium
+
+  * Merging upstream version 2.6.2.
+  * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Thu, 03 Jul 2014 14:38:20 +0200
+
 tryton-modules-analytic-account (2.6.1-1) unstable; urgency=low
 
   * Removing Daniel from Uploaders. Thanks for your work! (Closes:
commit 85a46a750705bfbc97c8498e1b33d4d077be6f8e
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Jul 3 14:38:18 2014 +0200

    Updating copyright file.

diff --git a/debian/copyright b/debian/copyright
index 5613fab..d526444 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,9 +1,9 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
 Files: *
-Copyright: 2008-2012 Cédric Krier
+Copyright: 2008-2014 Cédric Krier
            2008-2012 Bertrand Chenal
-           2008-2012 B2CK SPRL
+           2008-2014 B2CK SPRL
            2004-2008 Tiny SPRL
 License: GPL-3+
 
commit 7d17fe58146ad754429ac62ec458dab5819f3eec
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Jul 3 14:38:18 2014 +0200

    Merging upstream version 2.6.2.

diff --git a/CHANGELOG b/CHANGELOG
index 52c49ed..b3fb07a 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.6.2 - 2014-07-02
+* Bug fixes (see mercurial logs for details)
+
 Version 2.6.1 - 2013-12-04
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index ede3fac..c552c67 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2012 Cédric Krier.
+Copyright (C) 2008-2014 Cédric Krier.
 Copyright (C) 2008-2012 Bertrand Chenal.
-Copyright (C) 2008-2012 B2CK SPRL.
+Copyright (C) 2008-2014 B2CK SPRL.
 Copyright (C) 2004-2008 Tiny SPRL.
 
 This program is free software: you can redistribute it and/or modify
diff --git a/PKG-INFO b/PKG-INFO
index 921bc32..a4d5376 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_analytic_account
-Version: 2.6.1
+Version: 2.6.2
 Summary: Tryton module for analytic accounting
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/account.py b/account.py
index fbddff3..ad83d88 100644
--- a/account.py
+++ b/account.py
@@ -152,6 +152,9 @@ class Account(ModelSQL, ModelView):
         id2currency = {}
         for account_id, sum, currency_id in cursor.fetchall():
             account_sum.setdefault(account_id, Decimal('0.0'))
+            # SQLite uses float for SUM
+            if not isinstance(sum, Decimal):
+                sum = Decimal(str(sum))
             if currency_id != id2account[account_id].currency.id:
                 currency = None
                 if currency_id in id2currency:
@@ -220,6 +223,9 @@ class Account(ModelSQL, ModelView):
 
         id2currency = {}
         for account_id, sum, currency_id in cursor.fetchall():
+            # SQLite uses float for SUM
+            if not isinstance(sum, Decimal):
+                sum = Decimal(str(sum))
             if currency_id != id2account[account_id].currency.id:
                 currency = None
                 if currency_id in id2currency:
diff --git a/tryton.cfg b/tryton.cfg
index a1bd271..6637eb6 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=2.6.1
+version=2.6.2
 depends:
     account
     company
diff --git a/trytond_analytic_account.egg-info/PKG-INFO b/trytond_analytic_account.egg-info/PKG-INFO
index 3f30ce7..8a4b131 100644
--- a/trytond_analytic_account.egg-info/PKG-INFO
+++ b/trytond_analytic_account.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-analytic-account
-Version: 2.6.1
+Version: 2.6.2
 Summary: Tryton module for analytic accounting
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-analytic-account



More information about the tryton-debian-vcs mailing list