Commit 5083b028 authored by Guillaume Michon's avatar Guillaume Michon

Use category price_currency for social_capital_currency property


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2415 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4fa37771
...@@ -42,10 +42,27 @@ class Organisation: ...@@ -42,10 +42,27 @@ class Organisation:
'description' : 'The social capital of this organisation', 'description' : 'The social capital of this organisation',
'type' : 'int', 'type' : 'int',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'social_capital_currency', # XXX Please use category price_currency { 'id' : 'social_capital_currency_id',
'description' : "The currency in which the social capital is" 'description' : "The currency in which the social capital is expressed",
"expressed",
'type' : 'string', 'type' : 'string',
'portal_type' : ('Currency'),
'acquisition_base_category' : ('price_currency'),
'acquisition_portal_type' : ('Currency'),
'acquisition_copy_value' : 0,
'acquisition_mask_value' : 1,
'acquisition_sync_value' : 0,
'acquisition_accessor_id' : 'getId',
'mode' : 'w' },
{ 'id' : 'social_capital_currency_title',
'description' : "The currency in which the social capital is expressed",
'type' : 'string',
'portal_type' : ('Currency'),
'acquisition_base_category' : ('price_currency'),
'acquisition_portal_type' : ('Currency'),
'acquisition_copy_value' : 0,
'acquisition_mask_value' : 1,
'acquisition_sync_value' : 0,
'acquisition_accessor_id' : 'getTitle',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'activity_code', { 'id' : 'activity_code',
'description' : 'The activity code of this organisation', 'description' : 'The activity code of this organisation',
......
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