DefaultReferenceField
This is a very simple addition to the Archetypes ReferenceField that allows you to set a default_method that will set the referencefield to an object, or uid.
Project Description
Archetypes ReferenceField completely ignores the default, and default_method statements of the field. This is listed in the Archetypes bugtracker as http://dev.plone.org/archetypes/ticket/650 . This is a very simple fix, that I needed, but there have been other people on the users list who have made coments about this, so maybe this will be useful to others.
Install this as a regular product, and then access it by
from Products.DefaultReferenceField.Field import DefaultReferenceField
then in your schema add your DefaultReferenceField as any other field.
Current Release
No stable release available yet.
All Releases
| Version | Released | Description | Compatibility | Status |
|---|

