Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package trytond_party for openSUSE:Factory 
checked in at 2026-11-18 18:31:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_party (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_party.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_party"

Wed Nov 18 18:31:51 2026 rev:21 rq:1398363 version:7.0.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_party/trytond_party.changes      
2026-01-09 17:07:06.709002611 +0100
+++ /work/SRC/openSUSE:Factory/.trytond_party.new.1251/trytond_party.changes    
2026-11-18 18:33:23.949550064 +0100
@@ -1,0 +2,5 @@
+Wed Nov 18 10:17:13 UTC 2026 - Axel Braun <[email protected]>
+
+- Version 7.0.8 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_party-7.0.7.tar.gz

New:
----
  trytond_party-7.0.8.tar.gz

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

Other differences:
------------------
++++++ trytond_party.spec ++++++
--- /var/tmp/diff_new_pack.ffWiOU/_old  2026-11-18 18:33:25.172602092 +0100
+++ /var/tmp/diff_new_pack.ffWiOU/_new  2026-11-18 18:33:25.179602390 +0100
@@ -29,7 +29,7 @@
 
 %define majorver 7.0
 Name:           trytond_party
-Version:        %{majorver}.7
+Version:        %{majorver}.8
 Release:        0
 Summary:        The "party" module for the Tryton ERP system
 License:        GPL-3.0-only

++++++ trytond_party-7.0.7.tar.gz -> trytond_party-7.0.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_party-7.0.7/CHANGELOG 
new/trytond_party-7.0.8/CHANGELOG
--- old/trytond_party-7.0.7/CHANGELOG   2026-01-02 10:58:04.000000000 +0100
+++ new/trytond_party-7.0.8/CHANGELOG   2026-10-15 19:18:00.710286900 +0200
@@ -1,4 +1,9 @@
 
+Version 7.0.8 - 2026-10-15
+--------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 7.0.7 - 2026-01-02
 --------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_party-7.0.7/COPYRIGHT 
new/trytond_party-7.0.8/COPYRIGHT
--- old/trytond_party-7.0.7/COPYRIGHT   2026-01-02 10:58:03.000000000 +0100
+++ new/trytond_party-7.0.8/COPYRIGHT   2026-10-15 19:18:00.323939600 +0200
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2025 Cédric Krier.
+Copyright (C) 2008-2026 Cédric Krier.
 Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2025 B2CK SPRL.
+Copyright (C) 2008-2026 B2CK SPRL.
 Copyright (C) 2008-2022 Udo Spallek.
 Copyright (C) 2008-2011 Korbinian Preisler.
 Copyright (C) 2008-2011 virtual things.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_party-7.0.7/PKG-INFO 
new/trytond_party-7.0.8/PKG-INFO
--- old/trytond_party-7.0.7/PKG-INFO    2026-01-02 10:58:06.826757700 +0100
+++ new/trytond_party-7.0.8/PKG-INFO    2026-10-15 19:18:03.794741200 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond_party
-Version: 7.0.7
+Version: 7.0.8
 Summary: Tryton module with parties and addresses
 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_party-7.0.7/party.py 
new/trytond_party-7.0.8/party.py
--- old/trytond_party-7.0.7/party.py    2025-12-30 18:25:58.000000000 +0100
+++ new/trytond_party-7.0.8/party.py    2026-10-14 21:36:12.054993200 +0200
@@ -358,12 +358,15 @@
         else:
             for country in eu_vat.guess_country(text):
                 if 'eu_vat' in identifier_types:
-                    code = eu_vat.compact(country + text)
-                    add('eu_vat', code)
+                    code = country + text
+                    if eu_vat.is_valid(code):
+                        code = eu_vat.compact(code)
+                        add('eu_vat', code)
                 elif f'{country}_vat' in identifier_types:
                     vat = get_cc_module(country, 'vat')
-                    code = vat.compact(text)
-                    add(f'{country}_vat', code)
+                    if vat.is_valid(text):
+                        code = vat.compact(text)
+                        add(f'{country}_vat', code)
         return result
 
     @classmethod
@@ -819,10 +822,12 @@
         if self.type and '_' in self.type:
             module = get_cc_module(*self.type.split('_', 1))
             if module:
-                try:
-                    return module.compact(self.code)
-                except stdnum.exceptions.ValidationError:
-                    pass
+                if (hasattr(module, 'is_valid')
+                        and module.is_valid(self.code)):
+                    try:
+                        return module.compact(self.code)
+                    except stdnum.exceptions.ValidationError:
+                        pass
         return self.code
 
     def pre_validate(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_party-7.0.7/tox.ini 
new/trytond_party-7.0.8/tox.ini
--- old/trytond_party-7.0.7/tox.ini     2025-09-22 21:34:39.000000000 +0200
+++ new/trytond_party-7.0.8/tox.ini     2026-07-30 08:12:45.798370400 +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_party-7.0.7/tryton.cfg 
new/trytond_party-7.0.8/tryton.cfg
--- old/trytond_party-7.0.7/tryton.cfg  2025-09-22 21:34:39.000000000 +0200
+++ new/trytond_party-7.0.8/tryton.cfg  2026-01-02 10:58:13.443512000 +0100
@@ -1,5 +1,5 @@
 [tryton]
-version=7.0.7
+version=7.0.8
 depends:
     country
     ir
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_party-7.0.7/trytond_party.egg-info/PKG-INFO 
new/trytond_party-7.0.8/trytond_party.egg-info/PKG-INFO
--- old/trytond_party-7.0.7/trytond_party.egg-info/PKG-INFO     2026-01-02 
10:58:06.000000000 +0100
+++ new/trytond_party-7.0.8/trytond_party.egg-info/PKG-INFO     2026-10-15 
19:18:03.256108500 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond_party
-Version: 7.0.7
+Version: 7.0.8
 Summary: Tryton module with parties and addresses
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/7.0/

Reply via email to