Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2019-06-01 09:48:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_stock" Sat Jun 1 09:48:16 2019 rev:12 rq:705912 version:4.6.6 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2019-01-21 10:50:01.148043878 +0100 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new.5148/trytond_stock.changes 2019-06-01 09:48:18.703348622 +0200 @@ -1,0 +2,10 @@ +Fri May 17 10:30:46 UTC 2019 - Axel Braun <[email protected]> + +- Version 4.6.6 - Bugfix Release + +------------------------------------------------------------------- +Sun Mar 24 19:06:30 UTC 2019 - Axel Braun <[email protected]> + +- Version 4.6.5 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond_stock-4.6.4.tar.gz New: ---- trytond_stock-4.6.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond_stock.spec ++++++ --- /var/tmp/diff_new_pack.PsDy6M/_old 2019-06-01 09:48:20.223348103 +0200 +++ /var/tmp/diff_new_pack.PsDy6M/_new 2019-06-01 09:48:20.259348091 +0200 @@ -1,7 +1,7 @@ # # spec file for package trytond_stock # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2014-2016 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %define majorver 4.6 Name: trytond_stock -Version: %{majorver}.4 +Version: %{majorver}.6 Release: 0 Summary: The "stock" module for the Tryton ERP system License: GPL-3.0-only ++++++ trytond_stock-4.6.4.tar.gz -> trytond_stock-4.6.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.4/.hgtags new/trytond_stock-4.6.6/.hgtags --- old/trytond_stock-4.6.4/.hgtags 2018-11-12 23:46:43.000000000 +0100 +++ new/trytond_stock-4.6.6/.hgtags 2019-04-22 10:59:49.000000000 +0200 @@ -21,3 +21,5 @@ 8e763eb7a57ae23ea3291c639da555a7335a22a1 4.6.2 e24ad5a6b468f1cde9ee3d268de9035bf2cf46fb 4.6.3 14bda8a14924fa28a1efd093974e611cf66cf478 4.6.4 +b4a7de54553df7855985ea79f8ee18ddaec339bb 4.6.5 +23286f7fcb42114cf3613c11959eda9e3e6ccc20 4.6.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.4/CHANGELOG new/trytond_stock-4.6.6/CHANGELOG --- old/trytond_stock-4.6.4/CHANGELOG 2018-11-12 23:46:42.000000000 +0100 +++ new/trytond_stock-4.6.6/CHANGELOG 2019-04-22 10:59:48.000000000 +0200 @@ -1,3 +1,9 @@ +Version 4.6.6 - 2019-04-22 +* Bug fixes (see mercurial logs for details) + +Version 4.6.5 - 2019-03-15 +* Bug fixes (see mercurial logs for details) + Version 4.6.4 - 2018-11-12 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.4/COPYRIGHT new/trytond_stock-4.6.6/COPYRIGHT --- old/trytond_stock-4.6.4/COPYRIGHT 2018-11-12 23:46:42.000000000 +0100 +++ new/trytond_stock-4.6.6/COPYRIGHT 2019-04-22 10:59:48.000000000 +0200 @@ -1,7 +1,7 @@ Copyright (C) 2012 Openlabs Technologies & Consulting (P) LTD. -Copyright (C) 2008-2018 Cédric Krier. +Copyright (C) 2008-2019 Cédric Krier. Copyright (C) 2008-2013 Bertrand Chenal. -Copyright (C) 2008-2018 B2CK SPRL. +Copyright (C) 2008-2019 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.6.4/PKG-INFO new/trytond_stock-4.6.6/PKG-INFO --- old/trytond_stock-4.6.4/PKG-INFO 2018-11-12 23:46:43.000000000 +0100 +++ new/trytond_stock-4.6.6/PKG-INFO 2019-04-22 10:59:50.000000000 +0200 @@ -1,13 +1,12 @@ Metadata-Version: 1.1 Name: trytond_stock -Version: 4.6.4 +Version: 4.6.6 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton Author-email: [email protected] License: GPL-3 Download-URL: http://downloads.tryton.org/4.6/ -Description-Content-Type: UNKNOWN Description: trytond_stock ============= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.4/location.py new/trytond_stock-4.6.6/location.py --- old/trytond_stock-4.6.4/location.py 2018-08-20 22:55:18.000000000 +0200 +++ new/trytond_stock-4.6.6/location.py 2019-04-10 19:12:16.000000000 +0200 @@ -292,12 +292,14 @@ @classmethod def search_rec_name(cls, name, clause): - locations = cls.search([ - ('code', '=', clause[2]), - ], order=[]) - if locations: - return [('id', 'in', [l.id for l in locations])] - return [(cls._rec_name,) + tuple(clause[1:])] + if clause[1].startswith('!') or clause[1].startswith('not '): + bool_op = 'AND' + else: + bool_op = 'OR' + return [bool_op, + (cls._rec_name,) + tuple(clause[1:]), + ('code',) + tuple(clause[1:]), + ] @classmethod def get_quantity(cls, locations, name): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.4/move.py new/trytond_stock-4.6.6/move.py --- old/trytond_stock-4.6.4/move.py 2018-10-02 13:02:09.000000000 +0200 +++ new/trytond_stock-4.6.6/move.py 2019-02-28 23:19:46.000000000 +0100 @@ -919,6 +919,8 @@ location_qties[location] = Uom.compute_qty( move.product.default_uom, pbl[key], move.uom, round=False) + # Prevent to pick from the destination location + location_qties.pop(move.to_location, None) to_pick = move.pick_product(location_qties) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.4/tryton.cfg new/trytond_stock-4.6.6/tryton.cfg --- old/trytond_stock-4.6.4/tryton.cfg 2018-08-20 22:55:18.000000000 +0200 +++ new/trytond_stock-4.6.6/tryton.cfg 2019-03-15 19:26:24.000000000 +0100 @@ -1,5 +1,5 @@ [tryton] -version=4.6.4 +version=4.6.6 depends: company currency diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.4/trytond_stock.egg-info/PKG-INFO new/trytond_stock-4.6.6/trytond_stock.egg-info/PKG-INFO --- old/trytond_stock-4.6.4/trytond_stock.egg-info/PKG-INFO 2018-11-12 23:46:43.000000000 +0100 +++ new/trytond_stock-4.6.6/trytond_stock.egg-info/PKG-INFO 2019-04-22 10:59:49.000000000 +0200 @@ -1,13 +1,12 @@ Metadata-Version: 1.1 Name: trytond-stock -Version: 4.6.4 +Version: 4.6.6 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton Author-email: [email protected] License: GPL-3 Download-URL: http://downloads.tryton.org/4.6/ -Description-Content-Type: UNKNOWN Description: trytond_stock =============
