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 2025-01-05 15:28:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_stock.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_stock"

Sun Jan  5 15:28:39 2025 rev:44 rq:1234603 version:6.0.31

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes      
2024-12-02 17:00:01.471444064 +0100
+++ /work/SRC/openSUSE:Factory/.trytond_stock.new.1881/trytond_stock.changes    
2025-01-05 15:28:44.811569174 +0100
@@ -1,0 +2,5 @@
+Thu Jan  2 17:35:12 UTC 2025 - Axel Braun <axel.br...@gmx.de>
+
+- Version 6.0.31 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_stock-6.0.30.tar.gz

New:
----
  trytond_stock-6.0.31.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ trytond_stock.spec ++++++
--- /var/tmp/diff_new_pack.Dm3Iku/_old  2025-01-05 15:28:46.263628899 +0100
+++ /var/tmp/diff_new_pack.Dm3Iku/_new  2025-01-05 15:28:46.267629064 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package trytond_stock
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 # Copyright (c) 2014-2024 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -29,7 +29,7 @@
 
 %define majorver 6.0
 Name:           trytond_stock
-Version:        %{majorver}.30
+Version:        %{majorver}.31
 Release:        0
 Summary:        The "stock" module for the Tryton ERP system
 License:        GPL-3.0-only

++++++ trytond_stock-6.0.30.tar.gz -> trytond_stock-6.0.31.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-6.0.30/CHANGELOG 
new/trytond_stock-6.0.31/CHANGELOG
--- old/trytond_stock-6.0.30/CHANGELOG  2024-10-18 14:01:28.000000000 +0200
+++ new/trytond_stock-6.0.31/CHANGELOG  2025-01-01 20:37:21.000000000 +0100
@@ -1,4 +1,9 @@
 
+Version 6.0.31 - 2025-01-01
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 6.0.30 - 2024-10-18
 ---------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-6.0.30/PKG-INFO 
new/trytond_stock-6.0.31/PKG-INFO
--- old/trytond_stock-6.0.30/PKG-INFO   2024-10-18 14:01:31.425806800 +0200
+++ new/trytond_stock-6.0.31/PKG-INFO   2025-01-01 20:37:24.025498200 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond_stock
-Version: 6.0.30
+Version: 6.0.31
 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.30/product.py 
new/trytond_stock-6.0.31/product.py
--- old/trytond_stock-6.0.30/product.py 2024-10-14 23:57:17.000000000 +0200
+++ new/trytond_stock-6.0.31/product.py 2024-12-30 19:02:21.000000000 +0100
@@ -168,11 +168,11 @@
             products = [p for p in products
                 if p.create_date <= context['_datetime']]
         with Transaction().set_context(context):
-            for product in cls.browse(products):
+            for product, h_product in zip(products, cls.browse(products)):
                 # The product may not have a cost price
-                if product.cost_price is not None:
+                if h_product.cost_price is not None:
                     cost_values[product.id] = round_price(
-                        Decimal(str(product.quantity)) * product.cost_price)
+                        Decimal(str(product.quantity)) * h_product.cost_price)
         return cost_values
 
     @classmethod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-6.0.30/tryton.cfg 
new/trytond_stock-6.0.31/tryton.cfg
--- old/trytond_stock-6.0.30/tryton.cfg 2024-10-05 17:37:30.000000000 +0200
+++ new/trytond_stock-6.0.31/tryton.cfg 2024-10-18 14:01:39.000000000 +0200
@@ -1,5 +1,5 @@
 [tryton]
-version=6.0.30
+version=6.0.31
 depends:
     company
     currency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-6.0.30/trytond_stock.egg-info/PKG-INFO 
new/trytond_stock-6.0.31/trytond_stock.egg-info/PKG-INFO
--- old/trytond_stock-6.0.30/trytond_stock.egg-info/PKG-INFO    2024-10-18 
14:01:30.000000000 +0200
+++ new/trytond_stock-6.0.31/trytond_stock.egg-info/PKG-INFO    2025-01-01 
20:37:23.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond_stock
-Version: 6.0.30
+Version: 6.0.31
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/6.0/

Reply via email to