Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: unblock Dear release managers, please approve the upload of tryton-modules-account_2.2.3-1. The new version contains the upstream bug fix release [1]. The fixes are for * Fix typo for account.rec_name * Ensure clause concatination works with tuple vs list * Fix search_receivable_payable with None value Mathias [1] http://news.tryton.org/2012/09/maintenance-releases-for-supported.html debdiff attached unblock: tryton-modules-account/2.2.3-1
diff -Nru tryton-modules-account-2.2.2/CHANGELOG tryton-modules-account-2.2.3/CHANGELOG
--- tryton-modules-account-2.2.2/CHANGELOG 2012-05-07 11:09:15.000000000 +0200
+++ tryton-modules-account-2.2.3/CHANGELOG 2012-09-02 15:13:34.000000000 +0200
@@ -1,3 +1,6 @@
+Version 2.2.3 - 2012-09-02
+* Bug fixes (see mercurial logs for details)
+
Version 2.2.2 - 2012-05-07
* Bug fixes (see mercurial logs for details)
diff -Nru tryton-modules-account-2.2.2/debian/changelog tryton-modules-account-2.2.3/debian/changelog
--- tryton-modules-account-2.2.2/debian/changelog 2012-06-30 18:03:45.000000000 +0200
+++ tryton-modules-account-2.2.3/debian/changelog 2012-09-11 19:38:11.000000000 +0200
@@ -1,3 +1,9 @@
+tryton-modules-account (2.2.3-1) unstable; urgency=low
+
+ * Merging upstream version 2.2.3.
+
+ -- Mathias Behrle <mathiasb@m9s.biz> Tue, 11 Sep 2012 19:38:11 +0200
+
tryton-modules-account (2.2.2-2) unstable; urgency=low
* Updating maintainers field.
diff -Nru tryton-modules-account-2.2.2/move.py tryton-modules-account-2.2.3/move.py
--- tryton-modules-account-2.2.2/move.py 2012-04-24 14:23:39.000000000 +0200
+++ tryton-modules-account-2.2.3/move.py 2012-08-26 15:32:07.000000000 +0200
@@ -156,8 +156,8 @@
def search_rec_name(self, name, clause):
ids = self.search(['OR',
- ('reference',) + clause[1:],
- (self._rec_name,) + clause[1:],
+ ('reference',) + tuple(clause[1:]),
+ (self._rec_name,) + tuple(clause[1:]),
])
return [('id', 'in', ids)]
@@ -886,7 +886,7 @@
else:
if 'account' not in res:
res['account'] = party.account_payable.id
- res['account.rec_name'] = party.account_payable.id
+ res['account.rec_name'] = party.account_payable.rec_name
if party and vals.get('credit'):
if vals['credit'] > Decimal('0.0'):
diff -Nru tryton-modules-account-2.2.2/party.py tryton-modules-account-2.2.3/party.py
--- tryton-modules-account-2.2.2/party.py 2011-12-25 17:53:29.000000000 +0100
+++ tryton-modules-account-2.2.3/party.py 2012-08-23 23:48:03.000000000 +0200
@@ -181,7 +181,7 @@
'GROUP BY l.party '
'HAVING (SUM((COALESCE(l.debit, 0) - COALESCE(l.credit, 0))) ' \
+ clause[1] + ' %s)',
- [code] + today_value + [company_id] + [Decimal(clause[2])])
+ [code] + today_value + [company_id] + [Decimal(clause[2] or 0)])
return [('id', 'in', [x[0] for x in cursor.fetchall()])]
Party()
diff -Nru tryton-modules-account-2.2.2/PKG-INFO tryton-modules-account-2.2.3/PKG-INFO
--- tryton-modules-account-2.2.2/PKG-INFO 2012-05-07 11:09:17.000000000 +0200
+++ tryton-modules-account-2.2.3/PKG-INFO 2012-09-02 15:13:38.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.0
Name: trytond_account
-Version: 2.2.2
+Version: 2.2.3
Summary: Financial and Accounting Module with:
- General accounting
- Fiscal year management
diff -Nru tryton-modules-account-2.2.2/tax.py tryton-modules-account-2.2.3/tax.py
--- tryton-modules-account-2.2.2/tax.py 2011-11-22 13:27:43.000000000 +0100
+++ tryton-modules-account-2.2.3/tax.py 2012-08-26 15:28:13.000000000 +0200
@@ -238,10 +238,10 @@
return res
def search_rec_name(self, name, clause):
- ids = self.search([('code',) + clause[1:]], limit=1, order=[])
+ ids = self.search([('code',) + tuple(clause[1:])], limit=1, order=[])
if ids:
- return [('code',) + clause[1:]]
- return [('name',) + clause[1:]]
+ return [('code',) + tuple(clause[1:])]
+ return [('name',) + tuple(clause[1:])]
def delete(self, ids):
if isinstance(ids, (int, long)):
diff -Nru tryton-modules-account-2.2.2/trytond_account.egg-info/PKG-INFO tryton-modules-account-2.2.3/trytond_account.egg-info/PKG-INFO
--- tryton-modules-account-2.2.2/trytond_account.egg-info/PKG-INFO 2012-05-07 11:09:16.000000000 +0200
+++ tryton-modules-account-2.2.3/trytond_account.egg-info/PKG-INFO 2012-09-02 15:13:37.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.0
Name: trytond-account
-Version: 2.2.2
+Version: 2.2.3
Summary: Financial and Accounting Module with:
- General accounting
- Fiscal year management
diff -Nru tryton-modules-account-2.2.2/__tryton__.py tryton-modules-account-2.2.3/__tryton__.py
--- tryton-modules-account-2.2.2/__tryton__.py 2011-12-26 10:40:02.000000000 +0100
+++ tryton-modules-account-2.2.3/__tryton__.py 2012-05-07 14:54:05.000000000 +0200
@@ -8,7 +8,7 @@
'name_es_ES': 'Contabilidad',
'name_fr_FR': 'Comptabilité',
'name_nl_NL': 'Boekhouden',
- 'version': '2.2.2',
+ 'version': '2.2.3',
'author': 'B2CK',
'email': 'info@b2ck.com',
'website': 'http://www.tryton.org/',
Attachment:
signature.asc
Description: PGP signature