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 2026-06-12 19:27:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_stock_lot (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_stock_lot.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_stock_lot"

Fri Jun 12 19:27:43 2026 rev:22 rq:1358797 version:7.0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_stock_lot/trytond_stock_lot.changes      
2025-12-22 22:51:38.918978633 +0100
+++ 
/work/SRC/openSUSE:Factory/.trytond_stock_lot.new.1981/trytond_stock_lot.changes
    2026-06-12 19:28:37.744964002 +0200
@@ -1,0 +2,5 @@
+Fri Jun 12 00:24:33 UTC 2026 - Axel Braun <[email protected]>
+
+- Version 7.0.6 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_stock_lot-7.0.5.tar.gz

New:
----
  trytond_stock_lot-7.0.6.tar.gz

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

Other differences:
------------------
++++++ trytond_stock_lot.spec ++++++
--- /var/tmp/diff_new_pack.Z7QYFa/_old  2026-06-12 19:28:39.993058066 +0200
+++ /var/tmp/diff_new_pack.Z7QYFa/_new  2026-06-12 19:28:40.025059405 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package trytond_stock_lot
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 # Copyright (c) 2014-2024 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -29,7 +29,7 @@
 
 %define majorver 7.0
 Name:           trytond_stock_lot
-Version:        %{majorver}.5
+Version:        %{majorver}.6
 Release:        0
 Summary:        The "stock_lot" module of the Tryton ERP system
 License:        GPL-3.0-or-later

++++++ trytond_stock_lot-7.0.5.tar.gz -> trytond_stock_lot-7.0.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_lot-7.0.5/CHANGELOG 
new/trytond_stock_lot-7.0.6/CHANGELOG
--- old/trytond_stock_lot-7.0.5/CHANGELOG       2025-12-17 19:35:00.000000000 
+0100
+++ new/trytond_stock_lot-7.0.6/CHANGELOG       2026-05-02 14:09:42.000000000 
+0200
@@ -1,4 +1,9 @@
 
+Version 7.0.6 - 2026-05-02
+--------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 7.0.5 - 2025-12-17
 --------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_lot-7.0.5/PKG-INFO 
new/trytond_stock_lot-7.0.6/PKG-INFO
--- old/trytond_stock_lot-7.0.5/PKG-INFO        2025-12-17 19:35:03.662691800 
+0100
+++ new/trytond_stock_lot-7.0.6/PKG-INFO        2026-05-02 14:09:45.130302000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond_stock_lot
-Version: 7.0.5
+Version: 7.0.6
 Summary: Tryton module for lot of products
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/7.0/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_lot-7.0.5/stock.py 
new/trytond_stock_lot-7.0.6/stock.py
--- old/trytond_stock_lot-7.0.5/stock.py        2025-12-14 20:18:28.000000000 
+0100
+++ new/trytond_stock_lot-7.0.6/stock.py        2026-04-30 20:09:10.000000000 
+0200
@@ -515,6 +515,11 @@
                     'stock_lot.msg_move_add_lot_quantity',
                     lot_quantity=lang.format_number(lot_quantity, digits),
                     move_quantity=lang.format_number(move_quantity, digits)))
+        moves = [self.record]
+        state = self.record.state
+        self.model.write(moves, {
+                'state': 'draft',
+                })
         lots = []
         for line in self.start.lots:
             lot = line.get_lot(self.record)
@@ -530,10 +535,13 @@
                 self.record.save()
             else:
                 with Transaction().set_context(_stock_move_split=True):
-                    self.model.copy([self.record], {
-                            'quantity': line.quantity,
-                            'lot': lot.id,
-                            })
+                    moves.extend(self.model.copy([self.record], {
+                                'quantity': line.quantity,
+                                'lot': lot.id,
+                                }))
+        self.model.write(moves, {
+                'state': state,
+                })
         return 'end'
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_lot-7.0.5/tryton.cfg 
new/trytond_stock_lot-7.0.6/tryton.cfg
--- old/trytond_stock_lot-7.0.5/tryton.cfg      2025-09-22 21:34:39.000000000 
+0200
+++ new/trytond_stock_lot-7.0.6/tryton.cfg      2025-12-17 19:35:09.000000000 
+0100
@@ -1,5 +1,5 @@
 [tryton]
-version=7.0.5
+version=7.0.6
 depends:
     ir
     product
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_stock_lot-7.0.5/trytond_stock_lot.egg-info/PKG-INFO 
new/trytond_stock_lot-7.0.6/trytond_stock_lot.egg-info/PKG-INFO
--- old/trytond_stock_lot-7.0.5/trytond_stock_lot.egg-info/PKG-INFO     
2025-12-17 19:35:03.000000000 +0100
+++ new/trytond_stock_lot-7.0.6/trytond_stock_lot.egg-info/PKG-INFO     
2026-05-02 14:09:44.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond_stock_lot
-Version: 7.0.5
+Version: 7.0.6
 Summary: Tryton module for lot of products
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/7.0/

Reply via email to