Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package trytond_stock_lot for openSUSE:Factory checked in at 2023-11-13 22:21:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond_stock_lot (Old) and /work/SRC/openSUSE:Factory/.trytond_stock_lot.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_stock_lot" Mon Nov 13 22:21:25 2023 rev:14 rq:1125410 version:6.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond_stock_lot/trytond_stock_lot.changes 2023-10-19 22:52:33.297825312 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_stock_lot.new.17445/trytond_stock_lot.changes 2023-11-13 22:25:04.748799353 +0100 @@ -1,0 +2,5 @@ +Sat Nov 4 10:12:26 UTC 2023 - Axel Braun <axel.br...@gmx.de> + +- Version 6.0.2 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond_stock_lot-6.0.1.tar.gz trytond_stock_lot-6.0.1.tar.gz.asc New: ---- trytond_stock_lot-6.0.2.tar.gz trytond_stock_lot-6.0.2.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond_stock_lot.spec ++++++ --- /var/tmp/diff_new_pack.JxI5Mu/_old 2023-11-13 22:25:05.244817616 +0100 +++ /var/tmp/diff_new_pack.JxI5Mu/_new 2023-11-13 22:25:05.244817616 +0100 @@ -19,7 +19,7 @@ %define majorver 6.0 Name: trytond_stock_lot -Version: %{majorver}.1 +Version: %{majorver}.2 Release: 0 Summary: The "stock_lot" module of the Tryton ERP system License: GPL-3.0-or-later ++++++ trytond_stock_lot-6.0.1.tar.gz -> trytond_stock_lot-6.0.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock_lot-6.0.1/CHANGELOG new/trytond_stock_lot-6.0.2/CHANGELOG --- old/trytond_stock_lot-6.0.1/CHANGELOG 2023-09-06 23:11:59.000000000 +0200 +++ new/trytond_stock_lot-6.0.2/CHANGELOG 2023-11-03 18:00:23.000000000 +0100 @@ -1,4 +1,9 @@ +Version 6.0.2 - 2023-11-03 +-------------------------- +* Bug fixes (see mercurial logs for details) + + Version 6.0.1 - 2023-09-06 -------------------------- * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock_lot-6.0.1/PKG-INFO new/trytond_stock_lot-6.0.2/PKG-INFO --- old/trytond_stock_lot-6.0.1/PKG-INFO 2023-09-06 23:12:03.595677400 +0200 +++ new/trytond_stock_lot-6.0.2/PKG-INFO 2023-11-03 18:00:26.151864800 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond_stock_lot -Version: 6.0.1 +Version: 6.0.2 Summary: Tryton module for lot of products Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/6.0/ @@ -51,6 +51,10 @@ Classifier: Topic :: Office/Business Requires-Python: >=3.6 License-File: LICENSE +Requires-Dist: python-sql +Requires-Dist: trytond_product<6.1,>=6.0 +Requires-Dist: trytond_stock<6.1,>=6.0 +Requires-Dist: trytond<6.1,>=6.0 Stock Lot Module ################ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock_lot-6.0.1/stock.py new/trytond_stock_lot-6.0.2/stock.py --- old/trytond_stock_lot-6.0.1/stock.py 2023-05-17 23:03:30.000000000 +0200 +++ new/trytond_stock_lot-6.0.2/stock.py 2023-10-30 15:00:25.000000000 +0100 @@ -79,7 +79,7 @@ 'get_quantity', searcher='search_quantity') default_uom = fields.Function( fields.Many2One('product.uom', "Default UOM"), - 'on_change_with_default_uom') + 'on_change_with_default_uom', searcher='search_default_uom') default_uom_digits = fields.Function(fields.Integer("Default Unit Digits"), 'on_change_with_default_uom_digits') @@ -108,6 +108,11 @@ if self.product: return self.product.default_uom.id + @classmethod + def search_default_uom(cls, name, clause): + nested = clause[0][len(name):] + return [('product.' + name + nested, *clause[1:])] + @fields.depends('product') def on_change_with_default_uom_digits(self, name=None): if self.product: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock_lot-6.0.1/tryton.cfg new/trytond_stock_lot-6.0.2/tryton.cfg --- old/trytond_stock_lot-6.0.1/tryton.cfg 2023-05-17 23:03:30.000000000 +0200 +++ new/trytond_stock_lot-6.0.2/tryton.cfg 2023-09-06 23:12:09.000000000 +0200 @@ -1,5 +1,5 @@ [tryton] -version=6.0.1 +version=6.0.2 depends: ir product diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock_lot-6.0.1/trytond_stock_lot.egg-info/PKG-INFO new/trytond_stock_lot-6.0.2/trytond_stock_lot.egg-info/PKG-INFO --- old/trytond_stock_lot-6.0.1/trytond_stock_lot.egg-info/PKG-INFO 2023-09-06 23:12:02.000000000 +0200 +++ new/trytond_stock_lot-6.0.2/trytond_stock_lot.egg-info/PKG-INFO 2023-11-03 18:00:25.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond-stock-lot -Version: 6.0.1 +Version: 6.0.2 Summary: Tryton module for lot of products Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/6.0/ @@ -51,6 +51,10 @@ Classifier: Topic :: Office/Business Requires-Python: >=3.6 License-File: LICENSE +Requires-Dist: python-sql +Requires-Dist: trytond_product<6.1,>=6.0 +Requires-Dist: trytond_stock<6.1,>=6.0 +Requires-Dist: trytond<6.1,>=6.0 Stock Lot Module ################