From 4afe39f74238006e1f3c1383cf2d2376c2abffcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Mon, 10 Aug 2009 09:15:19 +0000 Subject: [PATCH] - rename PropertySheet git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28317 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../property_sheet_list.xml | 8 ++++---- .../{BPMAppliedRule.py => BPMRule.py} | 13 ++++++------- bt5/erp5_bpm/bt/revision | 2 +- .../bt/template_portal_type_property_sheet_list | 8 ++++---- bt5/erp5_bpm/bt/template_property_sheet_id_list | 2 +- 5 files changed, 16 insertions(+), 17 deletions(-) rename bt5/erp5_bpm/PropertySheetTemplateItem/{BPMAppliedRule.py => BPMRule.py} (79%) diff --git a/bt5/erp5_bpm/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_bpm/PortalTypePropertySheetTemplateItem/property_sheet_list.xml index 60eab56af8..44b8e7d3af 100644 --- a/bt5/erp5_bpm/PortalTypePropertySheetTemplateItem/property_sheet_list.xml +++ b/bt5/erp5_bpm/PortalTypePropertySheetTemplateItem/property_sheet_list.xml @@ -1,14 +1,14 @@ <property_sheet_list> <portal_type id="BPM Delivery Rule"> - <item>BPMAppliedRule</item> + <item>BPMRule</item> </portal_type> <portal_type id="BPM Invoice Transaction Rule"> - <item>BPMAppliedRule</item> + <item>BPMRule</item> </portal_type> <portal_type id="BPM Invoicing Rule"> - <item>BPMAppliedRule</item> + <item>BPMRule</item> </portal_type> <portal_type id="BPM Order Rule"> - <item>BPMAppliedRule</item> + <item>BPMRule</item> </portal_type> </property_sheet_list> \ No newline at end of file diff --git a/bt5/erp5_bpm/PropertySheetTemplateItem/BPMAppliedRule.py b/bt5/erp5_bpm/PropertySheetTemplateItem/BPMRule.py similarity index 79% rename from bt5/erp5_bpm/PropertySheetTemplateItem/BPMAppliedRule.py rename to bt5/erp5_bpm/PropertySheetTemplateItem/BPMRule.py index f53ff939b4..6a0477d400 100644 --- a/bt5/erp5_bpm/PropertySheetTemplateItem/BPMAppliedRule.py +++ b/bt5/erp5_bpm/PropertySheetTemplateItem/BPMRule.py @@ -1,13 +1,13 @@ ############################################################################## # -# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. -# Jean-Paul Smets-Solanes <jp@nexedi.com> +# Copyright (c) 2009 Nexedi SARL and Contributors. All Rights Reserved. +# Åukasz Nowak <luke@nexedi.com> # # WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsability of assessing all potential +# programmers who take the whole responsibility of assessing all potential # consequences resulting from its eventual inadequacies and bugs # End users who are looking for a ready-to-use solution with commercial -# garantees and support are strongly adviced to contract a Free Software +# guarantees and support are strongly advised to contract a Free Software # Service Company # # This program is Free Software; you can redistribute it and/or @@ -26,11 +26,10 @@ # ############################################################################## -class BPMAppliedRule: +class BPMRule: """ - BPM extended Applied Rule properties + BPM extended Rule properties """ - # XXX: Name of this Property Sheet is wrong - this is for Rules _properties = ( { 'id' : 'matching_property', 'description' : 'List of properties used in to compare previsions ' diff --git a/bt5/erp5_bpm/bt/revision b/bt5/erp5_bpm/bt/revision index f937f7e2b3..df689d8406 100644 --- a/bt5/erp5_bpm/bt/revision +++ b/bt5/erp5_bpm/bt/revision @@ -1 +1 @@ -233 \ No newline at end of file +234 \ No newline at end of file diff --git a/bt5/erp5_bpm/bt/template_portal_type_property_sheet_list b/bt5/erp5_bpm/bt/template_portal_type_property_sheet_list index 1af9a83723..7008c82fae 100644 --- a/bt5/erp5_bpm/bt/template_portal_type_property_sheet_list +++ b/bt5/erp5_bpm/bt/template_portal_type_property_sheet_list @@ -1,4 +1,4 @@ -BPM Delivery Rule | BPMAppliedRule -BPM Invoice Transaction Rule | BPMAppliedRule -BPM Invoicing Rule | BPMAppliedRule -BPM Order Rule | BPMAppliedRule \ No newline at end of file +BPM Delivery Rule | BPMRule +BPM Invoice Transaction Rule | BPMRule +BPM Invoicing Rule | BPMRule +BPM Order Rule | BPMRule \ No newline at end of file diff --git a/bt5/erp5_bpm/bt/template_property_sheet_id_list b/bt5/erp5_bpm/bt/template_property_sheet_id_list index 8929a60a94..dc3117d60f 100644 --- a/bt5/erp5_bpm/bt/template_property_sheet_id_list +++ b/bt5/erp5_bpm/bt/template_property_sheet_id_list @@ -1 +1 @@ -BPMAppliedRule \ No newline at end of file +BPMRule \ No newline at end of file -- 2.30.9