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,10 +37,12 @@ class DefaultSupply:
'storage_id' : 'default_supply_line',
'description' : '',
'type' : 'content',
'portal_type' : 'Supply Line',
'acquired_property_id' : ('base_price','id','priced_quantity','price_currency',
'source','destination','quantity_step','priced_quantity',
'start_date','stop_date','start_date_range_max',
'portal_type' : ('Supply Line',),
'acquired_property_id' : ('base_price', 'id', 'priced_quantity',
'price_currency', 'source', 'destination',
'quantity_step', 'priced_quantity',
'start_date', 'stop_date',
'start_date_range_max',
'start_date_range_min'),
'mode' : 'w' },
)
......
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