Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Auto ID Behavior for Dexterity Contents #1441

Merged
merged 3 commits into from
Sep 19, 2019

Conversation

ramonski
Copy link
Contributor

Description of the issue/feature this PR addresses

This PR introduces a Plone Behavior to generate IDs for Dexterity based contents.

Usage

Add this XML into your Dexterity profiles/default/types/<Content>.xml:

  <!-- Dexterity behaviours for this type -->
  <property name="behaviors">
    <element value="bika.lims.interfaces.IAutoGenerateID"/>
    ...
  </property>

Current behavior before PR

Dexterity contents not integrated into the ID Server machinery

Desired behavior after PR is merged

Dexterity contents supported by the ID Server machinery

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

@xispa xispa merged commit e5d86d8 into master Sep 19, 2019
@xispa xispa deleted the dexterity-enabled-id-server branch September 19, 2019 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants