• Jérome Perrin's avatar
    *: stop using newTemp* constructors · 04b49859
    Jérome Perrin authored
    These constructors are not recognized by pylint and now we have
    no-name-in-module errors.
    
    Because since introduction of portal types as classes there was this
    idea of deprecating those in favor of using newContent(temp_object=True,
    switch to this new syntax.
    
    Since we still have to create documents in portal_trash, only change the
    minimal to get coding style tests passing again.
    
    /reviewed-on nexedi/erp5!1024
    04b49859
extension.erp5.ERP5Administration.py 7.24 KB