Skip to content

Commit 9f654ad

Browse files
committed
Revert "Fix empty field in sample add form when using edit accessor (senaite#1905)"
This reverts commit b1f8126.
1 parent 97b18cb commit 9f654ad

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

CHANGES.rst

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Changelog
44
2.2.0 (unreleased)
55
------------------
66

7-
- #1905 Fix empty field in sample add form when using edit accessor
8-
97

108
2.1.0 (2022-01-05)
119
------------------

buildout.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[buildout]
22
index = https://pypi.org/simple/
3-
extends = https://dist.plone.org/release/5.2.6/versions.cfg
3+
extends = https://dist.plone.org/release/5.2.5/versions.cfg
44
find-links =
5-
https://dist.plone.org/release/5.2.6/
5+
https://dist.plone.org/release/5.2.5/
66
https://dist.plone.org/thirdparty/
77

88
parts =

src/bika/lims/browser/analysisrequest/add2.py

-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ def accessor(**kw):
224224
# XXX: This is a hack to make the widget available in the template
225225
schema._fields[new_fieldname] = new_field
226226
new_field.getAccessor = getAccessor
227-
new_field.getEditAccessor = getAccessor
228227

229228
# set the default value
230229
form = dict()

0 commit comments

Comments
 (0)