Hello community,

here is the log from the commit of package trytond_account for openSUSE:Factory 
checked in at 2017-10-06 11:03:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_account (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_account.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_account"

Fri Oct  6 11:03:39 2017 rev:6 rq:531465 version:4.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_account/trytond_account.changes  
2017-08-18 15:04:16.267277445 +0200
+++ /work/SRC/openSUSE:Factory/.trytond_account.new/trytond_account.changes     
2017-10-06 11:03:40.779263093 +0200
@@ -1,0 +2,5 @@
+Wed Oct  4 20:26:28 UTC 2017 - [email protected]
+
+- Version 4.2.3 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_account-4.2.2.tar.gz

New:
----
  trytond_account-4.2.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ trytond_account.spec ++++++
--- /var/tmp/diff_new_pack.bbqYFX/_old  2017-10-06 11:03:41.447162084 +0200
+++ /var/tmp/diff_new_pack.bbqYFX/_new  2017-10-06 11:03:41.455160875 +0200
@@ -18,7 +18,7 @@
 
 %define majorver 4.2
 Name:           trytond_account
-Version:        %{majorver}.2
+Version:        %{majorver}.3
 Release:        0
 Summary:        The "account" module for the Tryton ERP system
 License:        GPL-3.0+

++++++ trytond_account-4.2.2.tar.gz -> trytond_account-4.2.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-4.2.2/CHANGELOG 
new/trytond_account-4.2.3/CHANGELOG
--- old/trytond_account-4.2.2/CHANGELOG 2017-08-08 18:48:27.000000000 +0200
+++ new/trytond_account-4.2.3/CHANGELOG 2017-10-04 22:12:24.000000000 +0200
@@ -1,3 +1,6 @@
+Version 4.2.3 - 2017-10-04
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.2 - 2017-08-08
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-4.2.2/PKG-INFO 
new/trytond_account-4.2.3/PKG-INFO
--- old/trytond_account-4.2.2/PKG-INFO  2017-08-08 18:48:28.000000000 +0200
+++ new/trytond_account-4.2.3/PKG-INFO  2017-10-04 22:12:25.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account
-Version: 4.2.2
+Version: 4.2.3
 Summary: Tryton module for accounting
 Home-page: http://www.tryton.org/
 Author: Tryton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-4.2.2/party.py 
new/trytond_account-4.2.3/party.py
--- old/trytond_account-4.2.2/party.py  2017-03-14 23:27:05.000000000 +0100
+++ new/trytond_account-4.2.3/party.py  2017-10-04 22:12:22.000000000 +0200
@@ -133,6 +133,7 @@
         if name not in ('receivable', 'payable',
                 'receivable_today', 'payable_today'):
             raise Exception('Bad argument')
+        _, operator, value = clause
 
         user = User(Transaction().user)
         if not user.company:
@@ -146,14 +147,17 @@
             today_query = ((line.maturity_date <= Date.today())
                 | (line.maturity_date == Null))
 
-        Operator = fields.SQL_OPERATORS[clause[1]]
+        Operator = fields.SQL_OPERATORS[operator]
 
         # Need to cast numeric for sqlite
         type_ = MoveLine.debit.sql_type().base
         amount = Cast(
             Sum(Coalesce(line.debit, 0) - Coalesce(line.credit, 0)),
             type_)
-        value = Cast(Literal(Decimal(clause[2] or 0)), type_)
+        if operator in {'in', 'not in'}:
+            value = [Cast(Literal(Decimal(v or 0)), type_) for v in value]
+        else:
+            value = Cast(Literal(Decimal(value or 0)), type_)
         query = line.join(account, condition=account.id == line.account
                 ).select(line.party,
                     where=account.active
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-4.2.2/tax.py 
new/trytond_account-4.2.3/tax.py
--- old/trytond_account-4.2.2/tax.py    2017-08-08 18:48:25.000000000 +0200
+++ new/trytond_account-4.2.3/tax.py    2017-10-04 22:12:22.000000000 +0200
@@ -1272,7 +1272,7 @@
                 if vals:
                     values.append([rule])
                     values.append(vals)
-            template2rule[rule.template.id] = rule.id
+                template2rule[rule.template.id] = rule.id
         if values:
             cls.write(*values)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-4.2.2/tryton.cfg 
new/trytond_account-4.2.3/tryton.cfg
--- old/trytond_account-4.2.2/tryton.cfg        2017-06-06 19:50:06.000000000 
+0200
+++ new/trytond_account-4.2.3/tryton.cfg        2017-08-08 18:48:50.000000000 
+0200
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.2
+version=4.2.3
 depends:
     company
     currency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_account-4.2.2/trytond_account.egg-info/PKG-INFO 
new/trytond_account-4.2.3/trytond_account.egg-info/PKG-INFO
--- old/trytond_account-4.2.2/trytond_account.egg-info/PKG-INFO 2017-08-08 
18:48:28.000000000 +0200
+++ new/trytond_account-4.2.3/trytond_account.egg-info/PKG-INFO 2017-10-04 
22:12:25.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-account
-Version: 4.2.2
+Version: 4.2.3
 Summary: Tryton module for accounting
 Home-page: http://www.tryton.org/
 Author: Tryton


Reply via email to