Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tryton for openSUSE:Factory checked 
in at 2026-10-07 19:32:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tryton (Old)
 and      /work/SRC/openSUSE:Factory/.tryton.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tryton"

Wed Oct  7 19:32:28 2026 rev:37 rq:1382863 version:7.0.44

Changes:
--------
--- /work/SRC/openSUSE:Factory/tryton/tryton.changes    2026-08-14 
22:09:34.453613194 +0200
+++ /work/SRC/openSUSE:Factory/.tryton.new.3698736/tryton.changes       
2026-10-07 19:33:01.130676947 +0200
@@ -1,0 +2,5 @@
+Tue Oct  6 19:13:21 UTC 2026 - Axel Braun <[email protected]>
+
+- Version 7.0.44 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  tryton-7.0.42.tar.gz

New:
----
  tryton-7.0.44.tar.gz

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

Other differences:
------------------
++++++ tryton.spec ++++++
--- /var/tmp/diff_new_pack.KfK22P/_old  2026-10-07 19:33:01.817705638 +0200
+++ /var/tmp/diff_new_pack.KfK22P/_new  2026-10-07 19:33:01.818705680 +0200
@@ -30,7 +30,7 @@
 
 
 Name:           tryton
-Version:        %{majorver}.42
+Version:        %{majorver}.44
 Release:        0
 Summary:        The client of the Tryton application platform
 License:        GPL-3.0-or-later

++++++ tryton-7.0.42.tar.gz -> tryton-7.0.44.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-7.0.42/CHANGELOG new/tryton-7.0.44/CHANGELOG
--- old/tryton-7.0.42/CHANGELOG 2026-07-15 18:29:26.000000000 +0200
+++ new/tryton-7.0.44/CHANGELOG 2026-09-16 23:10:01.710838300 +0200
@@ -1,4 +1,14 @@
 
+Version 7.0.44 - 2026-09-16
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
+Version 7.0.43 - 2026-08-15
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 7.0.42 - 2026-07-15
 ---------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-7.0.42/PKG-INFO new/tryton-7.0.44/PKG-INFO
--- old/tryton-7.0.42/PKG-INFO  2026-07-15 18:29:29.645017600 +0200
+++ new/tryton-7.0.44/PKG-INFO  2026-09-16 23:10:04.866125800 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: tryton
-Version: 7.0.42
+Version: 7.0.44
 Summary: Tryton desktop client
 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/tryton-7.0.42/tryton/__init__.py 
new/tryton-7.0.44/tryton/__init__.py
--- old/tryton-7.0.42/tryton/__init__.py        2026-07-08 08:36:10.000000000 
+0200
+++ new/tryton-7.0.44/tryton/__init__.py        2026-08-15 08:45:09.111620400 
+0200
@@ -1,6 +1,6 @@
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
-__version__ = "7.0.42"
+__version__ = "7.0.44"
 import locale
 
 import gi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-7.0.42/tryton/common/selection.py 
new/tryton-7.0.44/tryton/common/selection.py
--- old/tryton-7.0.42/tryton/common/selection.py        2025-09-22 
21:34:39.000000000 +0200
+++ new/tryton-7.0.44/tryton/common/selection.py        2026-09-14 
19:47:34.692010200 +0200
@@ -62,7 +62,8 @@
             context = field.get_context(record)
             domain_cache_key = (freeze_value(domain), freeze_value(context))
             if domain_cache_key in self._domain_cache:
-                self.selection = self._domain_cache[domain_cache_key]
+                self.selection, self.help = (
+                    self._domain_cache[domain_cache_key])
                 self._last_domain = (domain, context)
             if (domain, context) == self._last_domain:
                 return
@@ -85,7 +86,7 @@
                 else:
                     help_ = {}
                 self._last_domain = (domain, context)
-                self._domain_cache[domain_cache_key] = selection
+                self._domain_cache[domain_cache_key] = (selection, help_)
             else:
                 selection = []
                 if self.nullable_widget:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-7.0.42/tryton/config.py 
new/tryton-7.0.44/tryton/config.py
--- old/tryton-7.0.42/tryton/config.py  2025-09-22 21:34:39.000000000 +0200
+++ new/tryton-7.0.44/tryton/config.py  2026-09-14 19:34:08.452347500 +0200
@@ -9,6 +9,7 @@
 import shutil
 import sys
 import tempfile
+from threading import Lock
 
 from gi.repository import GdkPixbuf
 
@@ -16,6 +17,7 @@
 
 logger = logging.getLogger(__name__)
 _ = gettext.gettext
+_lock = Lock()
 
 
 def _reverse_series_iterator(starting_version):
@@ -172,8 +174,9 @@
                 if not parser.has_section(section):
                     parser.add_section(section)
                 parser.set(section, name, str(self.config[entry]))
-            with open(self.rcfile, 'w') as fp:
-                parser.write(fp)
+            with _lock:
+                with open(self.rcfile, 'w') as fp:
+                    parser.write(fp)
         except IOError:
             logger.warn("Unable to write config file %s", self.rcfile)
             return False
Binary files old/tryton-7.0.42/tryton/data/locale/bg/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/bg/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/ca/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/ca/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/cs/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/cs/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/de/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/de/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/es/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/es/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo 
and new/tryton-7.0.44/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/et/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/et/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/fa/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/fa/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/fi/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/fi/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/fr/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/fr/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/hu/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/hu/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/id/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/id/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/it/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/it/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo 
and new/tryton-7.0.44/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/lo/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/lo/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/lt/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/lt/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/nl/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/nl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/pl/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/pl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/pt/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/pt/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/ro/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/ro/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/ru/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/ru/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/sl/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/sl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/tr/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/tr/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/uk/LC_MESSAGES/tryton.mo and 
new/tryton-7.0.44/tryton/data/locale/uk/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-7.0.42/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo 
and new/tryton-7.0.44/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-7.0.42/tryton/gui/window/form.py 
new/tryton-7.0.44/tryton/gui/window/form.py
--- old/tryton-7.0.42/tryton/gui/window/form.py 2026-07-14 19:20:16.000000000 
+0200
+++ new/tryton-7.0.44/tryton/gui/window/form.py 2026-09-14 19:50:53.845300700 
+0200
@@ -233,9 +233,9 @@
         if not self.attachment_screen:
             return
         record = self.screen.current_record
-        if not record:
-            return
-        resource = '%s,%s' % (record.model_name, record.id)
+        resource = '%s,%s' % (
+            (record.model_name, record.id) if record
+            else (self.screen.model_name, -1))
         domain = [
             ('resource', '=', resource),
             ('type', '=', 'data'),
@@ -615,9 +615,7 @@
         else:
             msg = "%s/%s" % (name, common.humanize(size))
         self.status_label.set_text(msg)
-        self.info_bar_clear()
         self.set_buttons_sensitive()
-        self.refresh_attachment_preview()
 
     def record_modified(self):
         def _record_modified():
@@ -632,6 +630,10 @@
         self.set_buttons_sensitive()
         self.refresh_resources()
 
+    def record_changed(self):
+        self.info_bar_clear()
+        self.refresh_attachment_preview()
+
     def modified_save(self):
         self.screen.save_tree_state()
         self.screen.current_view.set_value()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-7.0.42/tryton/gui/window/view_form/screen/screen.py 
new/tryton-7.0.44/tryton/gui/window/view_form/screen/screen.py
--- old/tryton-7.0.42/tryton/gui/window/view_form/screen/screen.py      
2026-07-14 19:20:17.000000000 +0200
+++ new/tryton-7.0.44/tryton/gui/window/view_form/screen/screen.py      
2026-09-14 19:37:32.602151200 +0200
@@ -484,6 +484,7 @@
         return self.__current_record
 
     def __set_current_record(self, record):
+        changed = self.__current_record != record
         self.__current_record = record
         if record:
             try:
@@ -496,9 +497,13 @@
         self.record_message(
             pos, len(self.group) + self.offset,
             self.search_count, record and record.id)
-        self.update_resources(record.resources if record else None)
-        # update resources after 1 second
-        GLib.timeout_add(1000, self._update_resources, record)
+        if changed:
+            for window in self.windows:
+                if hasattr(window, 'record_changed'):
+                    window.record_changed()
+            self.update_resources(record.resources if record else None)
+            # update resources after 1 second
+            GLib.timeout_add(1000, self._update_resources, record)
 
     current_record = property(__get_current_record, __set_current_record)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-7.0.42/tryton/gui/window/win_form.py 
new/tryton-7.0.44/tryton/gui/window/win_form.py
--- old/tryton-7.0.42/tryton/gui/window/win_form.py     2025-09-22 
21:34:39.000000000 +0200
+++ new/tryton-7.0.44/tryton/gui/window/win_form.py     2026-08-14 
23:15:47.363599300 +0200
@@ -314,11 +314,24 @@
         self.screen.new()
         self.screen.current_view.widget.set_sensitive(True)
 
+    def _validate(self):
+        self.screen.current_view.set_value()
+        if record := self.screen.current_record:
+            fields = self.screen.current_view.get_fields()
+            if not record.validate(fields):
+                self.screen.display(set_cursor=True)
+                return False
+            if self.screen.pre_validate and not record.pre_validate():
+                return False
+        return True
+
     def _sig_next(self, widget):
-        self.screen.display_next()
+        if self._validate():
+            self.screen.display_next()
 
     def _sig_previous(self, widget):
-        self.screen.display_prev()
+        if self._validate():
+            self.screen.display_prev()
 
     def _sig_remove(self, widget, remove=False):
         self.screen.remove(remove=remove)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-7.0.42/tryton.egg-info/PKG-INFO 
new/tryton-7.0.44/tryton.egg-info/PKG-INFO
--- old/tryton-7.0.42/tryton.egg-info/PKG-INFO  2026-07-15 18:29:28.000000000 
+0200
+++ new/tryton-7.0.44/tryton.egg-info/PKG-INFO  2026-09-16 23:10:04.243275600 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: tryton
-Version: 7.0.42
+Version: 7.0.44
 Summary: Tryton desktop client
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/7.0/

Reply via email to