Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Changelog
1.3.2 (unreleased)
------------------

- Nothing changed yet.
- Removed 'to_sign' and 'signed' fields from the behavior.
[chris-adam]


1.3.1 (2024-03-01)
Expand Down
12 changes: 0 additions & 12 deletions src/collective/dms/scanbehavior/behaviors/behaviors.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ class IScanFields(model.Schema):
"scan_date",
"scan_user",
"scanner",
"to_sign",
"signed",
),
)

Expand Down Expand Up @@ -73,16 +71,6 @@ class IScanFields(model.Schema):
required=False,
)

to_sign = schema.Bool(
title=_(u"To sign?"),
default=False,
)

signed = schema.Bool(
title=_(u"Signed version"),
default=False,
)


alsoProvides(IScanFields, IFormFieldProvider)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,10 @@ msgstr ""
msgid "Scan metadata"
msgstr ""

#: ../behaviors/behaviors.py:88
msgid "Signed version"
msgstr ""

#: ../testing.zcml:16
msgid "Steps to ease tests of collective.dms.scanbehavior"
msgstr ""

#: ../behaviors/behaviors.py:83
msgid "To sign?"
msgstr ""

#: ../behaviors/behaviors.py:45
msgid "Version"
msgstr ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,10 @@ msgstr "Scan"
msgid "Scan metadata"
msgstr "Métadonnées de numérisation"

#: ../behaviors/behaviors.py:88
msgid "Signed version"
msgstr "Version signée"

#: ../testing.zcml:16
msgid "Steps to ease tests of collective.dms.scanbehavior"
msgstr ""

#: ../behaviors/behaviors.py:83
msgid "To sign?"
msgstr "À signer?"

#: ../behaviors/behaviors.py:45
msgid "Version"
msgstr "Version"
Expand Down
5 changes: 0 additions & 5 deletions src/collective/dms/scanbehavior/profiles/default/catalog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,4 @@
<indexed_attr value="scan_id"/>
</index>
<column value="scan_id"/>

<index name="signed" meta_type="BooleanIndex">
<indexed_attr value="signed"/>
</index>
<column value="signed"/>
</object>
Loading