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 2022-06-12 17:41:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_stock_supply (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_stock_supply.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_stock_supply"

Sun Jun 12 17:41:30 2022 rev:18 rq:982125 version:6.0.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/trytond_stock_supply/trytond_stock_supply.changes    
    2022-04-20 16:57:51.618652769 +0200
+++ 
/work/SRC/openSUSE:Factory/.trytond_stock_supply.new.1548/trytond_stock_supply.changes
      2022-06-12 17:43:17.286497514 +0200
@@ -1,0 +2,5 @@
+Sat Jun  4 08:09:28 UTC 2022 - Axel Braun <[email protected]>
+
+- Version 6.0.3 - Bugfix Release
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ trytond_stock_supply.spec ++++++
--- /var/tmp/diff_new_pack.a11f2t/_old  2022-06-12 17:43:17.746498174 +0200
+++ /var/tmp/diff_new_pack.a11f2t/_new  2022-06-12 17:43:17.750498179 +0200
@@ -19,7 +19,7 @@
 
 %define         majorver 6.0
 Name:           trytond_stock_supply
-Version:        %{majorver}.2
+Version:        %{majorver}.3
 Release:        0
 Summary:        The Stock Supply module for the Tryton ERP system
 License:        GPL-3.0-only

++++++ trytond_stock_supply-6.0.2.tar.gz -> trytond_stock_supply-6.0.3.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_supply-6.0.2/.hgtags 
new/trytond_stock_supply-6.0.3/.hgtags
--- old/trytond_stock_supply-6.0.2/.hgtags      2022-04-15 21:31:05.000000000 
+0200
+++ new/trytond_stock_supply-6.0.3/.hgtags      2022-06-03 19:10:57.000000000 
+0200
@@ -26,3 +26,4 @@
 d527c60bfe0bc723779200d118179faa7f96ba4a 6.0.0
 7c13addfa07217e498c00f83117517b179d33f1b 6.0.1
 47e2a56c3eb9cd49ad460d35fc16dab4c334384b 6.0.2
+aeafed90f31c18b914b74cfd675f897dc41ca6cd 6.0.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_supply-6.0.2/CHANGELOG 
new/trytond_stock_supply-6.0.3/CHANGELOG
--- old/trytond_stock_supply-6.0.2/CHANGELOG    2022-04-15 21:31:04.000000000 
+0200
+++ new/trytond_stock_supply-6.0.3/CHANGELOG    2022-06-03 19:10:56.000000000 
+0200
@@ -1,3 +1,6 @@
+Version 6.0.3 - 2022-06-03
+* Bug fixes (see mercurial logs for details)
+
 Version 6.0.2 - 2022-04-15
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_supply-6.0.2/PKG-INFO 
new/trytond_stock_supply-6.0.3/PKG-INFO
--- old/trytond_stock_supply-6.0.2/PKG-INFO     2022-04-15 21:31:08.026734800 
+0200
+++ new/trytond_stock_supply-6.0.3/PKG-INFO     2022-06-03 19:11:00.831969000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond_stock_supply
-Version: 6.0.2
+Version: 6.0.3
 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.2/purchase_request.py 
new/trytond_stock_supply-6.0.3/purchase_request.py
--- old/trytond_stock_supply-6.0.2/purchase_request.py  2022-04-14 
23:50:29.000000000 +0200
+++ new/trytond_stock_supply-6.0.3/purchase_request.py  2022-06-02 
13:38:16.000000000 +0200
@@ -132,7 +132,7 @@
         # delete purchase requests without a purchase line
         products = set(products)
         reqs = cls.search([
-                ('purchase_line', '=', None),
+                ('state', '=', 'draft'),
                 ('origin', 'like', 'stock.order_point,%'),
                 ])
         reqs = [r for r in reqs
@@ -223,6 +223,8 @@
 
         for product_supplier in product.product_suppliers_used(**pattern):
             supply_date = product_supplier.compute_supply_date(date=today)
+            if supply_date == datetime.date.max:
+                continue
             next_day = today + product_supplier.get_supply_period()
             next_supply_date = product_supplier.compute_supply_date(
                 date=next_day)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock_supply-6.0.2/tryton.cfg 
new/trytond_stock_supply-6.0.3/tryton.cfg
--- old/trytond_stock_supply-6.0.2/tryton.cfg   2021-07-21 08:27:03.000000000 
+0200
+++ new/trytond_stock_supply-6.0.3/tryton.cfg   2022-04-15 21:31:19.000000000 
+0200
@@ -1,5 +1,5 @@
 [tryton]
-version=6.0.2
+version=6.0.3
 depends:
     account
     ir
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_stock_supply-6.0.2/trytond_stock_supply.egg-info/PKG-INFO 
new/trytond_stock_supply-6.0.3/trytond_stock_supply.egg-info/PKG-INFO
--- old/trytond_stock_supply-6.0.2/trytond_stock_supply.egg-info/PKG-INFO       
2022-04-15 21:31:07.000000000 +0200
+++ new/trytond_stock_supply-6.0.3/trytond_stock_supply.egg-info/PKG-INFO       
2022-06-03 19:10:59.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond-stock-supply
-Version: 6.0.2
+Version: 6.0.3
 Summary: Tryton module for stock supply
 Home-page: http://www.tryton.org/
 Author: Tryton

Reply via email to