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

All Samples(10)  |  Call(0)  |  Derive(5)  |  Import(5)

src/e/r/erp5-HEAD/product/ERP5OOo/FormPrintout.py   erp5(Download)
from Products.CMFCore.exceptions import AccessControl_Unauthorized
from Acquisition import Implicit, aq_base
from Products.ERP5Type.Globals import InitializeClass, DTMLFile, Persistent
from AccessControl import ClassSecurityInfo
from OFS.role import RoleManager
class FormPrintout(Implicit, Persistent, RoleManager, Item, PropertyManager):
  """Form Printout
 
  FormPrintout is one of a reporting system in ERP5.
  It enables to create a Printout, using an Open Document Format(ODF)

src/e/r/erp5-HEAD/product/ERP5Type/TranslationProviderBase.py   erp5(Download)
from OFS.SimpleItem import SimpleItem
from Acquisition import aq_base
from Products.ERP5Type.Globals import PersistentMapping, Persistent
from Products.ERP5Type.Accessor.Translation import \
  TRANSLATION_DOMAIN_CONTENT_TRANSLATION

src/e/r/erp5-HEAD/product/ERP5Form/Selection.py   erp5(Download)
##############################################################################
 
from Products.ERP5Type.Globals import InitializeClass, Persistent
import Acquisition
from Acquisition import aq_base
class Selection(Acquisition.Implicit, Traversable, Persistent):
    """
        Selection
 
        A Selection instance allows a ListBox object to browse the data
class DomainSelection(Acquisition.Implicit, Traversable, Persistent):
  """
    A class to store a selection of domains which defines a report
    section. There are different ways to use DomainSelection in
    SQL methods. As a general principle, SQL methods are passed

src/e/r/erp5-HEAD/product/ERP5/Document/BusinessTemplate.py   erp5(Download)
from Shared.DC.ZRDB.Connection import Connection as RDBConnection
from Products.ERP5Type.DiffUtils import DiffFile
from Products.ERP5Type.Globals import Persistent, PersistentMapping
from Acquisition import Implicit, aq_base, aq_inner, aq_parent
from AccessControl import ClassSecurityInfo, Unauthorized, getSecurityManager
class BaseTemplateItem(Implicit, Persistent):
  """
    This class is the base class for all template items.
    is_bt_for_diff means This BT is used to compare self temporary BT with installed BT
  """

src/e/r/erp5-HEAD/product/ERP5Type/Message.py   erp5(Download)
##############################################################################
 
from Products.ERP5Type.Globals import InitializeClass, Persistent
from AccessControl import ClassSecurityInfo
from Products.PythonScripts.Utility import allow_class
class Message(Persistent):
  """
  This class encapsulates message, mapping and domain for a given message
  """