Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/e/r/erp5-HEAD/bt5/erp5_apparel/DocumentTemplateItem/portal_components/document.erp5.ApparelMeasurement.py   erp5(Download)
 
from AccessControl import ClassSecurityInfo
from Products.CMFCore.WorkflowCore import WorkflowAction
 
from Products.ERP5Type import Permissions, PropertySheet
    _edit = Image._edit
    security.declareProtected(Permissions.ModifyPortalContent, 'edit' )
    edit = WorkflowAction( _edit )
 
    security.declareProtected(Permissions.View,  'index_html')