• Vincent Pelletier's avatar
    ERP5Site: Improve getDefaultModule*. · 8752030d
    Vincent Pelletier authored
    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.
    8752030d
ERP5Site.py 86.7 KB