Hello community, here is the log from the commit of package tryton for openSUSE:Factory checked in at 2017-08-18 15:04:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tryton (Old) and /work/SRC/openSUSE:Factory/.tryton.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tryton" Fri Aug 18 15:04:06 2017 rev:10 rq:517032 version:4.2.6 Changes: -------- --- /work/SRC/openSUSE:Factory/tryton/tryton.changes 2017-07-06 00:01:51.871273716 +0200 +++ /work/SRC/openSUSE:Factory/.tryton.new/tryton.changes 2017-08-18 15:04:12.519805251 +0200 @@ -1,0 +2,5 @@ +Thu Aug 10 20:05:00 UTC 2017 - axel.br...@gmx.de + +- Version 4.2.6 + +------------------------------------------------------------------- Old: ---- tryton-4.2.5.tar.gz New: ---- tryton-4.2.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tryton.spec ++++++ --- /var/tmp/diff_new_pack.M7AgKU/_old 2017-08-18 15:04:13.863615984 +0200 +++ /var/tmp/diff_new_pack.M7AgKU/_new 2017-08-18 15:04:13.871614857 +0200 @@ -19,7 +19,7 @@ %define majorver 4.2 Name: tryton -Version: %{majorver}.5 +Version: %{majorver}.6 Release: 0 Summary: The client of the Tryton application platform License: GPL-3.0 ++++++ tryton-4.2.5.tar.gz -> tryton-4.2.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/CHANGELOG new/tryton-4.2.6/CHANGELOG --- old/tryton-4.2.5/CHANGELOG 2017-06-05 23:39:32.000000000 +0200 +++ new/tryton-4.2.6/CHANGELOG 2017-08-08 18:29:51.000000000 +0200 @@ -1,3 +1,6 @@ +Version 4.2.6 - 2017-08-08 +* Bug fixes (see mercurial logs for details) + Version 4.2.5 - 2017-06-05 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/PKG-INFO new/tryton-4.2.6/PKG-INFO --- old/tryton-4.2.5/PKG-INFO 2017-06-05 23:39:33.000000000 +0200 +++ new/tryton-4.2.6/PKG-INFO 2017-08-08 18:29:52.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: tryton -Version: 4.2.5 +Version: 4.2.6 Summary: Tryton client Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/__init__.py new/tryton-4.2.6/tryton/__init__.py --- old/tryton-4.2.5/tryton/__init__.py 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/__init__.py 2017-06-05 23:39:47.000000000 +0200 @@ -1,3 +1,3 @@ # 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__ = "4.2.5" +__version__ = "4.2.6" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/common/htmltextbuffer.py new/tryton-4.2.6/tryton/common/htmltextbuffer.py --- old/tryton-4.2.5/tryton/common/htmltextbuffer.py 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/common/htmltextbuffer.py 2017-08-08 18:29:49.000000000 +0200 @@ -1,5 +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. +from __future__ import division from io import BytesIO import xml.etree.ElementTree as ET from xml.sax.saxutils import escape, unescape @@ -37,6 +38,12 @@ FAMILIES = ['normal', 'sans', 'serif', 'monospace'] +def gdk_to_hex(gdk_color): + "Convert color to 2 digit hex" + colors = [gdk_color.red, gdk_color.green, gdk_color.blue] + return "#" + "".join(["%02x" % (color / 256) for color in colors]) + + def _markup(text): return '<markup>%s</markup>' % text @@ -233,7 +240,7 @@ # Move to next tag toggle while True: iter_.forward_char() - if iter_.get_char() == '\0': + if iter_.compare(end) == 0: break if iter_.toggles_tag(): break @@ -325,7 +332,7 @@ yield tag_table.lookup('size %s' % size) if 'color' in element.attrib: yield register_foreground( - content, gtk.gdk.Color(element.attrib['color'])) + content, gtk.gdk.color_parse(element.attrib['color'])) align = element.attrib.get('align') if align in ALIGN2JUSTIFICATION: yield tag_table.lookup('justification %s' % align) @@ -350,8 +357,8 @@ if texttag.props.scale_set and texttag.props.scale != pango.SCALE_MEDIUM: font['size'] = SCALE2SIZE[texttag.props.scale] if (texttag.props.foreground_set - and texttag.props.foreground_gdk != gtk.gdk.Color()): - font['color'] = str(texttag.props.foreground_gdk) + and texttag.props.foreground_gdk != gtk.gdk.Color(0, 0, 0)): + font['color'] = gdk_to_hex(texttag.props.foreground_gdk) # TODO style background-color if font: tags.append('font') @@ -393,7 +400,7 @@ <u>Underline</u> <div><br/></div> <div align="center">Center</div> -<div><font face="sans" size="6">Sans6<font color="#f00">red</font></font></div> +<div><font face="sans" size="6">Sans6<font color="#ff0000">red</font></font></div> <div align="center"> <b> <i><u>Title</u></i> </b></div>''' win = gtk.Window() Binary files old/tryton-4.2.5/tryton/data/locale/bg/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/bg/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/data/locale/bg/LC_MESSAGES/tryton.po new/tryton-4.2.6/tryton/data/locale/bg/LC_MESSAGES/tryton.po --- old/tryton-4.2.5/tryton/data/locale/bg/LC_MESSAGES/tryton.po 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/data/locale/bg/LC_MESSAGES/tryton.po 2017-07-26 23:36:27.000000000 +0200 @@ -541,7 +541,7 @@ #: tryton/gui/window/attachment.py:22 #, python-format, fuzzy, python-format msgid "Attachments (%s)" -msgstr "Прикачен файл(%d)" +msgstr "Прикачен файл(%s)" #: tryton/gui/window/board.py:19 tryton/gui/window/form.py:32 msgid "New" Binary files old/tryton-4.2.5/tryton/data/locale/ca/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/ca/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.5/tryton/data/locale/cs/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/cs/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/data/locale/cs/LC_MESSAGES/tryton.po new/tryton-4.2.6/tryton/data/locale/cs/LC_MESSAGES/tryton.po --- old/tryton-4.2.5/tryton/data/locale/cs/LC_MESSAGES/tryton.po 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/data/locale/cs/LC_MESSAGES/tryton.po 2017-07-26 23:36:27.000000000 +0200 @@ -542,7 +542,7 @@ #: tryton/gui/window/attachment.py:22 #, python-format, fuzzy, python-format msgid "Attachments (%s)" -msgstr "Příloha(%d)" +msgstr "Příloha(%s)" #: tryton/gui/window/board.py:19 tryton/gui/window/form.py:32 #, fuzzy Binary files old/tryton-4.2.5/tryton/data/locale/de/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/de/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.5/tryton/data/locale/es/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/es/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/data/locale/es/LC_MESSAGES/tryton.po new/tryton-4.2.6/tryton/data/locale/es/LC_MESSAGES/tryton.po --- old/tryton-4.2.5/tryton/data/locale/es/LC_MESSAGES/tryton.po 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/data/locale/es/LC_MESSAGES/tryton.po 2017-07-26 23:36:27.000000000 +0200 @@ -529,7 +529,7 @@ #: tryton/gui/window/attachment.py:22 #, python-format, python-format, python-format msgid "Attachments (%s)" -msgstr "Adjuntos (%d)" +msgstr "Adjuntos (%s)" #: tryton/gui/window/board.py:19 tryton/gui/window/form.py:32 msgid "New" Binary files old/tryton-4.2.5/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.5/tryton/data/locale/fr/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/fr/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.5/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.po new/tryton-4.2.6/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.po --- old/tryton-4.2.5/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.po 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.po 2017-07-26 23:36:27.000000000 +0200 @@ -534,7 +534,7 @@ #: tryton/gui/window/attachment.py:22 #, python-format, fuzzy, python-format msgid "Attachments (%s)" -msgstr "Melléklet(%d)" +msgstr "Melléklet(%s)" #: tryton/gui/window/board.py:19 tryton/gui/window/form.py:32 msgid "New" Binary files old/tryton-4.2.5/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/data/locale/it_IT/LC_MESSAGES/tryton.po new/tryton-4.2.6/tryton/data/locale/it_IT/LC_MESSAGES/tryton.po --- old/tryton-4.2.5/tryton/data/locale/it_IT/LC_MESSAGES/tryton.po 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/data/locale/it_IT/LC_MESSAGES/tryton.po 2017-07-26 23:36:27.000000000 +0200 @@ -535,7 +535,7 @@ #: tryton/gui/window/attachment.py:22 #, python-format, fuzzy, python-format msgid "Attachments (%s)" -msgstr "Allegato(%d)" +msgstr "Allegato(%s)" #: tryton/gui/window/board.py:19 tryton/gui/window/form.py:32 msgid "New" Binary files old/tryton-4.2.5/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.po new/tryton-4.2.6/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.po --- old/tryton-4.2.5/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.po 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.po 2017-07-26 23:36:27.000000000 +0200 @@ -543,7 +543,7 @@ #: tryton/gui/window/attachment.py:22 #, python-format, fuzzy, python-format msgid "Attachments (%s)" -msgstr "添付(%d)" +msgstr "添付(%s)" #: tryton/gui/window/board.py:19 tryton/gui/window/form.py:32 #, fuzzy Binary files old/tryton-4.2.5/tryton/data/locale/lo/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/lo/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/data/locale/lo/LC_MESSAGES/tryton.po new/tryton-4.2.6/tryton/data/locale/lo/LC_MESSAGES/tryton.po --- old/tryton-4.2.5/tryton/data/locale/lo/LC_MESSAGES/tryton.po 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/data/locale/lo/LC_MESSAGES/tryton.po 2017-07-26 23:36:27.000000000 +0200 @@ -535,7 +535,7 @@ #: tryton/gui/window/attachment.py:22 #, python-format, fuzzy, python-format msgid "Attachments (%s)" -msgstr "ຄັດຕິດ(%d)" +msgstr "ຄັດຕິດ(%s)" #: tryton/gui/window/board.py:19 tryton/gui/window/form.py:32 msgid "New" Binary files old/tryton-4.2.5/tryton/data/locale/lt/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/lt/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/data/locale/lt/LC_MESSAGES/tryton.po new/tryton-4.2.6/tryton/data/locale/lt/LC_MESSAGES/tryton.po --- old/tryton-4.2.5/tryton/data/locale/lt/LC_MESSAGES/tryton.po 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/data/locale/lt/LC_MESSAGES/tryton.po 2017-07-26 23:36:27.000000000 +0200 @@ -539,7 +539,7 @@ #: tryton/gui/window/attachment.py:22 #, python-format, fuzzy, python-format msgid "Attachments (%s)" -msgstr "Priedai(%d)" +msgstr "Priedai(%s)" #: tryton/gui/window/board.py:19 tryton/gui/window/form.py:32 msgid "New" Binary files old/tryton-4.2.5/tryton/data/locale/nl/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/nl/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/data/locale/nl/LC_MESSAGES/tryton.po new/tryton-4.2.6/tryton/data/locale/nl/LC_MESSAGES/tryton.po --- old/tryton-4.2.5/tryton/data/locale/nl/LC_MESSAGES/tryton.po 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/data/locale/nl/LC_MESSAGES/tryton.po 2017-07-26 23:36:27.000000000 +0200 @@ -546,7 +546,7 @@ #: tryton/gui/window/attachment.py:22 #, python-format, fuzzy, python-format msgid "Attachments (%s)" -msgstr "Bijlage (%d)" +msgstr "Bijlage (%s)" #: tryton/gui/window/board.py:19 tryton/gui/window/form.py:32 #, fuzzy Binary files old/tryton-4.2.5/tryton/data/locale/pl/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/pl/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.5/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.po new/tryton-4.2.6/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.po --- old/tryton-4.2.5/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.po 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.po 2017-07-26 23:36:27.000000000 +0200 @@ -536,7 +536,7 @@ #: tryton/gui/window/attachment.py:22 #, python-format, fuzzy, python-format msgid "Attachments (%s)" -msgstr "Anexo(%d)" +msgstr "Anexo(%s)" #: tryton/gui/window/board.py:19 tryton/gui/window/form.py:32 msgid "New" Binary files old/tryton-4.2.5/tryton/data/locale/ru/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/ru/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/data/locale/ru/LC_MESSAGES/tryton.po new/tryton-4.2.6/tryton/data/locale/ru/LC_MESSAGES/tryton.po --- old/tryton-4.2.5/tryton/data/locale/ru/LC_MESSAGES/tryton.po 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/data/locale/ru/LC_MESSAGES/tryton.po 2017-07-26 23:36:27.000000000 +0200 @@ -541,7 +541,7 @@ #: tryton/gui/window/attachment.py:22 #, python-format, fuzzy, python-format msgid "Attachments (%s)" -msgstr "Вложений (%d)" +msgstr "Вложений (%s)" #: tryton/gui/window/board.py:19 tryton/gui/window/form.py:32 msgid "New" Binary files old/tryton-4.2.5/tryton/data/locale/sl/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/sl/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.5/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo and new/tryton-4.2.6/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.po new/tryton-4.2.6/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.po --- old/tryton-4.2.5/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.po 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.po 2017-07-26 23:36:27.000000000 +0200 @@ -534,7 +534,7 @@ #: tryton/gui/window/attachment.py:22 #, python-format, fuzzy, python-format msgid "Attachments (%s)" -msgstr "附件文档(%d)" +msgstr "附件文档(%s)" #: tryton/gui/window/board.py:19 tryton/gui/window/form.py:32 msgid "New" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/gui/window/revision.py new/tryton-4.2.6/tryton/gui/window/revision.py --- old/tryton-4.2.5/tryton/gui/window/revision.py 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.6/tryton/gui/window/revision.py 2017-08-08 18:29:49.000000000 +0200 @@ -30,8 +30,8 @@ label = gtk.Label(_('Revision:')) hbox.pack_start(label, expand=True, fill=True) list_store = gtk.ListStore(str, str) - combobox = gtk.ComboBoxEntry() - combobox.set_model(list_store) + # Set model on instantiation to get the default cellrenderer as text + combobox = gtk.ComboBoxEntry(model=list_store) self.entry = combobox.get_child() self.entry.connect('focus-out-event', self.focus_out) self.entry.connect('activate', self.activate) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/gui/window/view_form/screen/screen.py new/tryton-4.2.6/tryton/gui/window/view_form/screen/screen.py --- old/tryton-4.2.5/tryton/gui/window/view_form/screen/screen.py 2017-05-03 18:53:29.000000000 +0200 +++ new/tryton-4.2.6/tryton/gui/window/view_form/screen/screen.py 2017-08-08 18:29:49.000000000 +0200 @@ -586,11 +586,13 @@ fields = self.current_view.get_fields() path = self.current_record.get_path(self.group) if self.current_view.view_type == 'tree': - saved = all(self.group.save()) + # False value must be not saved + saved = all((x is 0 or x > 0 for x in self.group.save())) record_id = self.current_record.id elif self.current_record.validate(fields): record_id = self.current_record.save(force_reload=True) - saved = bool(record_id) + # False value must be not saved + saved = record_id is 0 or record_id > 0 else: self.set_cursor() self.current_view.display() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/gui/window/view_form/view/form_gtk/richtextbox.py new/tryton-4.2.6/tryton/gui/window/view_form/view/form_gtk/richtextbox.py --- old/tryton-4.2.5/tryton/gui/window/view_form/view/form_gtk/richtextbox.py 2017-05-03 18:53:29.000000000 +0200 +++ new/tryton-4.2.6/tryton/gui/window/view_form/view/form_gtk/richtextbox.py 2017-08-08 18:29:49.000000000 +0200 @@ -295,12 +295,13 @@ dialog = gtk.ColorSelectionDialog(_('Select a color')) dialog.set_transient_for(get_toplevel_window()) - dialog.colorsel.set_has_palette(True) + colorsel = dialog.get_color_selection() + colorsel.set_has_palette(True) color = self.colors.get(name) if color: - dialog.colorsel.set_current_color(color) + colorsel.set_current_color(color) if dialog.run() == gtk.RESPONSE_OK: - color = dialog.colorsel.get_current_color() + color = colorsel.get_current_color() self.colors[name] = color if start is not None and end is not None: start = self.text_buffer.get_iter_at_offset(start) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton/gui/window/view_form/view/list_gtk/editabletree.py new/tryton-4.2.6/tryton/gui/window/view_form/view/list_gtk/editabletree.py --- old/tryton-4.2.5/tryton/gui/window/view_form/view/list_gtk/editabletree.py 2017-05-03 18:53:29.000000000 +0200 +++ new/tryton-4.2.6/tryton/gui/window/view_form/view/list_gtk/editabletree.py 2017-08-08 18:29:49.000000000 +0200 @@ -98,6 +98,9 @@ method = model.append new_record = model.group.new() res = method(new_record) + sequence = self.view.attributes.get('sequence') + if sequence: + model.group.set_sequence(field=sequence) return res def set_cursor(self, path, focus_column=None, start_editing=False): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.5/tryton.egg-info/PKG-INFO new/tryton-4.2.6/tryton.egg-info/PKG-INFO --- old/tryton-4.2.5/tryton.egg-info/PKG-INFO 2017-06-05 23:39:33.000000000 +0200 +++ new/tryton-4.2.6/tryton.egg-info/PKG-INFO 2017-08-08 18:29:52.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: tryton -Version: 4.2.5 +Version: 4.2.6 Summary: Tryton client Home-page: http://www.tryton.org/ Author: Tryton