Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package trytond for openSUSE:Factory checked 
in at 2024-07-02 18:19:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond (Old)
 and      /work/SRC/openSUSE:Factory/.trytond.new.18349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond"

Tue Jul  2 18:19:17 2024 rev:96 rq:1184805 version:6.0.48

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond/trytond.changes  2024-05-07 
18:03:53.335565445 +0200
+++ /work/SRC/openSUSE:Factory/.trytond.new.18349/trytond.changes       
2024-07-02 18:19:18.901710130 +0200
@@ -1,0 +2,5 @@
+Tue Jul  2 09:11:26 UTC 2024 - Axel Braun <axel.br...@gmx.de>
+
+- Version 6.0.48 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond-6.0.46.tar.gz

New:
----
  trytond-6.0.48.tar.gz

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

Other differences:
------------------
++++++ trytond.spec ++++++
--- /var/tmp/diff_new_pack.dIQVOH/_old  2024-07-02 18:19:21.053788872 +0200
+++ /var/tmp/diff_new_pack.dIQVOH/_new  2024-07-02 18:19:21.065789311 +0200
@@ -30,7 +30,7 @@
 %endif
 
 Name:           trytond
-Version:        %{majorver}.46
+Version:        %{majorver}.48
 Release:        0
 Summary:        An Enterprise Resource Planning (ERP) system
 License:        GPL-3.0-or-later

++++++ trytond-6.0.46.tar.gz -> trytond-6.0.48.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-6.0.46/CHANGELOG new/trytond-6.0.48/CHANGELOG
--- old/trytond-6.0.46/CHANGELOG        2024-05-01 11:10:15.000000000 +0200
+++ new/trytond-6.0.48/CHANGELOG        2024-06-15 11:03:37.000000000 +0200
@@ -1,4 +1,14 @@
 
+Version 6.0.48 - 2024-06-15
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
+Version 6.0.47 - 2024-06-02
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 6.0.46 - 2024-05-01
 ---------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-6.0.46/PKG-INFO new/trytond-6.0.48/PKG-INFO
--- old/trytond-6.0.46/PKG-INFO 2024-05-01 11:10:18.448239800 +0200
+++ new/trytond-6.0.48/PKG-INFO 2024-06-15 11:03:40.697573000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond
-Version: 6.0.46
+Version: 6.0.48
 Summary: Tryton server
 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/trytond-6.0.46/trytond/__init__.py 
new/trytond-6.0.48/trytond/__init__.py
--- old/trytond-6.0.46/trytond/__init__.py      2024-04-17 12:29:12.000000000 
+0200
+++ new/trytond-6.0.48/trytond/__init__.py      2024-06-02 17:58:05.000000000 
+0200
@@ -7,7 +7,7 @@
 
 from lxml import etree, objectify
 
-__version__ = "6.0.46"
+__version__ = "6.0.48"
 
 os.environ['TZ'] = 'UTC'
 if hasattr(time, 'tzset'):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-6.0.46/trytond/convert.py 
new/trytond-6.0.48/trytond/convert.py
--- old/trytond-6.0.46/trytond/convert.py       2023-05-17 23:03:30.000000000 
+0200
+++ new/trytond-6.0.48/trytond/convert.py       2024-05-26 19:51:19.000000000 
+0200
@@ -364,7 +364,8 @@
         Model = self.pool.get(model_name)
         if not ids:
             ids = list(self.browserecord[module][model_name].keys())
-        models = Model.browse(ids)
+        with Transaction().set_context(language='en'):
+            models = Model.browse(ids)
         for model in models:
             if model.id in self.browserecord[module][model_name]:
                 for cache in Transaction().cache.values():
@@ -749,7 +750,8 @@
             record = self.fs2db.get_browserecord(
                 module, Model.__name__, record.id)
             if not record:
-                record = Model(record.id)
+                with Transaction().set_context(language='en'):
+                    record = Model(record.id)
             for key in values:
                 values[key] = self._clean_value(key, record)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-6.0.46/trytond/model/modelstorage.py 
new/trytond-6.0.48/trytond/model/modelstorage.py
--- old/trytond-6.0.46/trytond/model/modelstorage.py    2024-04-12 
22:18:56.000000000 +0200
+++ new/trytond-6.0.48/trytond/model/modelstorage.py    2024-06-10 
19:33:02.000000000 +0200
@@ -861,7 +861,7 @@
                         value, '/'.join(field), ftype)
                 elif is_prefix_len and ':lang=' in field[-1]:
                     field_name, lang = field[-1].split(':lang=')
-                    translate.setdefault(lang, {})[field_name] = value or False
+                    translate.setdefault(lang, {})[field_name] = value
                 elif is_prefix_len and prefix == field[:-1]:
                     this_field_def = fields_def[field[-1]]
                     field_type = this_field_def['type']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-6.0.46/trytond/modules/__init__.py 
new/trytond-6.0.48/trytond/modules/__init__.py
--- old/trytond-6.0.46/trytond/modules/__init__.py      2024-04-17 
18:01:31.000000000 +0200
+++ new/trytond-6.0.48/trytond/modules/__init__.py      2024-06-10 
19:29:30.000000000 +0200
@@ -437,10 +437,10 @@
                 Module.update_list()
 
     if not Transaction().connection:
-        with Transaction().start(database_name, 0):
+        with Transaction().start(database_name, 0, readonly=not update):
             _load_modules(update)
     else:
-        with Transaction().new_transaction(), \
+        with Transaction().new_transaction(readonly=not update), \
                 Transaction().set_user(0), \
                 Transaction().reset_context():
             _load_modules(update)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-6.0.46/trytond/transaction.py 
new/trytond-6.0.48/trytond/transaction.py
--- old/trytond-6.0.46/trytond/transaction.py   2023-12-10 14:06:26.000000000 
+0100
+++ new/trytond-6.0.48/trytond/transaction.py   2024-06-10 19:29:39.000000000 
+0200
@@ -141,9 +141,7 @@
             if transactions.count(self) == 1:
                 try:
                     try:
-                        # Transaction must be commited to send notifications
-                        if commit and (not self.readonly
-                                or self.database.has_channel()):
+                        if commit and not self.readonly:
                             self.commit()
                         else:
                             self.rollback()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-6.0.46/trytond.egg-info/PKG-INFO 
new/trytond-6.0.48/trytond.egg-info/PKG-INFO
--- old/trytond-6.0.46/trytond.egg-info/PKG-INFO        2024-05-01 
11:10:17.000000000 +0200
+++ new/trytond-6.0.48/trytond.egg-info/PKG-INFO        2024-06-15 
11:03:40.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond
-Version: 6.0.46
+Version: 6.0.48
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/6.0/

Reply via email to