Hello, guys and thank you for such great module.
Currently we develop our ERP system and one part of it based on CRM Core. So it means that we also inherit your entities.
The problem we faced is that your activity entity has a set of pre-defined fields that being added to an activity bundle every time when we create a new one. But in our system we don't need some of pre-defined fields, and we would love to have possibility to alter the fields and field instances before new activity bundle is created. Of cource, we could do it later, but it doesn't seems like a proper Drupal-way (first create field, then immideately delete it). Also this alter would be very useful for addinig our own fields and field instances.
Patch with proposed solution is attached.
Comments
Comment #1
RoSk0I don't see any reasons we should not add this.
The only this is that you also should add documentation to this patch. Documentation should be placed here crm_core.api.php.
Thanks!
Comment #2
SpleshkaGreat, but maybe it makes sense to add this documentation to crm_core_activities.api.php?
Comment #3
RoSk0No. We want to keep all documentation in one place.
Comment #4
SpleshkaAdded documentation.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedLooking at this carefully, will likely include it in the new release of CRM Core.
Comment #6
SpleshkaI would very appreciate this, thanks!
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commented