From fd0428bef05865f93d8392dd5d18bcc2176a84d1 Mon Sep 17 00:00:00 2001 From: ernesto Date: Sat, 28 Apr 2018 09:12:30 -0400 Subject: [PATCH] document_url: Fix inclusion of unknown field 'user_id' Remove 'user_id' key in a dictionary prepared to create an 'ir.attachment' object, because it's an unknown field for that model --- document_url/wizard/document_url.py | 1 - 1 file changed, 1 deletion(-) diff --git a/document_url/wizard/document_url.py b/document_url/wizard/document_url.py index 95c4f48a..c213d21b 100644 --- a/document_url/wizard/document_url.py +++ b/document_url/wizard/document_url.py @@ -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'], }