I'd like to know what is the recommended way to include a change to a built-in modules class within a newly created custom module. As an example, in a custom module we have code that requires a 'CustomerType' field in the Customer class within the Ecommerce module. How could I include the addition of this field in my Custom Module and what about removing this field on uninstallation?In adition, using the same example, we set the field to be hidden by default and then enable it on a couple of the Alternative Forms (ie. General properties @ New Customer), so that only users who can view the admin interface will be able to see the field. Hence, we also need a way to re-define the alternative forms.For our own usage its not much of a problem as we can Import a previously Exported customer object, prior to installing the module. However, this would cause issues if another module also customizes the same object.
↧