mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-15 19:52:56 -06:00
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:
parent
19c7c1eb39
commit
f856807611
@ -4,7 +4,7 @@
|
|||||||
# © 2016 ACSONE SA/NV (<http://acsone.eu>)
|
# © 2016 ACSONE SA/NV (<http://acsone.eu>)
|
||||||
{
|
{
|
||||||
'name': 'URL attachment',
|
'name': 'URL attachment',
|
||||||
'version': '9.0.2.0.1',
|
'version': '9.0.2.0.2',
|
||||||
'category': 'Tools',
|
'category': 'Tools',
|
||||||
'author': "Tecnativa,"
|
'author': "Tecnativa,"
|
||||||
"Odoo Community Association (OCA)",
|
"Odoo Community Association (OCA)",
|
||||||
|
@ -34,7 +34,6 @@ class AddUrlWizard(orm.TransientModel):
|
|||||||
'name': form.name,
|
'name': form.name,
|
||||||
'type': 'url',
|
'type': 'url',
|
||||||
'url': url.geturl(),
|
'url': url.geturl(),
|
||||||
'user_id': uid,
|
|
||||||
'res_id': active_id,
|
'res_id': active_id,
|
||||||
'res_model': context['active_model'],
|
'res_model': context['active_model'],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user