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 2024-09-24 17:33:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new.29891 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_stock" Tue Sep 24 17:33:53 2024 rev:41 rq:1202824 version:6.0.28 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2024-05-07 18:04:07.504080633 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new.29891/trytond_stock.changes 2024-09-24 17:34:09.347288384 +0200 @@ -1,0 +2,5 @@ +Tue Sep 17 07:58:40 UTC 2024 - Axel Braun <[email protected]> + +- Version 6.0.28 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond_stock-6.0.26.tar.gz New: ---- trytond_stock-6.0.28.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond_stock.spec ++++++ --- /var/tmp/diff_new_pack.PPWK4G/_old 2024-09-24 17:34:10.167322713 +0200 +++ /var/tmp/diff_new_pack.PPWK4G/_new 2024-09-24 17:34:10.171322880 +0200 @@ -29,7 +29,7 @@ %define majorver 6.0 Name: trytond_stock -Version: %{majorver}.26 +Version: %{majorver}.28 Release: 0 Summary: The "stock" module for the Tryton ERP system License: GPL-3.0-only ++++++ trytond_stock-6.0.26.tar.gz -> trytond_stock-6.0.28.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.26/CHANGELOG new/trytond_stock-6.0.28/CHANGELOG --- old/trytond_stock-6.0.26/CHANGELOG 2024-04-04 09:48:28.000000000 +0200 +++ new/trytond_stock-6.0.28/CHANGELOG 2024-09-16 20:20:21.000000000 +0200 @@ -1,4 +1,14 @@ +Version 6.0.28 - 2024-09-16 +--------------------------- +* Bug fixes (see mercurial logs for details) + + +Version 6.0.27 - 2024-09-01 +--------------------------- +* Bug fixes (see mercurial logs for details) + + Version 6.0.26 - 2024-04-04 --------------------------- * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.26/PKG-INFO new/trytond_stock-6.0.28/PKG-INFO --- old/trytond_stock-6.0.26/PKG-INFO 2024-04-04 09:48:31.761619300 +0200 +++ new/trytond_stock-6.0.28/PKG-INFO 2024-09-16 20:20:24.049365500 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond_stock -Version: 6.0.26 +Version: 6.0.28 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/6.0/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.26/inventory.py new/trytond_stock-6.0.28/inventory.py --- old/trytond_stock-6.0.26/inventory.py 2023-05-17 23:03:30.000000000 +0200 +++ new/trytond_stock-6.0.28/inventory.py 2024-09-14 10:53:49.000000000 +0200 @@ -428,8 +428,8 @@ @classmethod def search_inventory_location(cls, name, clause): - nested = clause[0].lstrip(name) - return [('inventory.' + name + nested,) + tuple(clause[1:])] + nested = clause[0][len(name):] + return [('inventory.location' + nested, *clause[1:])] @fields.depends('inventory', '_parent_inventory.date') def on_change_with_inventory_date(self, name=None): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.26/product.py new/trytond_stock-6.0.28/product.py --- old/trytond_stock-6.0.26/product.py 2024-03-26 00:10:18.000000000 +0100 +++ new/trytond_stock-6.0.28/product.py 2024-08-28 10:22:45.000000000 +0200 @@ -8,7 +8,7 @@ from simpleeval import simple_eval -from sql import Literal, Select, Window, With +from sql import Literal, Null, Select, Window, With from sql.aggregate import Max, Sum from sql.conditionals import Coalesce, Case from sql.functions import CurrentTimestamp @@ -825,7 +825,10 @@ warehouse = With('id', query=Location.search([ ('parent', 'child_of', [location_id]), ], query=True, order=[])) - date_column = Coalesce(move.effective_date, move.planned_date) + date_column = Coalesce( + move.effective_date, + Case((move.state == 'assigned', today), else_=Null), + move.planned_date) quantity = Case( (move.to_location.in_(warehouse.select(warehouse.id)), move.internal_quantity), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.26/tox.ini new/trytond_stock-6.0.28/tox.ini --- old/trytond_stock-6.0.26/tox.ini 2023-05-17 23:03:30.000000000 +0200 +++ new/trytond_stock-6.0.28/tox.ini 2024-09-13 16:34:34.000000000 +0200 @@ -4,6 +4,7 @@ [testenv] commands = {envpython} setup.py test deps = + setuptools<72 {py36,py37,py38,py39}-postgresql: psycopg2 >= 2.5 pypy3-postgresql: psycopg2cffi >= 2.5 py36-sqlite: sqlitebck diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.26/tryton.cfg new/trytond_stock-6.0.28/tryton.cfg --- old/trytond_stock-6.0.26/tryton.cfg 2024-02-03 12:10:53.000000000 +0100 +++ new/trytond_stock-6.0.28/tryton.cfg 2024-09-01 13:49:05.000000000 +0200 @@ -1,5 +1,5 @@ [tryton] -version=6.0.26 +version=6.0.28 depends: company currency diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.26/trytond_stock.egg-info/PKG-INFO new/trytond_stock-6.0.28/trytond_stock.egg-info/PKG-INFO --- old/trytond_stock-6.0.26/trytond_stock.egg-info/PKG-INFO 2024-04-04 09:48:31.000000000 +0200 +++ new/trytond_stock-6.0.28/trytond_stock.egg-info/PKG-INFO 2024-09-16 20:20:23.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond_stock -Version: 6.0.26 +Version: 6.0.28 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/6.0/
