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

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

src/e/r/erp5-HEAD/product/ERP5SyncML/Document/SyncMLSignature.py   erp5(Download)
from Products.ERP5Type import Permissions
from Products.ERP5Type import PropertySheet
from Products.ERP5SyncML.Utils import PdataHelper
from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter
 
    if value:
      # convert the string to Pdata
      pdata_wrapper = PdataHelper(self.getPortalObject(), value)
      self._setData(pdata_wrapper)
      self.setTemporaryData(None) # We make sure that the data will not be erased
    if value:
      if not isinstance(value, PdataHelper):
        value = PdataHelper(self.getPortalObject(), value)
      self._setPartialData(value)
      self.setLastDataPartialData(value.getLastPdata())
    if value:
      if not isinstance(value, PdataHelper):
        value = PdataHelper(self.getPortalObject(), value)
      last_data = value.getLastPdata()
      if self.hasLastDataPartialData():