Don't send the _data content throw xmlrpc

bzr revid: ced-02c7764a1509d6fbcc1f8aef4815957fcadfc4ae
This commit is contained in:
ced 2007-10-04 05:58:32 +00:00
parent e5ea66f472
commit 122217e5fe
1 changed files with 3 additions and 1 deletions

View File

@ -162,7 +162,9 @@ class ir_values(osv.osv):
#ir_del(cr, uid, x[0])
return False
def clean(x):
for key in ('report_sxw_content', 'report_rml_content', 'report_sxw', 'report_rml'):
for key in ('report_sxw_content', 'report_rml_content',
'report_sxw', 'report_rml', 'report_sxw_content_data',
'report_rml_content_data'):
if key in x:
del x[key]
return x