document_url: Fix inclusion of unknown field 'user_id' (#165)

Remove 'user_id' key in a dictionary prepared to
create an 'ir.attachment' object, because it's
an unknown field for that model
This commit is contained in:
ernestotejeda
2018-04-30 22:01:53 -04:00
committed by Pedro M. Baeza
parent 19c7c1eb39
commit f856807611
2 changed files with 1 additions and 2 deletions

View File

@@ -34,7 +34,6 @@ class AddUrlWizard(orm.TransientModel):
'name': form.name,
'type': 'url',
'url': url.geturl(),
'user_id': uid,
'res_id': active_id,
'res_model': context['active_model'],
}