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 2023-05-23 14:55:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_stock_supply (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_stock_supply.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_stock_supply"

Tue May 23 14:55:23 2023 rev:21 rq:1088640 version:6.0.6

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/trytond_stock_supply/trytond_stock_supply.changes    
    2023-03-12 19:48:01.879529763 +0100
+++ 
/work/SRC/openSUSE:Factory/.trytond_stock_supply.new.1533/trytond_stock_supply.changes
      2023-05-23 14:55:45.162912433 +0200
@@ -1,0 +2,5 @@
+Sat May 20 17:02:05 UTC 2023 - Axel Braun <axel.br...@gmx.de>
+
+- Version 6.0.6 - Bugfix Release
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ trytond_stock_supply.spec ++++++
--- /var/tmp/diff_new_pack.Txy6yu/_old  2023-05-23 14:55:45.750915914 +0200
+++ /var/tmp/diff_new_pack.Txy6yu/_new  2023-05-23 14:55:45.758915961 +0200
@@ -19,7 +19,7 @@
 
 %define         majorver 6.0
 Name:           trytond_stock_supply
-Version:        %{majorver}.5
+Version:        %{majorver}.6
 Release:        0
 Summary:        The Stock Supply module for the Tryton ERP system
 License:        GPL-3.0-only

++++++ trytond_stock_supply-6.0.5.tar.gz -> trytond_stock_supply-6.0.6.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_supply-6.0.5/CHANGELOG 
new/trytond_stock_supply-6.0.6/CHANGELOG
--- old/trytond_stock_supply-6.0.5/CHANGELOG    2023-03-04 12:15:35.000000000 
+0100
+++ new/trytond_stock_supply-6.0.6/CHANGELOG    2023-05-17 22:43:51.000000000 
+0200
@@ -1,4 +1,9 @@
 
+Version 6.0.6 - 2023-05-17
+--------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 6.0.5 - 2023-03-04
 --------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_supply-6.0.5/PKG-INFO 
new/trytond_stock_supply-6.0.6/PKG-INFO
--- old/trytond_stock_supply-6.0.5/PKG-INFO     2023-03-04 12:15:38.986413200 
+0100
+++ new/trytond_stock_supply-6.0.6/PKG-INFO     2023-05-17 22:43:54.307754500 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond_stock_supply
-Version: 6.0.5
+Version: 6.0.6
 Summary: Tryton module for stock supply
 Home-page: http://www.tryton.org/
 Author: Tryton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_supply-6.0.5/purchase_request.py 
new/trytond_stock_supply-6.0.6/purchase_request.py
--- old/trytond_stock_supply-6.0.5/purchase_request.py  2023-02-05 
21:50:06.000000000 +0100
+++ new/trytond_stock_supply-6.0.6/purchase_request.py  2023-05-04 
19:19:19.000000000 +0200
@@ -141,7 +141,7 @@
         reqs = [r for r in reqs
             if r.product in products and r.warehouse in warehouses]
         cls.delete(reqs)
-        new_requests = cls.compare_requests(new_requests)
+        new_requests = cls.compare_requests(new_requests, company)
 
         cls.create_requests(new_requests)
 
@@ -156,7 +156,7 @@
         cls.save(to_save)
 
     @classmethod
-    def compare_requests(cls, new_requests):
+    def compare_requests(cls, new_requests, company):
         """
         Compare new_requests with already existing request to avoid
         to re-create existing requests.
@@ -168,6 +168,7 @@
         requests = Request.search([
                 ('purchase_line.moves', '=', None),
                 ('purchase_line.purchase.state', '!=', 'cancelled'),
+                ('company', '=', company.id),
                 ('origin', 'like', 'stock.order_point,%'),
                 ])
         # Fetch data from existing requests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_supply-6.0.5/tryton.cfg 
new/trytond_stock_supply-6.0.6/tryton.cfg
--- old/trytond_stock_supply-6.0.5/tryton.cfg   2023-02-05 22:06:38.000000000 
+0100
+++ new/trytond_stock_supply-6.0.6/tryton.cfg   2023-03-04 12:15:46.000000000 
+0100
@@ -1,5 +1,5 @@
 [tryton]
-version=6.0.5
+version=6.0.6
 depends:
     account
     ir
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_stock_supply-6.0.5/trytond_stock_supply.egg-info/PKG-INFO 
new/trytond_stock_supply-6.0.6/trytond_stock_supply.egg-info/PKG-INFO
--- old/trytond_stock_supply-6.0.5/trytond_stock_supply.egg-info/PKG-INFO       
2023-03-04 12:15:38.000000000 +0100
+++ new/trytond_stock_supply-6.0.6/trytond_stock_supply.egg-info/PKG-INFO       
2023-05-17 22:43:53.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond-stock-supply
-Version: 6.0.5
+Version: 6.0.6
 Summary: Tryton module for stock supply
 Home-page: http://www.tryton.org/
 Author: Tryton

Reply via email to