Commit 2ca014e0 authored by Romain Courteaud's avatar Romain Courteaud

Store specialise title.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2512 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e5ff0528
############################################################################## ##############################################################################
# #
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002, 2004 Nexedi SARL and Contributors. All Rights Reserved.
# Jean-Paul Smets-Solanes <jp@nexedi.com> # Jean-Paul Smets-Solanes <jp@nexedi.com>
# Romain Courteaud <romain@nexedi.com>
# #
# WARNING: This program as such is intended to be used by professional # 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 responsability of assessing all potential
...@@ -45,6 +46,7 @@ class Transformation: ...@@ -45,6 +46,7 @@ class Transformation:
'acquisition_accessor_id' : 'getId', 'acquisition_accessor_id' : 'getId',
'acquisition_depends' : None, 'acquisition_depends' : None,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'template_transformation_url', { 'id' : 'template_transformation_url',
'description' : "The contact persons involved", 'description' : "The contact persons involved",
'type' : 'lines', 'type' : 'lines',
...@@ -56,6 +58,7 @@ class Transformation: ...@@ -56,6 +58,7 @@ class Transformation:
'acquisition_accessor_id' : 'getRelativeUrl', 'acquisition_accessor_id' : 'getRelativeUrl',
'acquisition_depends' : None, 'acquisition_depends' : None,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'template_transformation_title', { 'id' : 'template_transformation_title',
'description' : "The contact persons involved", 'description' : "The contact persons involved",
'type' : 'lines', 'type' : 'lines',
...@@ -67,17 +70,16 @@ class Transformation: ...@@ -67,17 +70,16 @@ class Transformation:
'acquisition_accessor_id' : 'getTitle', 'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None, 'acquisition_depends' : None,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'resource_url',
'description' : "The contact persons involved", { 'id' : 'resource_title',
'description' : "Title of the resource",
'type' : 'string', 'type' : 'string',
'acquisition_base_category' : ('resource',), 'acquisition_base_category' : ('resource',),
'acquisition_portal_type' : Expression('python: portal.getPortalResourceTypeList()'), 'acquisition_portal_type' : (),
'acquisition_copy_value' : 0, 'acquisition_copy_value' : 0,
'acquisition_mask_value' : 0, 'acquisition_mask_value' : 0,
'acquisition_sync_value' : 0, 'acquisition_sync_value' : 0,
'acquisition_accessor_id' : 'getRelativeUrl', 'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None, 'acquisition_depends' : None,
'mode' : 'w' }, 'mode' : 'w' },
) )
_categories = ('specialise', 'resource')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment