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 2026-11-18 18:31:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_stock.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_stock"

Wed Nov 18 18:31:53 2026 rev:53 rq:1398364 version:7.0.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes      
2026-08-14 22:09:48.745137344 +0200
+++ /work/SRC/openSUSE:Factory/.trytond_stock.new.1251/trytond_stock.changes    
2026-11-18 18:33:25.693624256 +0100
@@ -1,0 +2,5 @@
+Wed Nov 18 10:16:58 UTC 2026 - Axel Braun <[email protected]>
+
+- Version 7.0.21 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_stock-7.0.20.tar.gz

New:
----
  trytond_stock-7.0.21.tar.gz

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

Other differences:
------------------
++++++ trytond_stock.spec ++++++
--- /var/tmp/diff_new_pack.XYgoiU/_old  2026-11-18 18:33:26.777670370 +0100
+++ /var/tmp/diff_new_pack.XYgoiU/_new  2026-11-18 18:33:26.778670413 +0100
@@ -29,7 +29,7 @@
 
 %define majorver 7.0
 Name:           trytond_stock
-Version:        %{majorver}.20
+Version:        %{majorver}.21
 Release:        0
 Summary:        The "stock" module for the Tryton ERP system
 License:        GPL-3.0-only

++++++ trytond_stock-7.0.20.tar.gz -> trytond_stock-7.0.21.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-7.0.20/CHANGELOG 
new/trytond_stock-7.0.21/CHANGELOG
--- old/trytond_stock-7.0.20/CHANGELOG  2026-07-01 22:52:20.000000000 +0200
+++ new/trytond_stock-7.0.21/CHANGELOG  2026-10-15 19:14:55.472955700 +0200
@@ -1,4 +1,9 @@
 
+Version 7.0.21 - 2026-10-15
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 7.0.20 - 2026-07-01
 ---------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-7.0.20/PKG-INFO 
new/trytond_stock-7.0.21/PKG-INFO
--- old/trytond_stock-7.0.20/PKG-INFO   2026-07-01 22:52:24.105507000 +0200
+++ new/trytond_stock-7.0.21/PKG-INFO   2026-10-15 19:14:58.633418000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond_stock
-Version: 7.0.20
+Version: 7.0.21
 Summary: Tryton module for stock and inventory
 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-7.0.20/move.py 
new/trytond_stock-7.0.21/move.py
--- old/trytond_stock-7.0.20/move.py    2026-06-30 22:34:15.000000000 +0200
+++ new/trytond_stock-7.0.21/move.py    2026-10-14 21:31:34.100904700 +0200
@@ -276,8 +276,10 @@
         help="The company the stock move is associated with.")
     unit_price = fields.Numeric('Unit Price', digits=price_digits,
         states={
-            'invisible': ~Eval('unit_price_required'),
-            'required': Bool(Eval('unit_price_required')),
+            'invisible': (
+                ~Eval('unit_price_required', False)
+                & (Eval('unit_price', None) == None)),  # noqa: E711
+            'required': Eval('unit_price_required', False),
             'readonly': Eval('state') != 'draft',
             })
     unit_price_company = fields.Function(
@@ -295,7 +297,7 @@
     cost_price = fields.Numeric(
         "Cost Price", digits=price_digits, readonly=True,
         states={
-            'invisible': ~Eval('cost_price_required'),
+            'invisible': ~Eval('cost_price_required', False),
             'required': (
                 (Eval('state') == 'done')
                 & Eval('cost_price_required', False)),
@@ -309,8 +311,10 @@
         "when different from the cost price of the move.")
     currency = fields.Many2One('currency.currency', 'Currency',
         states={
-            'invisible': ~Eval('unit_price_required'),
-            'required': Bool(Eval('unit_price_required')),
+            'invisible': (
+                ~Eval('unit_price_required')
+                & (Eval('currency', None) == None)),  # noqa: E711
+            'required': Eval('unit_price_required', False),
             'readonly': Eval('state') != 'draft',
             },
         help="The currency in which the unit price is specified.")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-7.0.20/tox.ini 
new/trytond_stock-7.0.21/tox.ini
--- old/trytond_stock-7.0.20/tox.ini    2025-09-22 21:34:39.000000000 +0200
+++ new/trytond_stock-7.0.21/tox.ini    2026-07-30 08:12:46.011502300 +0200
@@ -12,7 +12,7 @@
 deps =
     coverage
     unittest-xml-reporting
-    postgresql: psycopg2 >= 2.7.0
+    postgresql: psycopg2-binary >= 2.7.0
 passenv = *
 setenv =
     sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-7.0.20/tryton.cfg 
new/trytond_stock-7.0.21/tryton.cfg
--- old/trytond_stock-7.0.20/tryton.cfg 2026-05-02 14:11:21.000000000 +0200
+++ new/trytond_stock-7.0.21/tryton.cfg 2026-07-08 08:36:10.375217400 +0200
@@ -1,5 +1,5 @@
 [tryton]
-version=7.0.20
+version=7.0.21
 depends:
     company
     currency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_stock-7.0.20/trytond_stock.egg-info/PKG-INFO 
new/trytond_stock-7.0.21/trytond_stock.egg-info/PKG-INFO
--- old/trytond_stock-7.0.20/trytond_stock.egg-info/PKG-INFO    2026-07-01 
22:52:23.000000000 +0200
+++ new/trytond_stock-7.0.21/trytond_stock.egg-info/PKG-INFO    2026-10-15 
19:14:58.046685700 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond_stock
-Version: 7.0.20
+Version: 7.0.21
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/7.0/

Reply via email to