[tryton-debian-vcs] tryton-modules-account branch debian updated. debian/3.0.2-1-2-g7fe985d

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Apr 16 16:10:59 UTC 2014


The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account.git;a=commitdiff;h=debian/3.0.2-1-2-g7fe985d

commit 7fe985da8cf4edc0abccec7253b9a5f6da747c0e
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Apr 16 18:10:35 2014 +0200

    Releasing debian version 3.0.3-1.

diff --git a/debian/changelog b/debian/changelog
index fd21e6c..afc22c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-account (3.0.3-1) unstable; urgency=medium
+
+  * Merging upstream version 3.0.3.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Wed, 16 Apr 2014 15:10:48 +0200
+
 tryton-modules-account (3.0.2-1) unstable; urgency=medium
 
   * Removing  LC_ALL=C.UTF-8 as build environment.
commit 0c154f597da73bb28082cf2a29e8c06dae6815d7
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Apr 16 14:48:51 2014 +0200

    Merging upstream version 3.0.3.

diff --git a/CHANGELOG b/CHANGELOG
index 66fc002..73c1744 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.3 - 2014-04-07
+* Bug fixes (see mercurial logs for details)
+
 Version 3.0.2 - 2014-03-22
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index eaebc9a..19f6d0c 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account
-Version: 3.0.2
+Version: 3.0.3
 Summary: Tryton module for accounting
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/account.py b/account.py
index 6540fee..dfd35d1 100644
--- a/account.py
+++ b/account.py
@@ -810,6 +810,7 @@ class Account(ModelSQL, ModelView):
             default = {}
         default['left'] = 0
         default['right'] = 0
+        default.setdefault('template')
         default.setdefault('deferrals', [])
         new_accounts = super(Account, cls).copy(accounts, default=default)
         cls._rebuild_tree('parent', None, 0)
diff --git a/move.py b/move.py
index eb55d51..6f6a8c4 100644
--- a/move.py
+++ b/move.py
@@ -358,8 +358,8 @@ class Move(ModelSQL, ModelView):
             cls.write([move], values)
 
             to_reconcile = [l for l in move.lines
-                if ((line.debit == line.credit == Decimal('0'))
-                    and line.account.reconcile)]
+                if ((l.debit == l.credit == Decimal('0'))
+                    and l.account.reconcile)]
             if to_reconcile:
                 Line.reconcile(to_reconcile)
 
diff --git a/tryton.cfg b/tryton.cfg
index 6166548..aea3156 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.0.2
+version=3.0.3
 depends:
     company
     currency
diff --git a/trytond_account.egg-info/PKG-INFO b/trytond_account.egg-info/PKG-INFO
index d879800..dc4d18d 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.0.2
+Version: 3.0.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