Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tryton for openSUSE:Factory checked 
in at 2025-01-05 15:28:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tryton (Old)
 and      /work/SRC/openSUSE:Factory/.tryton.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tryton"

Sun Jan  5 15:28:43 2025 rev:27 rq:1234608 version:6.0.48

Changes:
--------
--- /work/SRC/openSUSE:Factory/tryton/tryton.changes    2024-12-02 
17:00:05.851629380 +0100
+++ /work/SRC/openSUSE:Factory/.tryton.new.1881/tryton.changes  2025-01-05 
15:28:52.551887547 +0100
@@ -1,0 +2,5 @@
+Thu Jan  2 17:36:02 UTC 2025 - Axel Braun <[email protected]>
+
+- Version 6.0.48 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  tryton-6.0.46.tar.gz

New:
----
  tryton-6.0.48.tar.gz

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

Other differences:
------------------
++++++ tryton.spec ++++++
--- /var/tmp/diff_new_pack.apqoBP/_old  2025-01-05 15:28:53.363920945 +0100
+++ /var/tmp/diff_new_pack.apqoBP/_new  2025-01-05 15:28:53.367921109 +0100
@@ -30,7 +30,7 @@
 
 
 Name:           tryton
-Version:        %{majorver}.46
+Version:        %{majorver}.48
 Release:        0
 Summary:        The client of the Tryton application platform
 License:        GPL-3.0-or-later

++++++ tryton-6.0.46.tar.gz -> tryton-6.0.48.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-6.0.46/CHANGELOG new/tryton-6.0.48/CHANGELOG
--- old/tryton-6.0.46/CHANGELOG 2024-12-01 19:57:34.000000000 +0100
+++ new/tryton-6.0.48/CHANGELOG 2025-01-01 20:32:47.000000000 +0100
@@ -1,4 +1,14 @@
 
+Version 6.0.48 - 2025-01-01
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
+Version 6.0.47 - 2024-12-16
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 6.0.46 - 2024-12-01
 ---------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-6.0.46/PKG-INFO new/tryton-6.0.48/PKG-INFO
--- old/tryton-6.0.46/PKG-INFO  2024-12-01 19:57:37.408736500 +0100
+++ new/tryton-6.0.48/PKG-INFO  2025-01-01 20:32:50.232502000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: tryton
-Version: 6.0.46
+Version: 6.0.48
 Summary: Tryton desktop client
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/6.0/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-6.0.46/tryton/__init__.py 
new/tryton-6.0.48/tryton/__init__.py
--- old/tryton-6.0.46/tryton/__init__.py        2024-11-06 21:26:33.000000000 
+0100
+++ new/tryton-6.0.48/tryton/__init__.py        2024-12-16 18:59:54.000000000 
+0100
@@ -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__ = "6.0.46"
+__version__ = "6.0.48"
 import gi
 import locale
 
Binary files old/tryton-6.0.46/tryton/data/locale/bg/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/bg/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/ca/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/ca/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/cs/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/cs/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/de/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/de/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/es/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/es/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo 
and new/tryton-6.0.48/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/et/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/et/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/fa/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/fa/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/fi/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/fi/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/fr/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/fr/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/hu/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/hu/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/id/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/id/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/it/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/it/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo 
and new/tryton-6.0.48/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/lo/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/lo/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/lt/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/lt/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/nl/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/nl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/pl/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/pl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/pt/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/pt/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/ro/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/ro/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/ru/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/ru/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/sl/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/sl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/tr/LC_MESSAGES/tryton.mo and 
new/tryton-6.0.48/tryton/data/locale/tr/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-6.0.46/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo 
and new/tryton-6.0.48/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-6.0.46/tryton/gui/window/about.py 
new/tryton-6.0.48/tryton/gui/window/about.py
--- old/tryton-6.0.46/tryton/gui/window/about.py        2024-12-01 
19:57:34.000000000 +0100
+++ new/tryton-6.0.48/tryton/gui/window/about.py        2025-01-01 
20:32:47.000000000 +0100
@@ -10,7 +10,7 @@
 from tryton import __version__
 
 COPYRIGHT = '''\
-Copyright (C) 2004-2024 Tryton.
+Copyright (C) 2004-2025 Tryton.
 '''
 AUTHORS = [
         'Bertrand Chenal <[email protected]>',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-6.0.46/tryton/gui/window/view_form/model/field.py 
new/tryton-6.0.48/tryton/gui/window/view_form/model/field.py
--- old/tryton-6.0.46/tryton/gui/window/view_form/model/field.py        
2024-07-25 18:28:36.000000000 +0200
+++ new/tryton-6.0.48/tryton/gui/window/view_form/model/field.py        
2024-12-30 18:35:55.000000000 +0100
@@ -576,12 +576,10 @@
         from .group import Group
         parent_name = self.attrs.get('relation_field', '')
         fields = fields or {}
-        context = record.expr_eval(self.attrs.get('context', {}))
         group = Group(self.attrs['relation'], fields,
                 parent=record,
                 parent_name=parent_name,
                 child_name=self.name,
-                context=context,
                 parent_datetime_field=self.attrs.get('datetime_field'))
         if not fields and record.model_name == self.attrs['relation']:
             group.fields = record.group.fields
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-6.0.46/tryton/gui/window/view_form/model/record.py 
new/tryton-6.0.48/tryton/gui/window/view_form/model/record.py
--- old/tryton-6.0.46/tryton/gui/window/view_form/model/record.py       
2024-09-28 16:43:09.000000000 +0200
+++ new/tryton-6.0.48/tryton/gui/window/view_form/model/record.py       
2024-12-14 18:37:44.000000000 +0100
@@ -358,6 +358,7 @@
         return self.id
 
     def default_get(self, rec_name=None):
+        vals = {}
         if len(self.group.fields):
             context = self.get_context()
             context.setdefault('default_rec_name', rec_name)
@@ -365,7 +366,7 @@
                 vals = RPCExecute('model', self.model_name, 'default_get',
                     list(self.group.fields.keys()), context=context)
             except RPCException:
-                return
+                return vals
             if (self.parent
                     and self.parent_name in self.group.fields):
                 parent_field = self.group.fields[self.parent_name]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-6.0.46/tryton/gui/window/view_form/screen/screen.py 
new/tryton-6.0.48/tryton/gui/window/view_form/screen/screen.py
--- old/tryton-6.0.46/tryton/gui/window/view_form/screen/screen.py      
2024-04-27 07:16:39.000000000 +0200
+++ new/tryton-6.0.48/tryton/gui/window/view_form/screen/screen.py      
2024-12-30 18:56:00.000000000 +0100
@@ -72,7 +72,8 @@
         self.new_group(context or {})
         self.__current_record = None
         self.current_record = None
-        self.screen_container = ScreenContainer(attributes.get('tab_domain'))
+        self.screen_container = ScreenContainer(
+            self, attributes.get('tab_domain'))
         self.screen_container.alternate_view = attributes.get(
             'alternate_view', False)
         self.widget = self.screen_container.widget_get()
@@ -157,7 +158,6 @@
 
     def search_active(self, active=True):
         if active and not self.parent:
-            self.screen_container.set_screen(self)
             self.screen_container.show_filter()
         else:
             self.screen_container.hide_filter()
@@ -773,6 +773,9 @@
             self.current_record = None
             record.group.remove(record, remove=remove, signal=False,
                 force_remove=force_remove)
+        # set current_record to None to prevent __select_changed
+        # to set deleted record as current_record
+        self.current_record = None
         # send record-changed only once
         record.signal('record-changed')
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-6.0.46/tryton/gui/window/view_form/view/form.py 
new/tryton-6.0.48/tryton/gui/window/view_form/view/form.py
--- old/tryton-6.0.46/tryton/gui/window/view_form/view/form.py  2023-05-17 
23:03:30.000000000 +0200
+++ new/tryton-6.0.48/tryton/gui/window/view_form/view/form.py  2024-12-14 
18:31:43.000000000 +0100
@@ -379,7 +379,6 @@
         group = Container.constructor(
             int(attributes.get('col', 4)),
             attributes.get('homogeneous', False))
-        self.parse_child(node, group)
 
         if 'name' in attributes and attributes['name'] == self.exclude_field:
             self.container.add(None, attributes)
@@ -403,6 +402,9 @@
                 bool(attributes.get('yexpand'))))
         self.view.state_widgets.append(widget)
         self.container.add(widget, attributes)
+        # Parse the children at the end to preserve the order of the state
+        # widgets
+        self.parse_child(node, group)
 
     def _parse_hpaned(self, node, attributes):
         self._parse_paned(node, attributes, Gtk.HPaned)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-6.0.46/tryton/gui/window/view_form/view/list.py 
new/tryton-6.0.48/tryton/gui/window/view_form/view/list.py
--- old/tryton-6.0.46/tryton/gui/window/view_form/view/list.py  2024-11-28 
17:18:17.000000000 +0100
+++ new/tryton-6.0.48/tryton/gui/window/view_form/view/list.py  2024-12-30 
19:00:22.000000000 +0100
@@ -1032,6 +1032,10 @@
     def display(self, force=False):
         self.treeview.display_counter += 1
         current_record = self.record
+        if current_record and current_record not in current_record.group:
+            # current record may have been removed by on_change calls without
+            # changing the current record of screen before the display
+            current_record = None
         if (force
                 or not self.treeview.get_model()
                 or self.group != self.treeview.get_model().group):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-6.0.46/tryton/gui/window/view_form/view/list_gtk/widget.py 
new/tryton-6.0.48/tryton/gui/window/view_form/view/list_gtk/widget.py
--- old/tryton-6.0.46/tryton/gui/window/view_form/view/list_gtk/widget.py       
2024-10-14 22:05:23.000000000 +0200
+++ new/tryton-6.0.48/tryton/gui/window/view_form/view/list_gtk/widget.py       
2024-12-14 18:53:48.000000000 +0100
@@ -705,7 +705,7 @@
         invisible = field.get_state_attrs(record).get('invisible', False)
         readonly = self.attrs.get('readonly',
             field.get_state_attrs(record).get('readonly', False))
-        if readonly and size:
+        if readonly or size:
             cell.set_property('visible', False)
         else:
             cell.set_property('visible', not invisible)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-6.0.46/tryton/gui/window/view_form/view/screen_container.py 
new/tryton-6.0.48/tryton/gui/window/view_form/view/screen_container.py
--- old/tryton-6.0.46/tryton/gui/window/view_form/view/screen_container.py      
2023-05-17 23:03:30.000000000 +0200
+++ new/tryton-6.0.48/tryton/gui/window/view_form/view/screen_container.py      
2024-12-30 18:56:00.000000000 +0100
@@ -186,7 +186,8 @@
 
 class ScreenContainer(object):
 
-    def __init__(self, tab_domain):
+    def __init__(self, screen, tab_domain):
+        self.screen = screen
         self.viewport = Gtk.Viewport()
         self.viewport.set_shadow_type(Gtk.ShadowType.NONE)
         self.vbox = Gtk.VBox(spacing=3)
@@ -352,12 +353,9 @@
     def widget_get(self):
         return self.vbox
 
-    def set_screen(self, screen):
-        self.screen = screen
+    def show_filter(self):
         self.but_bookmark.set_sensitive(bool(list(self.bookmarks())))
         self.bookmark_match()
-
-    def show_filter(self):
         if self.filter_vbox:
             self.filter_vbox.show()
         if self.notebook:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-6.0.46/tryton.egg-info/PKG-INFO 
new/tryton-6.0.48/tryton.egg-info/PKG-INFO
--- old/tryton-6.0.46/tryton.egg-info/PKG-INFO  2024-12-01 19:57:36.000000000 
+0100
+++ new/tryton-6.0.48/tryton.egg-info/PKG-INFO  2025-01-01 20:32:49.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: tryton
-Version: 6.0.46
+Version: 6.0.48
 Summary: Tryton desktop client
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/6.0/

Reply via email to