senaite / senaite.core

Enterprise Open Source Laboratory System (LIMS)
https://senaite.com
GNU General Public License v2.0
254 stars 145 forks source link

Fix instrument import log message when field value is set #2580

Closed ramonski closed 4 months ago

ramonski commented 4 months ago

Description of the issue/feature this PR addresses

This PR fixes a bug that was introduced with https://github.com/senaite/senaite.core/pull/2555

Current behavior before PR

When a field value, e.g. LowerDetectionLimit or Uncertainty is imported, the old field value was shown in the log message

Instrument Import Log

Desired behavior after PR is merged

The new field value is shown in the log message

Instrument Import Log

-- I confirm I have tested this PR thoroughly and coded it according to PEP8 and Plone's Python styleguide standards.