Hello community,

here is the log from the commit of package trytond_stock for openSUSE:Factory 
checked in at 2018-03-11 15:24:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_stock.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_stock"

Sun Mar 11 15:24:42 2018 rev:8 rq:584732 version:4.2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes      
2017-11-16 14:03:43.295738878 +0100
+++ /work/SRC/openSUSE:Factory/.trytond_stock.new/trytond_stock.changes 
2018-03-11 15:24:45.012293845 +0100
@@ -1,0 +2,5 @@
+Fri Mar  2 09:11:09 UTC 2018 - axel.br...@gmx.de
+
+- Version 4.2.6 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_stock-4.2.5.tar.gz

New:
----
  trytond_stock-4.2.6.tar.gz

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

Other differences:
------------------
++++++ trytond_stock.spec ++++++
--- /var/tmp/diff_new_pack.ICeZKO/_old  2018-03-11 15:24:45.644271173 +0100
+++ /var/tmp/diff_new_pack.ICeZKO/_new  2018-03-11 15:24:45.652270886 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package trytond_stock
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2014-2016 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,10 +19,10 @@
 
 %define majorver 4.2
 Name:           trytond_stock
-Version:        %{majorver}.5
+Version:        %{majorver}.6
 Release:        0
 Summary:        The "stock" module for the Tryton ERP system
-License:        GPL-3.0
+License:        GPL-3.0-only
 Group:          Productivity/Office/Management
 Url:            http://www.tryton.org/
 Source:         
http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz

++++++ trytond_stock-4.2.5.tar.gz -> trytond_stock-4.2.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-4.2.5/.hgtags 
new/trytond_stock-4.2.6/.hgtags
--- old/trytond_stock-4.2.5/.hgtags     2017-11-07 23:59:33.000000000 +0100
+++ new/trytond_stock-4.2.6/.hgtags     2018-03-01 23:06:24.000000000 +0100
@@ -20,3 +20,4 @@
 9f3ce9dd80e5ce5373a1753ca6fc637a6b8c66cb 4.2.3
 d5f91da91a5ddea522c91855ecb5472adb1b732d 4.2.4
 6947c089e6ef6f58bb8de5ace265246dc6d2768a 4.2.5
+1e58aa853ed03710d5dff62d9d62e5d1c42128e3 4.2.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-4.2.5/CHANGELOG 
new/trytond_stock-4.2.6/CHANGELOG
--- old/trytond_stock-4.2.5/CHANGELOG   2017-11-07 23:59:33.000000000 +0100
+++ new/trytond_stock-4.2.6/CHANGELOG   2018-03-01 23:06:23.000000000 +0100
@@ -1,3 +1,6 @@
+Version 4.2.6 - 2018-03-01
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.5 - 2017-11-07
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-4.2.5/COPYRIGHT 
new/trytond_stock-4.2.6/COPYRIGHT
--- old/trytond_stock-4.2.5/COPYRIGHT   2017-11-07 23:59:33.000000000 +0100
+++ new/trytond_stock-4.2.6/COPYRIGHT   2018-03-01 23:06:23.000000000 +0100
@@ -1,7 +1,7 @@
 Copyright (C) 2012 Openlabs Technologies & Consulting (P) LTD.
-Copyright (C) 2008-2017 Cédric Krier.
+Copyright (C) 2008-2018 Cédric Krier.
 Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2017 B2CK SPRL.
+Copyright (C) 2008-2018 B2CK SPRL.
 Copyright (C) 2004-2008 Tiny SPRL.
 
 This program is free software: you can redistribute it and/or modify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-4.2.5/PKG-INFO 
new/trytond_stock-4.2.6/PKG-INFO
--- old/trytond_stock-4.2.5/PKG-INFO    2017-11-07 23:59:34.000000000 +0100
+++ new/trytond_stock-4.2.6/PKG-INFO    2018-03-01 23:06:24.000000000 +0100
@@ -1,12 +1,13 @@
 Metadata-Version: 1.1
 Name: trytond_stock
-Version: 4.2.5
+Version: 4.2.6
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_trac...@tryton.org
 License: GPL-3
 Download-URL: http://downloads.tryton.org/4.2/
+Description-Content-Type: UNKNOWN
 Description: trytond_stock
         =============
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-4.2.5/inventory.py 
new/trytond_stock-4.2.6/inventory.py
--- old/trytond_stock-4.2.5/inventory.py        2017-11-07 23:59:31.000000000 
+0100
+++ new/trytond_stock-4.2.6/inventory.py        2018-03-01 23:06:22.000000000 
+0100
@@ -227,8 +227,7 @@
 
             # Update existing lines
             for line in inventory.lines:
-                if not (line.product.active and
-                        line.product.type == 'goods'
+                if not (line.product.type == 'goods'
                         and not line.product.consumable):
                     Line.delete([line])
                     continue
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-4.2.5/product.py 
new/trytond_stock-4.2.6/product.py
--- old/trytond_stock-4.2.5/product.py  2016-11-28 18:39:12.000000000 +0100
+++ new/trytond_stock-4.2.6/product.py  2018-03-01 23:06:22.000000000 +0100
@@ -122,7 +122,7 @@
             context['_datetime'] = datetime.datetime.combine(
                 trans_context['stock_date_end'], datetime.time.max)
         with Transaction().set_context(context):
-            for product in products:
+            for product in cls.browse(products):
                 # The date could be before the product creation
                 if not isinstance(product.cost_price, Decimal):
                     cost_values[product.id] = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-4.2.5/tryton.cfg 
new/trytond_stock-4.2.6/tryton.cfg
--- old/trytond_stock-4.2.5/tryton.cfg  2017-10-04 22:02:06.000000000 +0200
+++ new/trytond_stock-4.2.6/tryton.cfg  2017-11-07 23:59:52.000000000 +0100
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.5
+version=4.2.6
 depends:
     company
     currency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-4.2.5/trytond_stock.egg-info/PKG-INFO 
new/trytond_stock-4.2.6/trytond_stock.egg-info/PKG-INFO
--- old/trytond_stock-4.2.5/trytond_stock.egg-info/PKG-INFO     2017-11-07 
23:59:34.000000000 +0100
+++ new/trytond_stock-4.2.6/trytond_stock.egg-info/PKG-INFO     2018-03-01 
23:06:24.000000000 +0100
@@ -1,12 +1,13 @@
 Metadata-Version: 1.1
 Name: trytond-stock
-Version: 4.2.5
+Version: 4.2.6
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_trac...@tryton.org
 License: GPL-3
 Download-URL: http://downloads.tryton.org/4.2/
+Description-Content-Type: UNKNOWN
 Description: trytond_stock
         =============
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_stock-4.2.5/trytond_stock.egg-info/requires.txt 
new/trytond_stock-4.2.6/trytond_stock.egg-info/requires.txt
--- old/trytond_stock-4.2.5/trytond_stock.egg-info/requires.txt 2017-11-07 
23:59:34.000000000 +0100
+++ new/trytond_stock-4.2.6/trytond_stock.egg-info/requires.txt 2018-03-01 
23:06:24.000000000 +0100
@@ -1,6 +1,6 @@
-python-sql >= 0.4
-trytond_company >= 4.2, < 4.3
-trytond_currency >= 4.2, < 4.3
-trytond_party >= 4.2, < 4.3
-trytond_product >= 4.2, < 4.3
-trytond >= 4.2, < 4.3
+python-sql>=0.4
+trytond_company<4.3,>=4.2
+trytond_currency<4.3,>=4.2
+trytond_party<4.3,>=4.2
+trytond_product<4.3,>=4.2
+trytond<4.3,>=4.2


Reply via email to