[REVERT] orm: reverted revision 1917 introducing split on id fields -- need to find a proper fix for caldav generated ids
bzr revid: odo@openerp.com-20100825175800-0vgmg3eesaw9xwdi
This commit is contained in:
@@ -218,8 +218,6 @@ class browse_record(object):
|
||||
raise KeyError('Field %s not found in %s'%(name,self))
|
||||
# create browse records for 'remote' objects
|
||||
for result_line in field_values:
|
||||
if not isinstance(result_line['id'], (int, long)) and len(str(result_line['id']).split('-')) > 1:
|
||||
result_line['id'] = int(str(result_line['id']).split('-')[0])
|
||||
new_data = {}
|
||||
for field_name, field_column in fields_to_fetch:
|
||||
if field_column._type in ('many2one', 'one2one'):
|
||||
|
||||
Reference in New Issue
Block a user