Skip to content

Commit

Permalink
[MIG] web_tree_many2one_clickable: Migration to 12.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
anandkansagra authored and tarteo committed Mar 1, 2023
1 parent 8c7ca35 commit ba4d619
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 7 deletions.
1 change: 1 addition & 0 deletions web_tree_many2one_clickable/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Contributors
* Antonio Espinosa <[email protected]>
* Sodexis <[email protected]>
* Artem Kostyuk <[email protected]>
* Anand Kansagra <[email protected]>

Maintainer
----------
Expand Down
2 changes: 1 addition & 1 deletion web_tree_many2one_clickable/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions web_tree_many2one_clickable/readme/CONFIGURATION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
After installation, all many2one and reference fields will be clickable by default.
6 changes: 6 additions & 0 deletions web_tree_many2one_clickable/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* Therp BV
* Pedro M. Baeza <[email protected]>
* Antonio Espinosa <[email protected]>
* Sodexis <[email protected]>
* Artem Kostyuk <[email protected]>
* Anand Kansagra <[email protected]>
3 changes: 3 additions & 0 deletions web_tree_many2one_clickable/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -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.
10 changes: 5 additions & 5 deletions web_tree_many2one_clickable/static/src/xml/assets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit ba4d619

Please sign in to comment.