changeset a741f44e582e in tryton:6.0
details: https://hg.tryton.org/tryton?cmd=changeset&node=a741f44e582e
description:
        Check screen limit is None before comparing

        issue11015
        review389361002
        (grafted from 2913ea0aaf46c55ad563432a94edbd76a68bc0cd)
diffstat:

 tryton/gui/window/form.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 21266fd82cc7 -r a741f44e582e tryton/gui/window/form.py
--- a/tryton/gui/window/form.py Mon Dec 06 23:37:42 2021 +0100
+++ b/tryton/gui/window/form.py Thu Dec 16 22:14:22 2021 +0100
@@ -641,6 +641,7 @@
 
         msg = name + ' / ' + str(signal_data[1])
         if (signal_data[1] < signal_data[2]
+                and self.screen.limit is not None
                 and signal_data[2] > self.screen.limit):
             msg += _(' of ') + str(signal_data[2])
         self.status_label.set_text(msg)

Reply via email to