Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions web_tree_many2one_clickable/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ 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, using a button without accessing the form.

This also works in the lines of sales, purchases and invoices.

**Table of contents**

.. contents::
Expand Down Expand Up @@ -63,9 +65,6 @@ This widget is currently not working on the product field in the lines
tree of the sale order form, see https://github.com/OCA/web/pull/1438
for further details.

To add this functionality to lines of sales, purchases and invoices, as
they are special views, is required a glue module that add this feature.

Bug Tracker
===========

Expand Down
12 changes: 10 additions & 2 deletions web_tree_many2one_clickable/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,16 @@
"many2one_button/many2one_button.esm.js",
"web_tree_many2one_clickable/static/src/components/"
"many2one_button/many2one_button.scss",
"web_tree_many2one_clickable/static/src/components/"
"many2one_button/many2one_button.xml",
# Load right after the list renderer templates so the extension is
# inherited by list renderers that use their own primary record row
# template, such as the section and note lists of invoice, sale and
# purchase lines
(
"after",
"web/static/src/views/list/list_renderer.xml",
"web_tree_many2one_clickable/static/src/components/"
"many2one_button/many2one_button.xml",
),
]
},
}
2 changes: 2 additions & 0 deletions web_tree_many2one_clickable/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
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, using a button without accessing the form.

This also works in the lines of sales, purchases and invoices.
3 changes: 0 additions & 3 deletions web_tree_many2one_clickable/readme/ROADMAP.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
This widget is currently not working on the product field in the lines
tree of the sale order form, see <https://github.com/OCA/web/pull/1438>
for further details.

To add this functionality to lines of sales, purchases and invoices, as
they are special views, is required a glue module that add this feature.
3 changes: 1 addition & 2 deletions web_tree_many2one_clickable/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ <h1>Clickable many2one fields for tree views</h1>
<p>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, using a button without accessing the form.</p>
<p>This also works in the lines of sales, purchases and invoices.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down Expand Up @@ -408,8 +409,6 @@ <h2><a class="toc-backref" href="#toc-entry-3">Known issues / Roadmap</a></h2>
<p>This widget is currently not working on the product field in the lines
tree of the sale order form, see <a class="reference external" href="https://github.com/OCA/web/pull/1438">https://github.com/OCA/web/pull/1438</a>
for further details.</p>
<p>To add this functionality to lines of sales, purchases and invoices, as
they are special views, is required a glue module that add this feature.</p>
</div>
<div class="section" id="bug-tracker">
<h2><a class="toc-backref" href="#toc-entry-4">Bug Tracker</a></h2>
Expand Down
Loading