mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-21 03:27:25 -06:00
[MIG] document_url: Migration to 13.0
[UPD] Update document_url.pot [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: knowledge-13.0/knowledge-13.0-document_url Translate-URL: https://translation.odoo-community.org/projects/knowledge-13-0/knowledge-13-0-document_url/
This commit is contained in:
parent
9e1c16c141
commit
85c567a01a
@ -14,13 +14,13 @@ URL attachment
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github
|
||||
:target: https://github.com/OCA/knowledge/tree/12.0/document_url
|
||||
:target: https://github.com/OCA/knowledge/tree/13.0/document_url
|
||||
:alt: OCA/knowledge
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/knowledge-12-0/knowledge-12-0-document_url
|
||||
:target: https://translation.odoo-community.org/projects/knowledge-13-0/knowledge-13-0-document_url
|
||||
:alt: Translate me on Weblate
|
||||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
|
||||
:target: https://runbot.odoo-community.org/runbot/118/12.0
|
||||
:target: https://runbot.odoo-community.org/runbot/118/13.0
|
||||
:alt: Try me on Runbot
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
@ -50,7 +50,7 @@ Bug Tracker
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/knowledge/issues>`_.
|
||||
In case of trouble, please check there if your issue has already been reported.
|
||||
If you spotted it first, help us smashing it by providing a detailed and welcomed
|
||||
`feedback <https://github.com/OCA/knowledge/issues/new?body=module:%20document_url%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
`feedback <https://github.com/OCA/knowledge/issues/new?body=module:%20document_url%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
|
||||
Do not contact contributors directly about support or help with technical issues.
|
||||
|
||||
@ -70,6 +70,8 @@ Contributors
|
||||
|
||||
* Pedro M. Baeza
|
||||
* Ernesto Tejeda
|
||||
* Manuel Calero
|
||||
* Víctor Martínez
|
||||
|
||||
Maintainers
|
||||
~~~~~~~~~~~
|
||||
@ -84,6 +86,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||
mission is to support the collaborative development of Odoo features and
|
||||
promote its widespread use.
|
||||
|
||||
This module is part of the `OCA/knowledge <https://github.com/OCA/knowledge/tree/12.0/document_url>`_ project on GitHub.
|
||||
This module is part of the `OCA/knowledge <https://github.com/OCA/knowledge/tree/13.0/document_url>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
|
||||
# Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
|
||||
# Copyright 2014 Tecnativa - Pedro M. Baeza
|
||||
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
|
||||
from . import wizard
|
||||
|
@ -1,15 +1,13 @@
|
||||
# Copyright 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
|
||||
# Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
|
||||
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
|
||||
# Copyright 2014 Tecnativa - Pedro M. Baeza
|
||||
# Copyright 2020 Tecnativa - Manuel Calero
|
||||
{
|
||||
"name": "URL attachment",
|
||||
"version": "13.0.1.0.0",
|
||||
"category": "Tools",
|
||||
"author": "Tecnativa," "Odoo Community Association (OCA)",
|
||||
"author": "Tecnativa, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/knowledge",
|
||||
"license": "AGPL-3",
|
||||
"data": ["view/document_url_view.xml", "security/ir.model.access.csv"],
|
||||
"data": ["view/document_url_view.xml"],
|
||||
"qweb": ["static/src/xml/url.xml"],
|
||||
"installable": True,
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -4,9 +4,9 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Project-Id-Version: Odoo Server 13.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: <>\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@ -20,7 +20,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
@ -86,4 +86,3 @@ msgstr ""
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
msgid "or"
|
||||
msgstr ""
|
||||
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr "Añadir"
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -23,7 +23,7 @@ msgstr "Ajouter"
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -16,8 +16,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
|
||||
"4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 3.8\n"
|
||||
|
||||
#. module: document_url
|
||||
@ -27,7 +27,7 @@ msgstr "Dodaj"
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -27,7 +27,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr "Dodaj"
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -27,7 +27,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -25,7 +25,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -26,7 +26,7 @@ msgstr ""
|
||||
|
||||
#. module: document_url
|
||||
#. openerp-web
|
||||
#: code:addons/document_url/static/src/xml/url.xml:8
|
||||
#: code:addons/document_url/static/src/xml/url.xml:0
|
||||
#: model:ir.actions.act_window,name:document_url.action_ir_attachment_add_url
|
||||
#: model_terms:ir.ui.view,arch_db:document_url.view_ir_attachment_add_url_form
|
||||
#, python-format
|
||||
|
@ -4,3 +4,4 @@
|
||||
* Pedro M. Baeza
|
||||
* Ernesto Tejeda
|
||||
* Manuel Calero
|
||||
* Víctor Martínez
|
||||
|
@ -1,2 +0,0 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_ir_attachment_add_url,access_ir_attachment_add_url,model_ir_attachment_add_url,,1,1,1,1
|
|
@ -367,7 +367,7 @@ ul.auto-toc {
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/knowledge/tree/13.0/document_url"><img alt="OCA/knowledge" src="https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/knowledge-12-0/knowledge-12-0-document_url"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/118/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/knowledge/tree/13.0/document_url"><img alt="OCA/knowledge" src="https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/knowledge-13-0/knowledge-13-0-document_url"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/118/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p>Module that allows to attach an URL as a document.</p>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
<div class="contents local topic" id="contents">
|
||||
@ -417,6 +417,8 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
||||
<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
|
||||
<li>Pedro M. Baeza</li>
|
||||
<li>Ernesto Tejeda</li>
|
||||
<li>Manuel Calero</li>
|
||||
<li>Víctor Martínez</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -5,28 +5,28 @@
|
||||
* Copyright 2020 Tecnativa - Manuel Calero
|
||||
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
*/
|
||||
odoo.define('document_url', function (require) {
|
||||
odoo.define("document_url", function(require) {
|
||||
"use strict";
|
||||
|
||||
var AttachmentBox = require('mail.AttachmentBox');
|
||||
var AttachmentBox = require("mail.AttachmentBox");
|
||||
|
||||
AttachmentBox.include({
|
||||
events: _.extend(AttachmentBox.prototype.events, {
|
||||
"click span.o_add_url_button": "_onAddUrl",
|
||||
}),
|
||||
_onAddUrl: function () {
|
||||
_onAddUrl: function() {
|
||||
// Opens wizard to add an URL attachment to the current record
|
||||
this.do_action('document_url.action_ir_attachment_add_url', {
|
||||
this.do_action("document_url.action_ir_attachment_add_url", {
|
||||
additional_context: {
|
||||
'active_id': this.currentResID,
|
||||
'active_ids': [this.currentResID],
|
||||
'active_model': this.currentResModel,
|
||||
active_id: this.currentResID,
|
||||
active_ids: [this.currentResID],
|
||||
active_model: this.currentResModel,
|
||||
},
|
||||
on_close: this._onAddedUrl.bind(this),
|
||||
});
|
||||
},
|
||||
_onAddedUrl: function () {
|
||||
this.trigger_up('reload_attachment_box');
|
||||
_onAddedUrl: function() {
|
||||
this.trigger_up("reload_attachment_box");
|
||||
},
|
||||
});
|
||||
});
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!-- Copyright 2018 Tecnativa - Ernesto Tejeda
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-extend="mail.chatter.AttachmentBox">
|
||||
<t t-jquery="span.o_upload_attachments_button" t-operation="after">
|
||||
<span class="btn btn-link o_add_url_button"><span class="fa fa-plus-square"/> Add URL</span>
|
||||
<span class="btn btn-link o_add_url_button"><span
|
||||
class="fa fa-plus-square"
|
||||
/> Add URL</span>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
|
@ -1,37 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<template id="assets_backend" name="google_drive assets" inherit_id="web.assets_backend">
|
||||
<template
|
||||
id="assets_backend"
|
||||
name="google_drive assets"
|
||||
inherit_id="web.assets_backend"
|
||||
>
|
||||
<xpath expr="." position="inside">
|
||||
<script type="text/javascript" src="/document_url/static/src/js/url.js"></script>
|
||||
<script type="text/javascript" src="/document_url/static/src/js/url.js" />
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<record model='ir.actions.act_window' id='action_ir_attachment_add_url'>
|
||||
<field name='name'>Add URL</field>
|
||||
<field name='res_model'>ir.attachment.add_url</field>
|
||||
<field name='type'>ir.actions.act_window</field>
|
||||
<field name='target'>new</field>
|
||||
<field name='view_type'>form</field>
|
||||
<field name='view_mode'>form</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_ir_attachment_add_url_form">
|
||||
<field name="name">ir.attachment.add_url.form</field>
|
||||
<field name="model">ir.attachment.add_url</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Add URL">
|
||||
<group>
|
||||
<field name="name"/>
|
||||
<field name="url" widget="url"/>
|
||||
<field name="name" />
|
||||
<field name="url" widget="url" />
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_add_url" string="Add" class="oe_highlight" type="object" />
|
||||
<button
|
||||
name="action_add_url"
|
||||
string="Add"
|
||||
class="oe_highlight"
|
||||
type="object"
|
||||
/>
|
||||
or
|
||||
<button special="cancel" string="Cancel" class="oe_link" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
|
||||
# Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
|
||||
# Copyright 2014 Tecnativa - Pedro M. Baeza
|
||||
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
|
||||
from . import document_url
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Copyright 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
|
||||
# Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
|
||||
# Copyright 2014 Tecnativa - Pedro M. Baeza
|
||||
# Copyright 2020 Tecnativa - Manuel Calero
|
||||
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
|
||||
from urllib import parse
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class AddUrlWizard(models.Model):
|
||||
class AddUrlWizard(models.TransientModel):
|
||||
_name = "ir.attachment.add_url"
|
||||
_description = "Wizard to add URL attachment"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user