diff --git a/CHANGES.rst b/CHANGES.rst index 8274ac210d..90a852b6c9 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -15,6 +15,7 @@ Changelog **Fixed** +- #551 Traceback in Worksheet Templates list when there are Instruments assigned **Security** diff --git a/bika/lims/controlpanel/bika_worksheettemplates.py b/bika/lims/controlpanel/bika_worksheettemplates.py index 1c0769cec3..12fe641bab 100644 --- a/bika/lims/controlpanel/bika_worksheettemplates.py +++ b/bika/lims/controlpanel/bika_worksheettemplates.py @@ -79,7 +79,7 @@ def folderitem(self, obj, item, index): item['replace']['Title'] = get_link(item['url'], item['Title']) item['Instrument'] = '' instrument = obj.getInstrument() - item['Instrument'] = instrument and instrument.getTitle() or '' + item['Instrument'] = instrument and instrument.Title() or '' return item