From 63c79af26342ce5a0d407f1c64da3ee29d70fbcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordi=20Puiggen=C3=A9?= Date: Sun, 4 Aug 2024 11:29:15 +0200 Subject: [PATCH 1/2] Compatibility with core#2584 (SampleType to DX) --- src/senaite/databox/tests/doctests/Databox.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/senaite/databox/tests/doctests/Databox.rst b/src/senaite/databox/tests/doctests/Databox.rst index 2dedcbd..9b16e88 100644 --- a/src/senaite/databox/tests/doctests/Databox.rst +++ b/src/senaite/databox/tests/doctests/Databox.rst @@ -91,8 +91,8 @@ Setup the Lab for testing: >>> labcontact1 = api.create(labcontacts, "LabContact", Firstname="Lab", Lastname="Contact 1") >>> labcontact2 = api.create(labcontacts, "LabContact", Firstname="Lab", Lastname="Contact 2") - >>> sampletype1 = api.create(bikasetup.bika_sampletypes, "SampleType", title="Metals", Prefix="Metals") - >>> sampletype2 = api.create(bikasetup.bika_sampletypes, "SampleType", title="Water", Prefix="Water") + >>> sampletype1 = api.create(setup.sampletypes, "SampleType", title="Metals", Prefix="Metals") + >>> sampletype2 = api.create(setup.sampletypes, "SampleType", title="Water", Prefix="Water") >>> department1 = api.create(setup.departments, "Department", title="Chemistry", Manager=labcontact1) >>> department2 = api.create(setup.departments, "Department", title="Microbiology", Manager=labcontact2) From 28612aa18741ede23a4be4ab0664d139f95e8bbf Mon Sep 17 00:00:00 2001 From: Ramon Bartl Date: Sun, 4 Aug 2024 22:30:58 +0200 Subject: [PATCH 2/2] changelog updated --- docs/Changelog.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Changelog.rst b/docs/Changelog.rst index d6dac26..7301bf9 100644 --- a/docs/Changelog.rst +++ b/docs/Changelog.rst @@ -1,6 +1,7 @@ 1.5.0 (unreleased) ------------------ +- #37 Compatibility with core#2584 (SampleType to DX) - #36 Compatibility with core#2567 (AnalysisCategory to DX) - #33 Fix date issues when user inputs: date out of bound or date_to earlier than date_from - #35 Allow to query Auto Import Log type