[tryton-debian-vcs] tryton-modules-account branch upstream updated. upstream/3.0.2-1-g62e4762
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 upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account.git;a=commitdiff;h=upstream/3.0.2-1-g62e4762
commit 62e4762409b915666df6f637931b2e30c6278e58
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Apr 16 14:48:48 2014 +0200
Adding 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