[MIG] web_tree_many2one_clickable: Migration to 12.0.

pull/2780/head
Anand Kansagra 2019-01-20 09:36:30 +05:30 committed by maciej-wichowski
parent dbdd7fccbb
commit 30e785c487
7 changed files with 18 additions and 7 deletions

View File

@ -43,6 +43,7 @@ Contributors
* Antonio Espinosa <antonio.espinosa@tecnativa.com>
* Sodexis <dev@sodexis.com>
* Artem Kostyuk <a.kostyuk@mobilunity.com>
* Anand Kansagra <kansagraanand@hotmail.com>
Maintainer
----------

View File

@ -7,7 +7,7 @@
{
"name": "Clickable many2one fields for tree views",
"summary": "Open the linked resource when clicking on their name",
"version": "11.0.1.0.1",
"version": "12.0.1.0.0",
"category": "Hidden",
"website": "https://github.com/OCA/web",
"author": "Therp BV, "

View File

@ -3,7 +3,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"

View File

@ -0,0 +1 @@
After installation, all many2one and reference fields will be clickable by default.

View File

@ -0,0 +1,6 @@
* Therp BV
* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
* Antonio Espinosa <antonio.espinosa@tecnativa.com>
* Sodexis <dev@sodexis.com>
* Artem Kostyuk <a.kostyuk@mobilunity.com>
* Anand Kansagra <kansagraanand@hotmail.com>

View File

@ -0,0 +1,3 @@
This addon forces Odoo to use many2one widget on a many2one fields in
tree views. This allows users to open linked resources from trees directly,
without accessing the form.

View File

@ -3,10 +3,10 @@
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<template id="assets_backend" name="web_tree_many2one_clickable assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/web_tree_many2one_clickable/static/src/js/web_tree_many2one_clickable.js"/>
</xpath>
</template>
<template id="assets_backend" name="web_tree_many2one_clickable assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/web_tree_many2one_clickable/static/src/js/web_tree_many2one_clickable.js"/>
</xpath>
</template>
</odoo>