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 2021-05-18 18:26:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_stock.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_stock"

Tue May 18 18:26:58 2021 rev:22 rq:893826 version:5.0.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes      
2021-03-02 12:45:09.700340215 +0100
+++ /work/SRC/openSUSE:Factory/.trytond_stock.new.2988/trytond_stock.changes    
2021-05-18 18:27:22.370720462 +0200
@@ -1,0 +2,5 @@
+Mon May 10 18:18:14 UTC 2021 - Axel Braun <[email protected]>
+
+- Version 5.0.13 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_stock-5.0.12.tar.gz
  trytond_stock-5.0.12.tar.gz.asc

New:
----
  trytond_stock-5.0.13.tar.gz
  trytond_stock-5.0.13.tar.gz.asc

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

Other differences:
------------------
++++++ trytond_stock.spec ++++++
--- /var/tmp/diff_new_pack.zmR0QC/_old  2021-05-18 18:27:23.882713909 +0200
+++ /var/tmp/diff_new_pack.zmR0QC/_new  2021-05-18 18:27:23.886713892 +0200
@@ -19,7 +19,7 @@
 
 %define majorver 5.0
 Name:           trytond_stock
-Version:        %{majorver}.12
+Version:        %{majorver}.13
 Release:        0
 Summary:        The "stock" module for the Tryton ERP system
 License:        GPL-3.0-only

++++++ trytond_stock-5.0.12.tar.gz -> trytond_stock-5.0.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-5.0.12/.hgtags 
new/trytond_stock-5.0.13/.hgtags
--- old/trytond_stock-5.0.12/.hgtags    2021-02-01 23:07:44.000000000 +0100
+++ new/trytond_stock-5.0.13/.hgtags    2021-05-05 22:48:31.000000000 +0200
@@ -31,3 +31,4 @@
 cbb30461e6c588d68bd536892e568225f1c301b4 5.0.10
 a8798d9c0d401b1d502d3c1da444d0e40af96c3e 5.0.11
 90609a875da675cbd4aa3a8ff7adcb51cf253ae4 5.0.12
+9df0d65c5200b055218c7bfccf49cb21abebe12a 5.0.13
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-5.0.12/CHANGELOG 
new/trytond_stock-5.0.13/CHANGELOG
--- old/trytond_stock-5.0.12/CHANGELOG  2021-02-01 23:07:44.000000000 +0100
+++ new/trytond_stock-5.0.13/CHANGELOG  2021-05-05 22:48:30.000000000 +0200
@@ -1,3 +1,6 @@
+Version 5.0.13 - 2021-05-05
+* Bug fixes (see mercurial logs for details)
+
 Version 5.0.12 - 2021-02-01
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-5.0.12/PKG-INFO 
new/trytond_stock-5.0.13/PKG-INFO
--- old/trytond_stock-5.0.12/PKG-INFO   2021-02-01 23:07:46.081994000 +0100
+++ new/trytond_stock-5.0.13/PKG-INFO   2021-05-05 22:48:32.686644000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: trytond_stock
-Version: 5.0.12
+Version: 5.0.13
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Author: Tryton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-5.0.12/product.py 
new/trytond_stock-5.0.13/product.py
--- old/trytond_stock-5.0.12/product.py 2021-01-24 19:46:06.000000000 +0100
+++ new/trytond_stock-5.0.13/product.py 2021-04-19 23:58:11.000000000 +0200
@@ -59,6 +59,20 @@
                             Template.raise_user_error(error)
                         # No moves for those records
                         break
+
+                if not values.get('template'):
+                    continue
+                template = Template(values['template'])
+                for record in records:
+                    for field, msg in Template._modify_no_move:
+                        if isinstance(
+                                getattr(Template, field), fields.Function):
+                            continue
+                        if getattr(record, field) != getattr(template, field):
+                            if find_moves(cls, [record]):
+                                raise AccessError(gettext(msg))
+                            # No moves for this record
+                            break
         func(cls, *args)
     return decorator
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-5.0.12/tryton.cfg 
new/trytond_stock-5.0.13/tryton.cfg
--- old/trytond_stock-5.0.12/tryton.cfg 2020-12-02 19:36:49.000000000 +0100
+++ new/trytond_stock-5.0.13/tryton.cfg 2021-02-01 23:07:55.000000000 +0100
@@ -1,5 +1,5 @@
 [tryton]
-version=5.0.12
+version=5.0.13
 depends:
     company
     currency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-5.0.12/trytond_stock.egg-info/PKG-INFO 
new/trytond_stock-5.0.13/trytond_stock.egg-info/PKG-INFO
--- old/trytond_stock-5.0.12/trytond_stock.egg-info/PKG-INFO    2021-02-01 
23:07:45.000000000 +0100
+++ new/trytond_stock-5.0.13/trytond_stock.egg-info/PKG-INFO    2021-05-05 
22:48:32.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: trytond-stock
-Version: 5.0.12
+Version: 5.0.13
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Author: Tryton

Reply via email to