*: Use ERP5User to check for user types
Rather them hardcode portal type, use property sheet to identify if the document is an user. This is way simpler to manage via Business Template Introduce new method on Base class to return the property sheet ids, so we don't have to put the getattr-way everywhere.
Showing
Please register or sign in to comment