Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package trytond_stock_supply for 
openSUSE:Factory checked in at 2024-02-11 15:46:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_stock_supply (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_stock_supply.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_stock_supply"

Sun Feb 11 15:46:13 2024 rev:24 rq:1145846 version:6.0.7

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/trytond_stock_supply/trytond_stock_supply.changes    
    2024-01-23 22:57:02.262375223 +0100
+++ 
/work/SRC/openSUSE:Factory/.trytond_stock_supply.new.1815/trytond_stock_supply.changes
      2024-02-11 15:46:18.712266475 +0100
@@ -1,0 +2,5 @@
+Sat Feb  3 19:06:18 UTC 2024 - Axel Braun <axel.br...@gmx.de>
+
+- Version 6.0.7 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_stock_supply-6.0.6.tar.gz
  trytond_stock_supply-6.0.6.tar.gz.asc

New:
----
  trytond_stock_supply-6.0.7.tar.gz
  trytond_stock_supply-6.0.7.tar.gz.asc

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

Other differences:
------------------
++++++ trytond_stock_supply.spec ++++++
--- /var/tmp/diff_new_pack.uOXmoB/_old  2024-02-11 15:46:19.376290349 +0100
+++ /var/tmp/diff_new_pack.uOXmoB/_new  2024-02-11 15:46:19.380290493 +0100
@@ -29,7 +29,7 @@
 
 %define         majorver 6.0
 Name:           trytond_stock_supply
-Version:        %{majorver}.6
+Version:        %{majorver}.7
 Release:        0
 Summary:        The Stock Supply module for the Tryton ERP system
 License:        GPL-3.0-only

++++++ trytond_stock_supply-6.0.6.tar.gz -> trytond_stock_supply-6.0.7.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_supply-6.0.6/.readthedocs.yaml 
new/trytond_stock_supply-6.0.7/.readthedocs.yaml
--- old/trytond_stock_supply-6.0.6/.readthedocs.yaml    1970-01-01 
01:00:00.000000000 +0100
+++ new/trytond_stock_supply-6.0.7/.readthedocs.yaml    2023-08-06 
19:28:07.000000000 +0200
@@ -0,0 +1,7 @@
+version: 2
+build:
+  os: ubuntu-22.04
+  tools:
+    python: "3"
+sphinx:
+  configuration: modules/stock_supply/doc/conf.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_supply-6.0.6/CHANGELOG 
new/trytond_stock_supply-6.0.7/CHANGELOG
--- old/trytond_stock_supply-6.0.6/CHANGELOG    2023-05-17 22:43:51.000000000 
+0200
+++ new/trytond_stock_supply-6.0.7/CHANGELOG    2024-01-16 00:13:24.000000000 
+0100
@@ -1,4 +1,9 @@
 
+Version 6.0.7 - 2024-01-15
+--------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 6.0.6 - 2023-05-17
 --------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_supply-6.0.6/PKG-INFO 
new/trytond_stock_supply-6.0.7/PKG-INFO
--- old/trytond_stock_supply-6.0.6/PKG-INFO     2023-05-17 22:43:54.307754500 
+0200
+++ new/trytond_stock_supply-6.0.7/PKG-INFO     2024-01-16 00:13:26.853398600 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond_stock_supply
-Version: 6.0.6
+Version: 6.0.7
 Summary: Tryton module for stock supply
 Home-page: http://www.tryton.org/
 Author: Tryton
@@ -50,6 +50,14 @@
 Classifier: Topic :: Office/Business
 Requires-Python: >=3.6
 License-File: LICENSE
+Requires-Dist: python-sql
+Requires-Dist: trytond_account<6.1,>=6.0
+Requires-Dist: trytond_party<6.1,>=6.0
+Requires-Dist: trytond_product<6.1,>=6.0
+Requires-Dist: trytond_purchase<6.1,>=6.0
+Requires-Dist: trytond_purchase_request<6.1,>=6.0
+Requires-Dist: trytond_stock<6.1,>=6.0
+Requires-Dist: trytond<6.1,>=6.0
 
 Stock Supply Module
 ###################
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_supply-6.0.6/stock.py 
new/trytond_stock_supply-6.0.7/stock.py
--- old/trytond_stock_supply-6.0.6/stock.py     2022-12-19 13:03:46.000000000 
+0100
+++ new/trytond_stock_supply-6.0.7/stock.py     2024-01-08 12:00:18.000000000 
+0100
@@ -43,26 +43,29 @@
         Warning = pool.get('res.user.warning')
         today = Date.today()
         with Transaction().set_context(_check_access=True):
-            if Move.search([
-                        ('from_location.type', '=', 'supplier'),
-                        ('to_location.type', '=', 'storage'),
-                        ('state', '=', 'draft'),
-                        ('planned_date', '<', today),
-                        ], order=[]):
-                name = '%s.supplier@%s' % (self.__name__, today)
-                if Warning.check(name):
-                    raise SupplyWarning(name,
-                        gettext('stock_supply.msg_late_supplier_moves'))
-            if Move.search([
-                        ('from_location.type', '=', 'storage'),
-                        ('to_location.type', '=', 'customer'),
-                        ('state', '=', 'draft'),
-                        ('planned_date', '<', today),
-                        ], order=[]):
-                name = '%s..customer@%s' % (self.__name__, today)
-                if Warning.check(name):
-                    raise SupplyWarning(name,
-                        gettext('stock_supply.msg_late_customer_moves'))
+            moves = Move.search([
+                    ('from_location.type', '=', 'supplier'),
+                    ('to_location.type', '=', 'storage'),
+                    ('state', '=', 'draft'),
+                    ('planned_date', '<', today),
+                    ], order=[], limit=1)
+        if moves:
+            name = '%s.supplier@%s' % (self.__name__, today)
+            if Warning.check(name):
+                raise SupplyWarning(name,
+                    gettext('stock_supply.msg_late_supplier_moves'))
+        with Transaction().set_context(_check_access=True):
+            moves = Move.search([
+                    ('from_location.type', '=', 'storage'),
+                    ('to_location.type', '=', 'customer'),
+                    ('state', '=', 'draft'),
+                    ('planned_date', '<', today),
+                    ], order=[], limit=1)
+        if moves:
+            name = '%s..customer@%s' % (self.__name__, today)
+            if Warning.check(name):
+                raise SupplyWarning(name,
+                    gettext('stock_supply.msg_late_customer_moves'))
 
         first = True
         created = False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_supply-6.0.6/tryton.cfg 
new/trytond_stock_supply-6.0.7/tryton.cfg
--- old/trytond_stock_supply-6.0.6/tryton.cfg   2023-03-04 12:15:46.000000000 
+0100
+++ new/trytond_stock_supply-6.0.7/tryton.cfg   2023-05-17 23:04:53.000000000 
+0200
@@ -1,5 +1,5 @@
 [tryton]
-version=6.0.6
+version=6.0.7
 depends:
     account
     ir
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_stock_supply-6.0.6/trytond_stock_supply.egg-info/PKG-INFO 
new/trytond_stock_supply-6.0.7/trytond_stock_supply.egg-info/PKG-INFO
--- old/trytond_stock_supply-6.0.6/trytond_stock_supply.egg-info/PKG-INFO       
2023-05-17 22:43:53.000000000 +0200
+++ new/trytond_stock_supply-6.0.7/trytond_stock_supply.egg-info/PKG-INFO       
2024-01-16 00:13:26.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond-stock-supply
-Version: 6.0.6
+Version: 6.0.7
 Summary: Tryton module for stock supply
 Home-page: http://www.tryton.org/
 Author: Tryton
@@ -50,6 +50,14 @@
 Classifier: Topic :: Office/Business
 Requires-Python: >=3.6
 License-File: LICENSE
+Requires-Dist: python-sql
+Requires-Dist: trytond_account<6.1,>=6.0
+Requires-Dist: trytond_party<6.1,>=6.0
+Requires-Dist: trytond_product<6.1,>=6.0
+Requires-Dist: trytond_purchase<6.1,>=6.0
+Requires-Dist: trytond_purchase_request<6.1,>=6.0
+Requires-Dist: trytond_stock<6.1,>=6.0
+Requires-Dist: trytond<6.1,>=6.0
 
 Stock Supply Module
 ###################
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_stock_supply-6.0.6/trytond_stock_supply.egg-info/SOURCES.txt 
new/trytond_stock_supply-6.0.7/trytond_stock_supply.egg-info/SOURCES.txt
--- old/trytond_stock_supply-6.0.6/trytond_stock_supply.egg-info/SOURCES.txt    
2023-05-17 22:43:54.000000000 +0200
+++ new/trytond_stock_supply-6.0.7/trytond_stock_supply.egg-info/SOURCES.txt    
2024-01-16 00:13:26.000000000 +0100
@@ -1,3 +1,4 @@
+.readthedocs.yaml
 CHANGELOG
 COPYRIGHT
 LICENSE

Reply via email to