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-10-25 11:20:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "trytond_stock" Tue Oct 25 11:20:25 2022 rev:31 rq:1031039 version:6.0.17 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2022-09-08 14:24:02.514722629 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new.2275/trytond_stock.changes 2022-10-25 11:20:48.674243543 +0200 @@ -1,0 +2,5 @@ +Tue Oct 18 06:49:30 UTC 2022 - Axel Braun <axel.braun@gmx.de> + +- Version 6.0.17 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond_stock-6.0.16.tar.gz trytond_stock-6.0.16.tar.gz.asc New: ---- trytond_stock-6.0.17.tar.gz trytond_stock-6.0.17.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond_stock.spec ++++++ --- /var/tmp/diff_new_pack.Q6jwhF/_old 2022-10-25 11:20:49.218244749 +0200 +++ /var/tmp/diff_new_pack.Q6jwhF/_new 2022-10-25 11:20:49.222244757 +0200 @@ -19,7 +19,7 @@ %define majorver 6.0 Name: trytond_stock -Version: %{majorver}.16 +Version: %{majorver}.17 Release: 0 Summary: The "stock" module for the Tryton ERP system License: GPL-3.0-only ++++++ trytond_stock-6.0.16.tar.gz -> trytond_stock-6.0.17.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.16/.hgtags new/trytond_stock-6.0.17/.hgtags --- old/trytond_stock-6.0.16/.hgtags 2022-09-06 23:34:32.000000000 +0200 +++ new/trytond_stock-6.0.17/.hgtags 2022-10-17 23:54:07.000000000 +0200 @@ -40,3 +40,4 @@ 3688ec9159b359be2fbb3b3de8a8fce97e9effb6 6.0.14 0dd8675f2ca761e2f461cb96ba36ec5b841404b2 6.0.15 95767dcfed28d7257ca79b81157006aa8cd78c51 6.0.16 +27b7111d95687f65648992b8c2bc09fdbc24aebe 6.0.17 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.16/CHANGELOG new/trytond_stock-6.0.17/CHANGELOG --- old/trytond_stock-6.0.16/CHANGELOG 2022-09-06 23:34:31.000000000 +0200 +++ new/trytond_stock-6.0.17/CHANGELOG 2022-10-17 23:54:07.000000000 +0200 @@ -1,3 +1,6 @@ +Version 6.0.17 - 2022-10-17 +* Bug fixes (see mercurial logs for details) + Version 6.0.16 - 2022-09-06 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.16/PKG-INFO new/trytond_stock-6.0.17/PKG-INFO --- old/trytond_stock-6.0.16/PKG-INFO 2022-09-06 23:34:33.722890100 +0200 +++ new/trytond_stock-6.0.17/PKG-INFO 2022-10-17 23:54:09.393700000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond_stock -Version: 6.0.16 +Version: 6.0.17 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.16/icons/tryton-shipment-in.svg new/trytond_stock-6.0.17/icons/tryton-shipment-in.svg --- old/trytond_stock-6.0.16/icons/tryton-shipment-in.svg 2021-10-29 01:41:16.000000000 +0200 +++ new/trytond_stock-6.0.17/icons/tryton-shipment-in.svg 2022-10-12 19:42:05.000000000 +0200 @@ -1 +1 @@ -<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" style="transform: scale(-1,1)"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm13.5-9l1.96 2.5H17V9.5h2.5zm-1.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"/></svg> +<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M4 8h3V4h14c1.1 0 2 .9 2 2v11h-2c0 1.66-1.34 3-3 3s-3-1.34-3-3H9c0 1.66-1.34 3-3 3s-3-1.34-3-3H1v-5zm14 10.5c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5zm-13.5-9L2.54 12H7V9.5zm1.5 9c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5z"/></svg> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.16/move.py new/trytond_stock-6.0.17/move.py --- old/trytond_stock-6.0.16/move.py 2022-08-29 23:35:31.000000000 +0200 +++ new/trytond_stock-6.0.17/move.py 2022-10-12 19:42:05.000000000 +0200 @@ -320,7 +320,8 @@ 'from_location', 'to_location', 'company', 'currency']) cls._deny_modify_done_cancel = (cls._deny_modify_assigned | set(['planned_date', 'effective_date', 'state'])) - cls._allow_modify_closed_period = {'cost_price', 'unit_price'} + cls._allow_modify_closed_period = { + 'cost_price', 'unit_price', 'unit_price_updated'} t = cls.__table__() cls._sql_constraints += [ @@ -473,7 +474,7 @@ return True if from_type in {'storage', 'drop'} and to_type == 'supplier': return True - if from_type == 'customer' and to_type == {'storage', 'drop'}: + if from_type == 'customer' and to_type in {'storage', 'drop'}: return True return False diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.16/product.py new/trytond_stock-6.0.17/product.py --- old/trytond_stock-6.0.16/product.py 2022-03-25 19:23:46.000000000 +0100 +++ new/trytond_stock-6.0.17/product.py 2022-10-05 13:20:11.000000000 +0200 @@ -861,7 +861,7 @@ & move.to_location.in_( warehouse.select(warehouse.id)))) & ((date_column < today) & (move.state == 'done') - | (date_column >= today)), + | (date_column >= today) & (move.state != 'cancelled')), with_=warehouse)) @classmethod diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.16/stock_reporting_margin.py new/trytond_stock-6.0.17/stock_reporting_margin.py --- old/trytond_stock-6.0.16/stock_reporting_margin.py 2022-06-24 09:55:53.000000000 +0200 +++ new/trytond_stock-6.0.17/stock_reporting_margin.py 2022-10-12 19:42:05.000000000 +0200 @@ -89,7 +89,7 @@ query=Currency.currency_rate_sql()) from_item = (move - .join(currency_rate, + .join(currency_rate, type_='LEFT', condition=(move.currency == currency_rate.currency) & (currency_rate.start_date <= move.effective_date) & ((currency_rate.end_date == Null) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.16/tryton.cfg new/trytond_stock-6.0.17/tryton.cfg --- old/trytond_stock-6.0.16/tryton.cfg 2022-07-01 23:18:47.000000000 +0200 +++ new/trytond_stock-6.0.17/tryton.cfg 2022-09-06 23:34:44.000000000 +0200 @@ -1,5 +1,5 @@ [tryton] -version=6.0.16 +version=6.0.17 depends: company currency diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.16/trytond_stock.egg-info/PKG-INFO new/trytond_stock-6.0.17/trytond_stock.egg-info/PKG-INFO --- old/trytond_stock-6.0.16/trytond_stock.egg-info/PKG-INFO 2022-09-06 23:34:32.000000000 +0200 +++ new/trytond_stock-6.0.17/trytond_stock.egg-info/PKG-INFO 2022-10-17 23:54:08.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond-stock -Version: 6.0.16 +Version: 6.0.17 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/6.0/