Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2017-11-16 14:03:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_purchase.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_purchase"

Thu Nov 16 14:03:32 2017 rev:4 rq:542143 version:4.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes        
2017-09-17 22:40:06.237679228 +0200
+++ /work/SRC/openSUSE:Factory/.trytond_purchase.new/trytond_purchase.changes   
2017-11-16 14:03:37.467950093 +0100
@@ -1,0 +2,5 @@
+Thu Nov  9 06:04:58 UTC 2017 - [email protected]
+
+- Version 4.2.3 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_purchase-4.2.2.tar.gz

New:
----
  trytond_purchase-4.2.3.tar.gz

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

Other differences:
------------------
++++++ trytond_purchase.spec ++++++
--- /var/tmp/diff_new_pack.kyhc2F/_old  2017-11-16 14:03:38.263921244 +0100
+++ /var/tmp/diff_new_pack.kyhc2F/_new  2017-11-16 14:03:38.263921244 +0100
@@ -19,7 +19,7 @@
 
 %define majorver 4.2
 Name:           trytond_purchase
-Version:        %{majorver}.2
+Version:        %{majorver}.3
 Release:        0
 Summary:        The "purchase" module for the Tryton ERP system
 License:        GPL-3.0

++++++ trytond_purchase-4.2.2.tar.gz -> trytond_purchase-4.2.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.2/.drone.yml 
new/trytond_purchase-4.2.3/.drone.yml
--- old/trytond_purchase-4.2.2/.drone.yml       1970-01-01 01:00:00.000000000 
+0100
+++ new/trytond_purchase-4.2.3/.drone.yml       2016-11-28 18:39:03.000000000 
+0100
@@ -0,0 +1,9 @@
+image: python:all
+env:
+  - POSTGRESQL_URI=postgresql://[email protected]:5432/
+  - MYSQL_URI=mysql://[email protected]:3306/
+script:
+  - pip install tox
+  - tox -e "{py27,py33,py34,py35}-{sqlite,postgresql}" 
--skip-missing-interpreters
+services:
+  - postgres
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.2/.hgtags 
new/trytond_purchase-4.2.3/.hgtags
--- old/trytond_purchase-4.2.2/.hgtags  1970-01-01 01:00:00.000000000 +0100
+++ new/trytond_purchase-4.2.3/.hgtags  2017-11-08 00:40:44.000000000 +0100
@@ -0,0 +1,20 @@
+28f5e05376cda70f569743e695369f3dcb5462d0 1.0.0
+8411703acab8ab25c5b6a34cedbaa65d8edfb74d 1.2.0
+821a4e526a660debd9e815f866edeaef93026535 1.4.0
+eaeea51fd310f387cc5593ac03caa0a7926ed377 1.6.0
+c5a5d252430911794635b127796bb69727c4c50f 1.8.0
+cf37cf340aadf693703bb72cd9090349698f5eec 2.0.0
+155968df100be420b04452a4a66bff26d9b09d9c 2.2.0
+16f519261f4717b8311fab4525fe9b42624fb9d9 2.4.0
+9aa18c79df9b40d85456d01bdc67ed599c49ed65 2.6.0
+94e08118db32cc429b90c45ed6243a5485d927bb 2.8.0
+37e7ff56a2020b546a3ab4362de63fef916485b4 3.0.0
+775b22f5d584e37ecf96e20519c672cc2c78e137 3.2.0
+3b5b95037d900f173929b37a54cd4fc2cea18437 3.4.0
+f575cdd64cba4615ed28849f77b7991aee7f8e6b 3.6.0
+c9a20a9ab9833b4dec50884ab524d3dd331395c6 3.8.0
+4a507c55113e94fed4f23aeb299c354ab19f451f 4.0.0
+d26f28ad5629c320e6cb88caac8b28c7e335372b 4.2.0
+082ef8c07ef68bf934d43493987ac975a69b173d 4.2.1
+b0f53bcdaeff1ac4dc91cf946780ed4eab4346ab 4.2.2
+49c99efccb434208fe29bf520eb8cd6693d35977 4.2.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.2/CHANGELOG 
new/trytond_purchase-4.2.3/CHANGELOG
--- old/trytond_purchase-4.2.2/CHANGELOG        2017-09-04 22:39:20.000000000 
+0200
+++ new/trytond_purchase-4.2.3/CHANGELOG        2017-11-08 00:40:43.000000000 
+0100
@@ -1,3 +1,6 @@
+Version 4.2.3 - 2017-11-07
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.2 - 2017-09-04
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.2/PKG-INFO 
new/trytond_purchase-4.2.3/PKG-INFO
--- old/trytond_purchase-4.2.2/PKG-INFO 2017-09-04 22:39:21.000000000 +0200
+++ new/trytond_purchase-4.2.3/PKG-INFO 2017-11-08 00:40:44.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_purchase
-Version: 4.2.2
+Version: 4.2.3
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.2/invoice.py 
new/trytond_purchase-4.2.3/invoice.py
--- old/trytond_purchase-4.2.2/invoice.py       2016-11-28 18:39:03.000000000 
+0100
+++ new/trytond_purchase-4.2.3/invoice.py       2017-11-08 00:40:42.000000000 
+0100
@@ -66,8 +66,8 @@
 
     @classmethod
     def search_purchases(cls, name, clause):
-        return [('lines.origin.purchase',) + tuple(clause[1:])
-            + ('purchase.line',)]
+        return [('lines.origin.purchase' + clause[0].lstrip(name),)
+            + tuple(clause[1:3]) + ('purchase.line',) + tuple(clause[3:])]
 
     @classmethod
     @process_purchase
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.2/purchase.py 
new/trytond_purchase-4.2.3/purchase.py
--- old/trytond_purchase-4.2.2/purchase.py      2017-09-04 22:39:18.000000000 
+0200
+++ new/trytond_purchase-4.2.3/purchase.py      2017-11-08 00:40:42.000000000 
+0100
@@ -500,7 +500,8 @@
 
     @classmethod
     def search_invoices(cls, name, clause):
-        return [('lines.invoice_lines.invoice',) + tuple(clause[1:])]
+        return [('lines.invoice_lines.invoice' + clause[0].lstrip(name),)
+            + tuple(clause[1:])]
 
     def get_invoice_state(self):
         '''
@@ -1056,7 +1057,7 @@
         if self.unit:
             context['uom'] = self.unit.id
         else:
-            self.product.purchase_uom.id
+            context['uom'] = self.product.purchase_uom.id
         context['taxes'] = [t.id for t in self.taxes]
         return context
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.2/stock.py 
new/trytond_purchase-4.2.3/stock.py
--- old/trytond_purchase-4.2.2/stock.py 2016-11-28 18:39:03.000000000 +0100
+++ new/trytond_purchase-4.2.3/stock.py 2017-11-08 00:40:42.000000000 +0100
@@ -248,7 +248,8 @@
 
     @classmethod
     def search_purchase(cls, name, clause):
-        return [('origin.' + name,) + tuple(clause[1:]) + ('purchase.line',)]
+        return [('origin.' + clause[0],) + tuple(clause[1:3])
+            + ('purchase.line',) + tuple(clause[3:])]
 
     def get_purchase_exception_state(self, name):
         PurchaseLine = Pool().get('purchase.line')
@@ -300,8 +301,8 @@
 
     @classmethod
     def search_supplier(cls, name, clause):
-        return [('origin.purchase.party',) + tuple(clause[1:]) +
-            ('purchase.line',)]
+        return [('origin.purchase.party' + clause[0].lstrip(name),)
+            + tuple(clause[1:3]) + ('purchase.line',) + tuple(clause[3:])]
 
     @classmethod
     @ModelView.button
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.2/tox.ini 
new/trytond_purchase-4.2.3/tox.ini
--- old/trytond_purchase-4.2.2/tox.ini  1970-01-01 01:00:00.000000000 +0100
+++ new/trytond_purchase-4.2.3/tox.ini  2016-11-28 18:39:03.000000000 +0100
@@ -0,0 +1,18 @@
+[tox]
+envlist = 
{py27,py33,py34,py35}-{sqlite,postgresql,mysql},pypy-{sqlite,postgresql}
+
+[testenv]
+commands = {envpython} setup.py test
+deps =
+    {py27,py33,py34,py35}-postgresql: psycopg2 >= 2.5
+    pypy-postgresql: psycopg2cffi >= 2.5
+    mysql: MySQL-python
+    sqlite: sqlitebck
+setenv =
+    sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
+    postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
+    mysql: TRYTOND_DATABASE_URI={env:MYSQL_URI:mysql://}
+    sqlite: DB_NAME={env:SQLITE_NAME::memory:}
+    postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
+    mysql: DB_NAME={env:MYSQL_NAME:test}
+install_command = pip install --pre --find-links https://trydevpi.tryton.org/ 
{opts} {packages}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.2/tryton.cfg 
new/trytond_purchase-4.2.3/tryton.cfg
--- old/trytond_purchase-4.2.2/tryton.cfg       2017-03-10 11:01:38.000000000 
+0100
+++ new/trytond_purchase-4.2.3/tryton.cfg       2017-09-04 22:39:33.000000000 
+0200
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.2
+version=4.2.3
 depends:
     account
     account_invoice
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_purchase-4.2.2/trytond_purchase.egg-info/PKG-INFO 
new/trytond_purchase-4.2.3/trytond_purchase.egg-info/PKG-INFO
--- old/trytond_purchase-4.2.2/trytond_purchase.egg-info/PKG-INFO       
2017-09-04 22:39:21.000000000 +0200
+++ new/trytond_purchase-4.2.3/trytond_purchase.egg-info/PKG-INFO       
2017-11-08 00:40:44.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-purchase
-Version: 4.2.2
+Version: 4.2.3
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_purchase-4.2.2/trytond_purchase.egg-info/SOURCES.txt 
new/trytond_purchase-4.2.3/trytond_purchase.egg-info/SOURCES.txt
--- old/trytond_purchase-4.2.2/trytond_purchase.egg-info/SOURCES.txt    
2017-09-04 22:39:21.000000000 +0200
+++ new/trytond_purchase-4.2.3/trytond_purchase.egg-info/SOURCES.txt    
2017-11-08 00:40:44.000000000 +0100
@@ -1,16 +1,26 @@
+.drone.yml
+.hgtags
 CHANGELOG
 COPYRIGHT
 INSTALL
 LICENSE
 MANIFEST.in
 README
+__init__.py
+configuration.py
 configuration.xml
+invoice.py
+party.py
 party.xml
+product.py
 product.xml
 purchase.odt
+purchase.py
 purchase.xml
 setup.py
+stock.py
 stock.xml
+tox.ini
 tryton.cfg
 ./__init__.py
 ./configuration.py
@@ -86,7 +96,9 @@
 locale/ru.po
 locale/sl.po
 locale/zh_CN.po
+tests/__init__.py
 tests/scenario_purchase.rst
+tests/test_purchase.py
 trytond_purchase.egg-info/PKG-INFO
 trytond_purchase.egg-info/SOURCES.txt
 trytond_purchase.egg-info/dependency_links.txt


Reply via email to