commit trytond_stock for openSUSE:Factory
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-10-30 17:38:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "trytond_stock" Wed Oct 30 17:38:53 2024 rev:42 rq:1219422 version:6.0.29 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2024-09-24 17:34:09.347288384 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new.2020/trytond_stock.changes 2024-10-30 17:39:17.188447347 +0100 @@ -1,0 +2,5 @@ +Tue Oct 8 18:03:25 UTC 2024 - Axel Braun <axel.braun@gmx.de> + +- Version 6.0.29 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond_stock-6.0.28.tar.gz New: ---- trytond_stock-6.0.29.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond_stock.spec ++++++ --- /var/tmp/diff_new_pack.YaFJMi/_old 2024-10-30 17:39:17.780472146 +0100 +++ /var/tmp/diff_new_pack.YaFJMi/_new 2024-10-30 17:39:17.780472146 +0100 @@ -29,7 +29,7 @@ %define majorver 6.0 Name: trytond_stock -Version: %{majorver}.28 +Version: %{majorver}.29 Release: 0 Summary: The "stock" module for the Tryton ERP system License: GPL-3.0-only ++++++ trytond_stock-6.0.28.tar.gz -> trytond_stock-6.0.29.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.28/CHANGELOG new/trytond_stock-6.0.29/CHANGELOG --- old/trytond_stock-6.0.28/CHANGELOG 2024-09-16 20:20:21.000000000 +0200 +++ new/trytond_stock-6.0.29/CHANGELOG 2024-10-05 17:37:18.000000000 +0200 @@ -1,4 +1,9 @@ +Version 6.0.29 - 2024-10-05 +--------------------------- +* Bug fixes (see mercurial logs for details) + + Version 6.0.28 - 2024-09-16 --------------------------- * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.28/PKG-INFO new/trytond_stock-6.0.29/PKG-INFO --- old/trytond_stock-6.0.28/PKG-INFO 2024-09-16 20:20:24.049365500 +0200 +++ new/trytond_stock-6.0.29/PKG-INFO 2024-10-05 17:37:21.369146800 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond_stock -Version: 6.0.28 +Version: 6.0.29 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.28/move.py new/trytond_stock-6.0.29/move.py --- old/trytond_stock-6.0.28/move.py 2024-01-26 19:11:47.000000000 +0100 +++ new/trytond_stock-6.0.29/move.py 2024-09-28 18:06:54.000000000 +0200 @@ -550,7 +550,8 @@ @property def origin_name(self): - return self.origin.rec_name if self.origin else None + if self.origin and self.origin.id >= 0: + return self.origin.rec_name @classmethod def check_period_closed(cls, moves): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.28/shipment.py new/trytond_stock-6.0.29/shipment.py --- old/trytond_stock-6.0.28/shipment.py 2024-04-26 23:52:39.000000000 +0200 +++ new/trytond_stock-6.0.29/shipment.py 2024-10-04 15:07:41.000000000 +0200 @@ -28,6 +28,11 @@ ('/tree', 'visual', If(Eval('state') == 'cancelled', 'muted', '')), ] + @classmethod + def copy(cls, shipments, default=None): + default = default.copy() if default is not None else {} + return super().copy(shipments, default=default) + class ShipmentAssignMixin(ShipmentMixin): _assign_moves_field = None @@ -454,6 +459,7 @@ default.setdefault('inventory_moves', None) default.setdefault('incoming_moves', None) default.setdefault('number', None) + default.setdefault('moves.origin', None) default.setdefault('received_by', None) default.setdefault('done_by', None) return super(ShipmentIn, cls).copy(shipments, default=default) @@ -811,6 +817,7 @@ else: default = default.copy() default.setdefault('number', None) + default.setdefault('moves.origin', None) default.setdefault('assigned_by', None) default.setdefault('done_by', None) return super(ShipmentInReturn, cls).copy(shipments, default=default) @@ -1507,6 +1514,7 @@ default.setdefault('inventory_moves', None) default.setdefault('outgoing_moves', None) default.setdefault('number', None) + default.setdefault('moves.origin', None) default.setdefault('picked_by', None) default.setdefault('packed_by', None) default.setdefault('done_by', None) @@ -1897,6 +1905,7 @@ default.setdefault('inventory_moves', None) default.setdefault('incoming_moves', None) default.setdefault('number', None) + default.setdefault('moves.origin', None) default.setdefault('received_by', None) default.setdefault('done_by', None) return super(ShipmentOutReturn, cls).copy(shipments, default=default) @@ -2390,6 +2399,7 @@ else: default = default.copy() default.setdefault('moves', outgoing_moves) + default.setdefault('moves.origin', None) default.setdefault('moves.from_location', partial( shipment_field, name='from_location')) default.setdefault('moves.to_location', partial( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.28/tryton.cfg new/trytond_stock-6.0.29/tryton.cfg --- old/trytond_stock-6.0.28/tryton.cfg 2024-09-01 13:49:05.000000000 +0200 +++ new/trytond_stock-6.0.29/tryton.cfg 2024-09-16 20:20:31.000000000 +0200 @@ -1,5 +1,5 @@ [tryton] -version=6.0.28 +version=6.0.29 depends: company currency diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.28/trytond_stock.egg-info/PKG-INFO new/trytond_stock-6.0.29/trytond_stock.egg-info/PKG-INFO --- old/trytond_stock-6.0.28/trytond_stock.egg-info/PKG-INFO 2024-09-16 20:20:23.000000000 +0200 +++ new/trytond_stock-6.0.29/trytond_stock.egg-info/PKG-INFO 2024-10-05 17:37:20.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond_stock -Version: 6.0.28 +Version: 6.0.29 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/6.0/
participants (1)
-
Source-Sync