# You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # ############################################################################## """ CMFCategory provides a way to implement categories and relations in the CMF. It is based on the ERP5Type RAD """ # Update ERP5 Globals from Products.ERP5Type.Utils import initializeProduct, updateGlobals import sys, Permissions this_module = sys.modules[__name__] document_classes = updateGlobals(this_module, globals(), permissions_module=Permissions) # Define object classes and tools import Category, CategoryTool object_classes = () portal_tools = (CategoryTool.CategoryTool, ) content_classes = () content_constructors = () # Finish installation def initialize(context): import Document initializeProduct(context, this_module,
# after transforming 'YYY' into a ZODB property sheet from dynamic.dynamic_module import registerDynamicModule PropertySheet = registerDynamicModule('Products.ERP5Type.PropertySheet', lambda name: name) # Switch(es) for ongoing development which require single code base # Update ERP5 Globals import sys, Permissions, os from App.Common import package_home this_module = sys.modules[ __name__ ] product_path = package_home( globals() ) this_module._dtmldir = os.path.join( product_path, 'dtml' ) from Products.ERP5Type.Utils import initializeProduct, updateGlobals document_classes = updateGlobals( this_module, globals(), permissions_module=Permissions, is_erp5_type=1 ) import ZopePatch import interfaces import Products.Localizer # So that we make sure Globals.get_request is available # allow our workflow definitions to be registered import Products.ERP5Type.Workflow def initialize( context ): # Import Product Components from Tool import (CacheTool, MemcachedTool, SessionTool, TypesTool, WebServiceTool, PropertySheetTool, ComponentTool)
# ############################################################################## """ ERP5Catalog provides an extended catalog based on ZSQLCatalog and extended local roles management """ import sys, Permissions, os from App.Common import package_home this_module = sys.modules[ __name__ ] product_path = package_home( globals() ) this_module._dtmldir = os.path.join( product_path, 'dtml' ) # Update ERP5 Globals from Products.ERP5Type.Utils import initializeProduct, updateGlobals document_classes = updateGlobals(this_module, globals(), permissions_module=Permissions) import PropertySheet import interfaces def initialize( context ): # Import Product Components from Tool import SynchronizationTool import Document # Define documents, classes, constructors and tools object_classes = () content_constructors = () content_classes = () portal_tools = (SynchronizationTool.SynchronizationTool,) # Do initialization step initializeProduct(context, this_module, globals(),
# after transforming 'YYY' into a ZODB property sheet from dynamic.dynamic_module import registerDynamicModule PropertySheet = registerDynamicModule('Products.ERP5Type.PropertySheet', lambda name: name) # Switch(es) for ongoing development which require single code base # Update ERP5 Globals import sys, Permissions, os from App.Common import package_home this_module = sys.modules[__name__] product_path = package_home(globals()) this_module._dtmldir = os.path.join(product_path, 'dtml') from Products.ERP5Type.Utils import initializeProduct, updateGlobals document_classes = updateGlobals(this_module, globals(), permissions_module=Permissions, is_erp5_type=1) import ZopePatch import interfaces import Products.Localizer # So that we make sure Globals.get_request is available # allow our workflow definitions to be registered import Products.ERP5Type.Workflow def initialize(context): # Import Product Components from Tool import (CacheTool, MemcachedTool, SessionTool, TypesTool, WebServiceTool, PropertySheetTool, ComponentTool)
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # ############################################################################## """ ERP5 Secure Payment is a product containing everything needed to do secure payment on ERP5 """ # Update ERP5 Globals from Products.ERP5Type.Utils import initializeProduct, updateGlobals import sys this_module = sys.modules[ __name__ ] document_classes = updateGlobals( this_module, globals()) from Tool import SecurePaymentTool # Define object classes and tools object_classes = () portal_tools = (SecurePaymentTool.SecurePaymentTool, ) content_classes = () content_constructors = () # Finish installation def initialize(context):
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # ############################################################################## """ ERP5 Secure Payment is a product containing everything needed to do secure payment on ERP5 """ # Update ERP5 Globals from Products.ERP5Type.Utils import initializeProduct, updateGlobals import sys this_module = sys.modules[__name__] document_classes = updateGlobals(this_module, globals()) from Tool import SecurePaymentTool # Define object classes and tools object_classes = () portal_tools = (SecurePaymentTool.SecurePaymentTool, ) content_classes = () content_constructors = () # Finish installation def initialize(context): import Document initializeProduct(context,