diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Fax%20Message/assessment.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Fax%20Message/assessment.xml index c3cc9d037a026986ae35d1582ed7d807b3114b31..ff234c98441ff896f96cfd5ece4dba7e317e5703 100644 --- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Fax%20Message/assessment.xml +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Fax%20Message/assessment.xml @@ -71,7 +71,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>python:"%s/%s" % (object_url, object.getFollowUpValue().getAssessmentFormId())</string> </value> + <value> <string>python:"%s/%s" % (object_url, object.Event_getFollowUpAssessmentFormId())</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/assessment.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/assessment.xml index c3cc9d037a026986ae35d1582ed7d807b3114b31..ff234c98441ff896f96cfd5ece4dba7e317e5703 100644 --- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/assessment.xml +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/assessment.xml @@ -71,7 +71,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>python:"%s/%s" % (object_url, object.getFollowUpValue().getAssessmentFormId())</string> </value> + <value> <string>python:"%s/%s" % (object_url, object.Event_getFollowUpAssessmentFormId())</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/assessment.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/assessment.xml index c3cc9d037a026986ae35d1582ed7d807b3114b31..ff234c98441ff896f96cfd5ece4dba7e317e5703 100644 --- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/assessment.xml +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/assessment.xml @@ -71,7 +71,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>python:"%s/%s" % (object_url, object.getFollowUpValue().getAssessmentFormId())</string> </value> + <value> <string>python:"%s/%s" % (object_url, object.Event_getFollowUpAssessmentFormId())</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/assessment.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/assessment.xml index c3cc9d037a026986ae35d1582ed7d807b3114b31..ff234c98441ff896f96cfd5ece4dba7e317e5703 100644 --- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/assessment.xml +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/assessment.xml @@ -71,7 +71,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>python:"%s/%s" % (object_url, object.getFollowUpValue().getAssessmentFormId())</string> </value> + <value> <string>python:"%s/%s" % (object_url, object.Event_getFollowUpAssessmentFormId())</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Visit/assessment.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Visit/assessment.xml index c3cc9d037a026986ae35d1582ed7d807b3114b31..ff234c98441ff896f96cfd5ece4dba7e317e5703 100644 --- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Visit/assessment.xml +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Visit/assessment.xml @@ -71,7 +71,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>python:"%s/%s" % (object_url, object.getFollowUpValue().getAssessmentFormId())</string> </value> + <value> <string>python:"%s/%s" % (object_url, object.Event_getFollowUpAssessmentFormId())</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Web%20Message/assessment.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Web%20Message/assessment.xml index c3cc9d037a026986ae35d1582ed7d807b3114b31..ff234c98441ff896f96cfd5ece4dba7e317e5703 100644 --- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Web%20Message/assessment.xml +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Web%20Message/assessment.xml @@ -71,7 +71,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>python:"%s/%s" % (object_url, object.getFollowUpValue().getAssessmentFormId())</string> </value> + <value> <string>python:"%s/%s" % (object_url, object.Event_getFollowUpAssessmentFormId())</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_getFollowUpAssessmentFormId.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_getFollowUpAssessmentFormId.xml new file mode 100644 index 0000000000000000000000000000000000000000..978003f94193847bc2787ee02090ab8358b5a1f9 --- /dev/null +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_getFollowUpAssessmentFormId.xml @@ -0,0 +1,122 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_body</string> </key> + <value> <string>return context.getFollowUpValue().getAssessmentFormId()\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>_getattr_</string> + <string>context</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Event_getFollowUpAssessmentFormId</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision index f9c94c8318066ba562fd1ce1e14753071396ea54..98c1572f67e72c2c54c6e949b21406e146df0b5b 100644 --- a/bt5/erp5_crm/bt/revision +++ b/bt5/erp5_crm/bt/revision @@ -1 +1 @@ -325 \ No newline at end of file +327 \ No newline at end of file