Skip to content

Commit 41b9f88

Browse files
committed
[IMP] web_chatter_position: implement feature on controller and add switch button
1 parent 4f90e2c commit 41b9f88

File tree

9 files changed

+189
-170
lines changed

9 files changed

+189
-170
lines changed

web_chatter_position/README.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Chatter Position
2929
|badge1| |badge2| |badge3| |badge4| |badge5|
3030

3131
Configurable chatter position from the user preferences.
32-
32+
Change Chatter Position on the fly.
3333
Supports Both Community & Enterprise Edition.
3434

3535
**Table of contents**
@@ -42,6 +42,7 @@ Usage
4242

4343
#. There's a **Chatter Position** option in **User Preferences**, where you can
4444
choose between ``auto``, ``bottom`` and ``sided``.
45+
#. The position can also be changed on the fly using a new button on the top right side of Form Views.
4546

4647
Bug Tracker
4748
===========
@@ -70,6 +71,9 @@ Contributors
7071
* `Camptocamp <https://www.camptocamp.com>`_
7172

7273
* Iván Todorovich <ivan.todorovich@camptocamp.com>
74+
* `Trobz <https://www.trobz.com>`
75+
76+
* Tris Doan <tridm@trobz.com>
7377

7478
Maintainers
7579
~~~~~~~~~~~

web_chatter_position/__manifest__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
"assets": {
1515
"web.assets_backend": [
1616
"/web_chatter_position/static/src/**/*.js",
17+
(
18+
"after",
19+
"/web/static/src/views/form/form_controller.xml",
20+
"/web_chatter_position/static/src/views/form/form_controller.xml",
21+
),
1722
],
1823
},
1924
}

web_chatter_position/readme/CONTRIBUTORS.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
* `Camptocamp <https://www.camptocamp.com>`_
44

55
* Iván Todorovich <ivan.todorovich@camptocamp.com>
6+
* `Trobz <https://www.trobz.com>`
7+
8+
* Tris Doan <tridm@trobz.com>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Configurable chatter position from the user preferences.
2-
2+
Change Chatter Position on the fly.
33
Supports Both Community & Enterprise Edition.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#. There's a **Chatter Position** option in **User Preferences**, where you can
22
choose between ``auto``, ``bottom`` and ``sided``.
3+
#. The position can also be changed on the fly using a new button on the top right side of Form Views.

web_chatter_position/static/description/index.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,9 @@ <h1 class="title">Chatter Position</h1>
370370
!! source digest: sha256:c91e4b816e6e16e912ca30c77aa434f57365780718ca011c8753d734d75a923b
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372372
<p><a class="reference external image-reference" 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 image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/16.0/web_chatter_position"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_chatter_position"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373-
<p>Configurable chatter position from the user preferences.</p>
374-
<p>Supports Both Community &amp; Enterprise Edition.</p>
373+
<p>Configurable chatter position from the user preferences.
374+
Change Chatter Position on the fly.
375+
Supports Both Community &amp; Enterprise Edition.</p>
375376
<p><strong>Table of contents</strong></p>
376377
<div class="contents local topic" id="contents">
377378
<ul class="simple">
@@ -388,7 +389,8 @@ <h1 class="title">Chatter Position</h1>
388389
<div class="section" id="usage">
389390
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
390391
<p>#. There’s a <strong>Chatter Position</strong> option in <strong>User Preferences</strong>, where you can
391-
choose between <tt class="docutils literal">auto</tt>, <tt class="docutils literal">bottom</tt> and <tt class="docutils literal">sided</tt>.</p>
392+
choose between <tt class="docutils literal">auto</tt>, <tt class="docutils literal">bottom</tt> and <tt class="docutils literal">sided</tt>.
393+
#. The position can also be changed on the fly using a new button on the top right side of Form Views.</p>
392394
</div>
393395
<div class="section" id="bug-tracker">
394396
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
@@ -416,6 +418,10 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
416418
<li>Iván Todorovich &lt;<a class="reference external" href="mailto:ivan.todorovich&#64;camptocamp.com">ivan.todorovich&#64;camptocamp.com</a>&gt;</li>
417419
</ul>
418420
</li>
421+
<li><cite>Trobz &lt;https://www.trobz.com&gt;</cite><ul>
422+
<li>Tris Doan &lt;<a class="reference external" href="mailto:tridm&#64;trobz.com">tridm&#64;trobz.com</a>&gt;</li>
423+
</ul>
424+
</li>
419425
</ul>
420426
</div>
421427
<div class="section" id="maintainers">

web_chatter_position/static/src/js/web_chatter_position.esm.js

Lines changed: 0 additions & 165 deletions
This file was deleted.

0 commit comments

Comments
 (0)