Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package trytond_stock for openSUSE:Factory 
checked in at 2022-04-20 16:57:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_stock.new.1941 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_stock"

Wed Apr 20 16:57:22 2022 rev:27 rq:971015 version:6.0.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes      
2022-03-07 17:48:53.139086149 +0100
+++ /work/SRC/openSUSE:Factory/.trytond_stock.new.1941/trytond_stock.changes    
2022-04-20 16:57:50.678651891 +0200
@@ -1,0 +2,5 @@
+Mon Apr 18 19:24:35 UTC 2022 - Axel Braun <axel.br...@gmx.de>
+
+- Version 6.0.13 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_stock-6.0.12.tar.gz
  trytond_stock-6.0.12.tar.gz.asc

New:
----
  trytond_stock-6.0.13.tar.gz
  trytond_stock-6.0.13.tar.gz.asc

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

Other differences:
------------------
++++++ trytond_stock.spec ++++++
--- /var/tmp/diff_new_pack.I4keGD/_old  2022-04-20 16:57:51.206652384 +0200
+++ /var/tmp/diff_new_pack.I4keGD/_new  2022-04-20 16:57:51.214652392 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package trytond_stock
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2014-2021 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
 
 %define majorver 6.0
 Name:           trytond_stock
-Version:        %{majorver}.12
+Version:        %{majorver}.13
 Release:        0
 Summary:        The "stock" module for the Tryton ERP system
 License:        GPL-3.0-only

++++++ trytond_stock-6.0.12.tar.gz -> trytond_stock-6.0.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-6.0.12/.hgtags 
new/trytond_stock-6.0.13/.hgtags
--- old/trytond_stock-6.0.12/.hgtags    2022-03-01 19:27:45.000000000 +0100
+++ new/trytond_stock-6.0.13/.hgtags    2022-04-15 23:14:01.000000000 +0200
@@ -36,3 +36,4 @@
 7eb0b3717a39da9388a90ed5aa6a84f68494c594 6.0.10
 642a659e1017214dd9559d3c1ab97ffdd5457d79 6.0.11
 a29dbdb162873ebdea451f6895f895b063b3bb07 6.0.12
+b2feddae43b362b85b5b70908cefcff96ba1b0dd 6.0.13
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-6.0.12/CHANGELOG 
new/trytond_stock-6.0.13/CHANGELOG
--- old/trytond_stock-6.0.12/CHANGELOG  2022-03-01 19:27:44.000000000 +0100
+++ new/trytond_stock-6.0.13/CHANGELOG  2022-04-15 23:14:00.000000000 +0200
@@ -1,3 +1,6 @@
+Version 6.0.13 - 2022-04-15
+* Bug fixes (see mercurial logs for details)
+
 Version 6.0.12 - 2022-03-01
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-6.0.12/PKG-INFO 
new/trytond_stock-6.0.13/PKG-INFO
--- old/trytond_stock-6.0.12/PKG-INFO   2022-03-01 19:27:46.609903600 +0100
+++ new/trytond_stock-6.0.13/PKG-INFO   2022-04-15 23:14:03.961514000 +0200
@@ -1,28 +1,16 @@
 Metadata-Version: 2.1
 Name: trytond_stock
-Version: 6.0.12
+Version: 6.0.13
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
+Download-URL: http://downloads.tryton.org/6.0/
 Author: Tryton
 Author-email: b...@tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/6.0/
 Project-URL: Bug Tracker, https://bugs.tryton.org/
 Project-URL: Documentation, https://docs.tryton.org/projects/modules-stock/
 Project-URL: Forum, https://www.tryton.org/forum
 Project-URL: Source Code, https://hg.tryton.org/modules/stock
-Description: ############
-        Stock Module
-        ############
-        
-        The *Stock Module* provides the fundamental concepts required for 
managing
-        stock.
-        This includes keeping track of where the stock is, how much is 
available,
-        and checking and correcting stock levels.
-        It also allows stock to be moved from one place to another, and 
delivered to
-        and from customers and suppliers.
-        
-        
 Keywords: tryton stock
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
@@ -64,3 +52,18 @@
 Classifier: Topic :: Office/Business
 Requires-Python: >=3.6
 Provides-Extra: sparklines
+License-File: LICENSE
+
+############
+Stock Module
+############
+
+The *Stock Module* provides the fundamental concepts required for managing
+stock.
+This includes keeping track of where the stock is, how much is available,
+and checking and correcting stock levels.
+It also allows stock to be moved from one place to another, and delivered to
+and from customers and suppliers.
+
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-6.0.12/move.py 
new/trytond_stock-6.0.13/move.py
--- old/trytond_stock-6.0.12/move.py    2022-02-26 11:41:09.000000000 +0100
+++ new/trytond_stock-6.0.13/move.py    2022-04-14 23:50:20.000000000 +0200
@@ -618,8 +618,13 @@
     def set_effective_date(self):
         pool = Pool()
         Date = pool.get('ir.date')
+        ShipmentInternal = pool.get('stock.shipment.internal')
 
-        if not self.effective_date and self.shipment:
+        if (not self.effective_date
+                and isinstance(self.shipment, ShipmentInternal)
+                and self.to_location == self.shipment.transit_location):
+            self.effective_date = self.shipment.effective_start_date
+        elif not self.effective_date and self.shipment:
             self.effective_date = self.shipment.effective_date
         if not self.effective_date:
             self.effective_date = Date.today()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-6.0.12/product.py 
new/trytond_stock-6.0.13/product.py
--- old/trytond_stock-6.0.12/product.py 2022-01-06 00:58:41.000000000 +0100
+++ new/trytond_stock-6.0.13/product.py 2022-03-25 19:23:46.000000000 +0100
@@ -554,9 +554,9 @@
             product_column = Concat('product.template,', product.template)
             products = [('product.template', i) for i in product_template]
         else:
-            product = context.get('product', -1)
+            product = context.get('product')
             if product is None:
-                product = -1
+                product = []
             if isinstance(product, int):
                 product = [product]
             product_clause = move.product.in_(product or [-1])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-6.0.12/setup.py 
new/trytond_stock-6.0.13/setup.py
--- old/trytond_stock-6.0.12/setup.py   2021-10-29 01:41:16.000000000 +0200
+++ new/trytond_stock-6.0.13/setup.py   2022-04-14 23:50:20.000000000 +0200
@@ -60,7 +60,7 @@
 if local_version:
     version += '+' + '.'.join(local_version)
 
-requires = ['python-sql >= 0.4', 'simpleeval']
+requires = ['python-sql >= 1.3.0', 'simpleeval']
 for dep in info.get('depends', []):
     if not re.match(r'(ir|res)(\W|$)', dep):
         requires.append(get_require_version('trytond_%s' % dep))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_stock-6.0.12/tests/scenario_stock_shipment_internal.rst 
new/trytond_stock-6.0.13/tests/scenario_stock_shipment_internal.rst
--- old/trytond_stock-6.0.12/tests/scenario_stock_shipment_internal.rst 
2021-10-29 01:41:16.000000000 +0200
+++ new/trytond_stock-6.0.13/tests/scenario_stock_shipment_internal.rst 
2022-04-14 23:50:20.000000000 +0200
@@ -181,15 +181,20 @@
 
     >>> shipment.click('assign_try')
     True
+    >>> shipment.effective_start_date = yesterday
     >>> shipment.click('ship')
     >>> incoming_move, = shipment.incoming_moves
     >>> incoming_move.quantity
     1.0
     >>> shipment.outgoing_moves[0].state
     'done'
+    >>> shipment.outgoing_moves[0].effective_date == yesterday
+    True
     >>> shipment.click('done')
     >>> shipment.incoming_moves[0].state
     'done'
+    >>> shipment.incoming_moves[0].effective_date == today
+    True
 
 Duplicate Internal Shipment::
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-6.0.12/tryton.cfg 
new/trytond_stock-6.0.13/tryton.cfg
--- old/trytond_stock-6.0.12/tryton.cfg 2022-02-16 23:48:06.000000000 +0100
+++ new/trytond_stock-6.0.13/tryton.cfg 2022-03-01 19:27:56.000000000 +0100
@@ -1,5 +1,5 @@
 [tryton]
-version=6.0.12
+version=6.0.13
 depends:
     company
     currency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-6.0.12/trytond_stock.egg-info/PKG-INFO 
new/trytond_stock-6.0.13/trytond_stock.egg-info/PKG-INFO
--- old/trytond_stock-6.0.12/trytond_stock.egg-info/PKG-INFO    2022-03-01 
19:27:45.000000000 +0100
+++ new/trytond_stock-6.0.13/trytond_stock.egg-info/PKG-INFO    2022-04-15 
23:14:02.000000000 +0200
@@ -1,28 +1,16 @@
 Metadata-Version: 2.1
 Name: trytond-stock
-Version: 6.0.12
+Version: 6.0.13
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
+Download-URL: http://downloads.tryton.org/6.0/
 Author: Tryton
 Author-email: b...@tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/6.0/
 Project-URL: Bug Tracker, https://bugs.tryton.org/
 Project-URL: Documentation, https://docs.tryton.org/projects/modules-stock/
 Project-URL: Forum, https://www.tryton.org/forum
 Project-URL: Source Code, https://hg.tryton.org/modules/stock
-Description: ############
-        Stock Module
-        ############
-        
-        The *Stock Module* provides the fundamental concepts required for 
managing
-        stock.
-        This includes keeping track of where the stock is, how much is 
available,
-        and checking and correcting stock levels.
-        It also allows stock to be moved from one place to another, and 
delivered to
-        and from customers and suppliers.
-        
-        
 Keywords: tryton stock
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
@@ -64,3 +52,18 @@
 Classifier: Topic :: Office/Business
 Requires-Python: >=3.6
 Provides-Extra: sparklines
+License-File: LICENSE
+
+############
+Stock Module
+############
+
+The *Stock Module* provides the fundamental concepts required for managing
+stock.
+This includes keeping track of where the stock is, how much is available,
+and checking and correcting stock levels.
+It also allows stock to be moved from one place to another, and delivered to
+and from customers and suppliers.
+
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_stock-6.0.12/trytond_stock.egg-info/entry_points.txt 
new/trytond_stock-6.0.13/trytond_stock.egg-info/entry_points.txt
--- old/trytond_stock-6.0.12/trytond_stock.egg-info/entry_points.txt    
2022-03-01 19:27:45.000000000 +0100
+++ new/trytond_stock-6.0.13/trytond_stock.egg-info/entry_points.txt    
2022-04-15 23:14:02.000000000 +0200
@@ -1,4 +1,2 @@
-
-    [trytond.modules]
-    stock = trytond.modules.stock
-    
\ No newline at end of file
+[trytond.modules]
+stock = trytond.modules.stock
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_stock-6.0.12/trytond_stock.egg-info/requires.txt 
new/trytond_stock-6.0.13/trytond_stock.egg-info/requires.txt
--- old/trytond_stock-6.0.12/trytond_stock.egg-info/requires.txt        
2022-03-01 19:27:45.000000000 +0100
+++ new/trytond_stock-6.0.13/trytond_stock.egg-info/requires.txt        
2022-04-15 23:14:03.000000000 +0200
@@ -1,4 +1,4 @@
-python-sql>=0.4
+python-sql>=1.3.0
 simpleeval
 trytond_company<6.1,>=6.0
 trytond_currency<6.1,>=6.0

Reply via email to