Commit 257f008d authored by Sebastien Robin's avatar Sebastien Robin

removed 2 stupid lines


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@651 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 02a9f49d
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# Updates attributes of an Zope document # Updates attributes of an Zope document
# which is in a class inheriting from ERP5 Base # which is in a class inheriting from ERP5 Base
sdmlkjsdmlkjfdsdfmlj()
request=context.REQUEST request=context.REQUEST
o = context.portal_catalog.getObject(object_uid) o = context.portal_catalog.getObject(object_uid)
...@@ -61,7 +60,6 @@ try: ...@@ -61,7 +60,6 @@ try:
request.set('base_category', base_category) request.set('base_category', base_category)
request.set('portal_type', my_field.get_value('portal_type')) request.set('portal_type', my_field.get_value('portal_type'))
request.set('form_id', 'search_relation') request.set('form_id', 'search_relation')
request.set('form_toto', 'search_relation')
request.set(my_field.get_value('catalog_index'), request.get( my_field.id, None)) request.set(my_field.get_value('catalog_index'), request.get( my_field.id, None))
relation_list = context.portal_catalog(**kw) relation_list = context.portal_catalog(**kw)
if len(relation_list) > 0: if len(relation_list) > 0:
......
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