• Rafael Monnerat's avatar
    ERP5LoginUserManager: Check Assignment is only meaningfull for Persons · 0c8c2cb2
    Rafael Monnerat authored
    The Assigments are only relevant if the User is based on Person Document, on SlapOS, an user come from a Computer or a Software Instance Document. This change makes the document compatible with other kinds of Users, as Assigment is overkill for Non-Person cases, as the presence of ERP5 Login is enough to determinate the User existence. 
    
    The other alternative would be re-factorize to not duplicate code, which seems not the intention of how this code was written. 
    
    /cc @jerome, @kazuhiko 
    
    
    
    /reviewed-on !458
    0c8c2cb2
ERP5LoginUserManager.py 11.3 KB