Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2019-07-17 13:14:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new.1887 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_stock" Wed Jul 17 13:14:52 2019 rev:13 rq:714989 version:4.6.7 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2019-06-01 09:48:18.703348622 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new.1887/trytond_stock.changes 2019-07-17 13:14:58.987827172 +0200 @@ -1,0 +2,5 @@ +Fri Jul 12 17:19:53 UTC 2019 - Axel Braun <[email protected]> + +- Version 4.6.7 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond_stock-4.6.6.tar.gz New: ---- trytond_stock-4.6.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond_stock.spec ++++++ --- /var/tmp/diff_new_pack.lst1VD/_old 2019-07-17 13:14:59.607826870 +0200 +++ /var/tmp/diff_new_pack.lst1VD/_new 2019-07-17 13:14:59.611826868 +0200 @@ -19,7 +19,7 @@ %define majorver 4.6 Name: trytond_stock -Version: %{majorver}.6 +Version: %{majorver}.7 Release: 0 Summary: The "stock" module for the Tryton ERP system License: GPL-3.0-only ++++++ trytond_stock-4.6.6.tar.gz -> trytond_stock-4.6.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.6/.hgtags new/trytond_stock-4.6.7/.hgtags --- old/trytond_stock-4.6.6/.hgtags 2019-04-22 10:59:49.000000000 +0200 +++ new/trytond_stock-4.6.7/.hgtags 2019-06-10 18:59:03.000000000 +0200 @@ -23,3 +23,4 @@ 14bda8a14924fa28a1efd093974e611cf66cf478 4.6.4 b4a7de54553df7855985ea79f8ee18ddaec339bb 4.6.5 23286f7fcb42114cf3613c11959eda9e3e6ccc20 4.6.6 +5389bc012181209917a0373935a69234570521d3 4.6.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.6/CHANGELOG new/trytond_stock-4.6.7/CHANGELOG --- old/trytond_stock-4.6.6/CHANGELOG 2019-04-22 10:59:48.000000000 +0200 +++ new/trytond_stock-4.6.7/CHANGELOG 2019-06-10 18:59:02.000000000 +0200 @@ -1,3 +1,6 @@ +Version 4.6.7 - 2019-06-10 +* Bug fixes (see mercurial logs for details) + Version 4.6.6 - 2019-04-22 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.6/PKG-INFO new/trytond_stock-4.6.7/PKG-INFO --- old/trytond_stock-4.6.6/PKG-INFO 2019-04-22 10:59:50.000000000 +0200 +++ new/trytond_stock-4.6.7/PKG-INFO 2019-06-10 18:59:03.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond_stock -Version: 4.6.6 +Version: 4.6.7 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.6/doc/index.rst new/trytond_stock-4.6.7/doc/index.rst --- old/trytond_stock-4.6.6/doc/index.rst 2018-08-20 22:55:18.000000000 +0200 +++ new/trytond_stock-4.6.7/doc/index.rst 2019-06-10 18:59:01.000000000 +0200 @@ -111,7 +111,7 @@ Product Quantities -++++++++++++++++++ +------------------ Product quantities on each location are the sum of all moves coming from or going to this location. For quantities that are computed for @@ -130,7 +130,7 @@ Supplier Shipment -+++++++++++++++++ +----------------- A supplier shipment is used when products are received from a supplier. It is mainly composed of a party (the supplier), a location @@ -168,7 +168,7 @@ Customer Shipment -+++++++++++++++++ +----------------- A customer shipment is used for sending products to customer. It is mainly composed of a party (the customer), a location (the warehouse @@ -223,7 +223,7 @@ Internal Shipment -+++++++++++++++++ +----------------- An internal shipment is used for sending products across locations inside the company. It is mainly composed of two locations and a list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.6/product.py new/trytond_stock-4.6.7/product.py --- old/trytond_stock-4.6.6/product.py 2018-08-20 22:55:18.000000000 +0200 +++ new/trytond_stock-4.6.7/product.py 2019-05-28 09:59:45.000000000 +0200 @@ -290,9 +290,25 @@ class ProductQuantitiesByWarehouse(ModelSQL, ModelView): 'Product Quantities By Warehouse' __name__ = 'stock.product_quantities_warehouse' - date = fields.Date('Date') + + class _Date(fields.Date): + def get(self, ids, model, name, values=None): + if values is None: + values = {} + result = {} + for v in values: + date = v[name] + # SQLite does not convert to date + if isinstance(date, str): + date = datetime.date(*map(int, date.split('-', 2))) + result[v['id']] = date + return result + + date = _Date('Date') quantity = fields.Function(fields.Float('Quantity'), 'get_quantity') + del _Date + @classmethod def __setup__(cls): super(ProductQuantitiesByWarehouse, cls).__setup__() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.6/tryton.cfg new/trytond_stock-4.6.7/tryton.cfg --- old/trytond_stock-4.6.6/tryton.cfg 2019-03-15 19:26:24.000000000 +0100 +++ new/trytond_stock-4.6.7/tryton.cfg 2019-04-22 11:00:08.000000000 +0200 @@ -1,5 +1,5 @@ [tryton] -version=4.6.6 +version=4.6.7 depends: company currency diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.6/trytond_stock.egg-info/PKG-INFO new/trytond_stock-4.6.7/trytond_stock.egg-info/PKG-INFO --- old/trytond_stock-4.6.6/trytond_stock.egg-info/PKG-INFO 2019-04-22 10:59:49.000000000 +0200 +++ new/trytond_stock-4.6.7/trytond_stock.egg-info/PKG-INFO 2019-06-10 18:59:03.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond-stock -Version: 4.6.6 +Version: 4.6.7 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton
