ERP5Site: Improve getDefaultModule*.
Add support for visibility checking. Use portal_type accessors, not properties. Also, original implementation of getDefaultModuleId would get the object, then its id. getDefaultModuleValue using it, it was getting the object, then its id, then the object again... Also, follow naming convention: getters returning documents are named getXxxValue, not getXxx.
Showing
Please register or sign in to comment