From 78bb76d82dec226e61b9bb40e21a0e9f4d4694a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 22 May 2006 08:38:26 +0000 Subject: [PATCH] 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 --- product/ERP5/PropertySheet/DefaultSupply.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/product/ERP5/PropertySheet/DefaultSupply.py b/product/ERP5/PropertySheet/DefaultSupply.py index 18f8546233..c2874fd768 100644 --- a/product/ERP5/PropertySheet/DefaultSupply.py +++ b/product/ERP5/PropertySheet/DefaultSupply.py @@ -37,13 +37,15 @@ 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', - 'start_date_range_min'), + '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' }, ) - _categories = () + _categories = () -- 2.30.9