mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-14 01:41:26 -06:00
[FIX][9.0][document_url] Link was appearing in all menus.
Fixes https://github.com/OCA/knowledge/pull/102#issuecomment-253734648.
This commit is contained in:
parent
157124cda1
commit
7a0cae0533
@ -40,7 +40,8 @@ Contributors
|
||||
------------
|
||||
|
||||
* Jonathan Nemry <jonathan.nemry@acsone.eu>
|
||||
* Pedro M. Baeza <pedro.baeza@tecnativa.com
|
||||
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
|
||||
* Jairo Llopis <jairo.llopis@tecnativa.com>
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
@ -4,11 +4,11 @@
|
||||
# © 2016 ACSONE SA/NV (<http://acsone.eu>)
|
||||
{
|
||||
'name': 'URL attachment',
|
||||
'version': '9.0.2.0.0',
|
||||
'version': '9.0.2.0.1',
|
||||
'category': 'Tools',
|
||||
'author': "Tecnativa,"
|
||||
"Odoo Community Association (OCA)",
|
||||
'website': 'http://www.tecnativa.com',
|
||||
'website': 'https://www.tecnativa.com',
|
||||
'license': 'AGPL-3',
|
||||
'depends': [
|
||||
'document',
|
||||
|
@ -3,8 +3,10 @@
|
||||
<templates>
|
||||
<t t-extend="Sidebar">
|
||||
<!-- oe_ for Odoo CE, and o_ for Odoo EE -->
|
||||
<t t-jquery=".oe_sidebar_add_attachment, .o_sidebar_add_attachment" t-operation="after">
|
||||
<li class="oe_sidebar_add_url">
|
||||
<t t-jquery=".oe_sidebar_add_attachment, .o_sidebar_add_attachment"
|
||||
t-operation="after">
|
||||
<li class="oe_sidebar_add_url"
|
||||
t-if="section.name == 'files' and widget.options.editable">
|
||||
<a class="oe_file_attachment"
|
||||
data-section="url_doc"
|
||||
data-index="0">Add URL...</a>
|
||||
|
Loading…
Reference in New Issue
Block a user