Commit 78bb76d8 authored by Jérome Perrin's avatar Jérome Perrin

portal_type argument must be a list for `content` properties

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7382 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ac947531
...@@ -37,13 +37,15 @@ class DefaultSupply: ...@@ -37,13 +37,15 @@ class DefaultSupply:
'storage_id' : 'default_supply_line', 'storage_id' : 'default_supply_line',
'description' : '', 'description' : '',
'type' : 'content', 'type' : 'content',
'portal_type' : 'Supply Line', 'portal_type' : ('Supply Line',),
'acquired_property_id' : ('base_price','id','priced_quantity','price_currency', 'acquired_property_id' : ('base_price', 'id', 'priced_quantity',
'source','destination','quantity_step','priced_quantity', 'price_currency', 'source', 'destination',
'start_date','stop_date','start_date_range_max', 'quantity_step', 'priced_quantity',
'start_date_range_min'), 'start_date', 'stop_date',
'start_date_range_max',
'start_date_range_min'),
'mode' : 'w' }, 'mode' : 'w' },
) )
_categories = () _categories = ()
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