~camptocamp/c2c-rd-addons/7.0-fix-1099975

« back to all changes in this revision

Viewing changes to xml_template/xml_template.py

  • Committer: ferdinand
  • Date: 2012-11-16 22:39:51 UTC
  • mfrom: (835.2.57 6.1)
  • Revision ID: office@chricar.at-20121116223951-fadjxrcsu27zimca
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
        for reference in obj.reference_ids :
172
172
            vals = \
173
173
                { "ir_attachment_id" : res
174
 
                , "name"             : reference.name
 
174
                , "name"             : reference.name._table_name + "," + str(reference.name.id)
175
175
                }
176
176
            attach_ref_obj.create(cr, uid, vals, context=context)
177
177
        return res