Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
712606a
Updated from template
SirPyTech May 25, 2026
53a19fe
Copier configuration for rebel modules
SirPyTech May 25, 2026
5f7cad6
Merge pull request #3558 from PyTech-SRL/18.0-copier
pedrobaeza May 25, 2026
72a97e3
[FIX] web_company_color: load webp plugin to handle webp logos
MarwanBHL May 31, 2026
e6b987e
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
4d6398d
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
538be59
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
f18b583
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
721e97b
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
610b39c
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
40c543d
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
9420f3a
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
891317b
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
c11e9a7
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
736a62d
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
18db05a
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
f12cf2b
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
cb15a4b
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
d294ccf
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
910584a
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
5ae51a3
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
b2ae909
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
7751d9f
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
b792dfa
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
5e75b18
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
6b36bd6
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
08373ba
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
b3aa645
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
ece9d6e
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
8059dc2
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
6140e50
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
7d198db
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
b5b9453
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
1d224eb
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
50b4c4e
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
5cf5350
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
a259202
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
64d483f
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
1069e5c
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
a5e814f
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
44461cf
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
e1dfefe
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
792aa97
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
25df386
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
0c0e1aa
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
eac86e6
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
8983f5c
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
4da1539
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
e3c6c88
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
2ad40ee
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
bdf4d84
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
da11355
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
caeaa91
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
e827f15
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
f3b065a
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
38c92ca
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
a443c9e
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
c415c0b
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
4fbe13e
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
7b2080e
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
d9b4640
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
d484792
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
f4b8e6e
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
ca7d107
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
14fd6b6
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
01d7cd5
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
9382723
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
4b37af4
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
7240120
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
7c8ec44
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
2a0652e
Added translation using Weblate (Turkish)
bo-eska Jun 7, 2026
f99f49b
[FIX] web_theme_classic: don't double-tint required monetary fields
Rad0van Jun 6, 2026
f54d1c8
Merge PR #3570 into 18.0
OCA-git-bot Jun 7, 2026
3daf540
[BOT] post-merge updates
OCA-git-bot Jun 7, 2026
6cab9bf
[IMP] web_refresher: hotkey Alt Shift R
DiegoParadeda May 29, 2026
1d0f812
Merge PR #3568 into 18.0
OCA-git-bot Jun 8, 2026
7992d1f
[BOT] post-merge updates
OCA-git-bot Jun 8, 2026
d7def44
[IMP] web_company_color: add button to reset colors to default
javiermatos Feb 22, 2026
2409499
Merge PR #3448 into 18.0
OCA-git-bot Jun 12, 2026
c787229
[BOT] post-merge updates
OCA-git-bot Jun 12, 2026
a16ca81
Update translation files
weblate Jun 12, 2026
b6f1358
Merge PR #3572 into 18.0
OCA-git-bot Jun 13, 2026
13ea53e
[BOT] post-merge updates
OCA-git-bot Jun 13, 2026
dd48b34
[FIX] web_chatter_position: prevent horizontal overflow in bottom cha…
sergio-teruel Jun 14, 2026
8e15610
Merge PR #3586 into 18.0
OCA-git-bot Jun 15, 2026
12a1155
[BOT] post-merge updates
OCA-git-bot Jun 15, 2026
0286faa
Translated using Weblate (French)
ypapouin Jun 15, 2026
9dd2f7f
Added translation using Weblate (French)
ypapouin Jun 15, 2026
8c12dc9
Translated using Weblate (French)
ypapouin Jun 15, 2026
a463789
Translated using Weblate (French)
ypapouin Jun 15, 2026
02f9a8d
Added translation using Weblate (French)
ypapouin Jun 15, 2026
31f692d
Translated using Weblate (French)
ypapouin Jun 15, 2026
4ed4e21
Added translation using Weblate (French)
ypapouin Jun 15, 2026
04f06b5
Translated using Weblate (French)
ypapouin Jun 15, 2026
3723c73
Translated using Weblate (French)
ypapouin Jun 15, 2026
5b5470a
Translated using Weblate (French)
ypapouin Jun 15, 2026
e81917c
Added translation using Weblate (French)
ypapouin Jun 15, 2026
302ee6e
Added translation using Weblate (French)
ypapouin Jun 15, 2026
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
6 changes: 3 additions & 3 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.36
_commit: v1.42
_src_path: git+https://github.com/OCA/oca-addons-repo-template
additional_ruff_rules: []
ci: GitHub
convert_readme_fragments_to_markdown: true
enable_checklog_odoo: true
generate_requirements_txt: true
Expand All @@ -17,7 +16,8 @@ odoo_test_flavor: Both
odoo_version: 18.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
rebel_module_groups: []
rebel_module_groups:
- web_responsive
repo_description: web
repo_name: web
repo_slug: web
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

name: pre-commit

on:
Expand All @@ -16,8 +17,9 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
cache: 'pip'
cache-dependency-path: '.pre-commit-config.yaml'
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v4
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ jobs:
matrix:
include:
- container: ghcr.io/oca/oca-ci/py3.10-odoo18.0:latest
exclude: "web_responsive"
include: "web_responsive"
name: test with Odoo
- container: ghcr.io/oca/oca-ci/py3.10-ocb18.0:latest
exclude: "web_responsive"
include: "web_responsive"
name: test with OCB
makepot: "true"
- container: ghcr.io/oca/oca-ci/py3.10-odoo18.0:latest
include: "web_responsive"
name: test with Odoo (rebel modules)
exclude: "web_responsive"
name: test with Odoo
- container: ghcr.io/oca/oca-ci/py3.10-ocb18.0:latest
include: "web_responsive"
name: test with OCB (rebel modules)
exclude: "web_responsive"
name: test with OCB
makepot: "true"
services:
postgres:
Expand Down
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ exclude: |
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
default_language_version:
python: python3
python: python3.12
node: "22.9.0"
repos:
- repo: local
Expand All @@ -38,6 +38,11 @@ repos:
entry: found a en.po file
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- id: obsolete dotfiles
name: obsolete dotfiles
entry: found obsolete files; remove them
files: '^(\.travis\.yml|\.t2d\.yml|CONTRIBUTING\.md|\.prettierrc\.yml|\.eslintrc\.yml)$'
language: fail
- repo: https://github.com/sbidoul/whool
rev: v1.3
hooks:
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

[![Support the OCA](https://odoo-community.org/readme-banner-image)](https://odoo-community.org/get-involved?utm_source=repo-readme)

# web
Expand All @@ -22,8 +23,8 @@ Available addons
addon | version | maintainers | summary
--- | --- | --- | ---
[web_calendar_slot_duration](web_calendar_slot_duration/) | 18.0.1.0.0 | <a href='https://github.com/Yajo'><img src='https://github.com/Yajo.png' width='32' height='32' style='border-radius:50%;' alt='Yajo'/></a> | Customizable calendar slot durations
[web_chatter_position](web_chatter_position/) | 18.0.1.1.0 | <a href='https://github.com/trisdoan'><img src='https://github.com/trisdoan.png' width='32' height='32' style='border-radius:50%;' alt='trisdoan'/></a> | Add an option to change the chatter position
[web_company_color](web_company_color/) | 18.0.1.0.7 | | Web Company Color
[web_chatter_position](web_chatter_position/) | 18.0.1.1.1 | <a href='https://github.com/trisdoan'><img src='https://github.com/trisdoan.png' width='32' height='32' style='border-radius:50%;' alt='trisdoan'/></a> | Add an option to change the chatter position
[web_company_color](web_company_color/) | 18.0.1.1.0 | | Web Company Color
[web_copy_confirm](web_copy_confirm/) | 18.0.1.0.0 | | Show confirmation dialogue before copying records
[web_dark_mode](web_dark_mode/) | 18.0.1.0.0 | | Enabled Dark Mode for the Odoo Backend
[web_datetime_picker_default_time](web_datetime_picker_default_time/) | 18.0.1.0.0 | <a href='https://github.com/grindtildeath'><img src='https://github.com/grindtildeath.png' width='32' height='32' style='border-radius:50%;' alt='grindtildeath'/></a> | Allows to define a default time on datetime picker
Expand All @@ -50,7 +51,7 @@ addon | version | maintainers | summary
[web_portal_properties](web_portal_properties/) | 18.0.1.0.0 | | Add a new field on properties to show them on portal
[web_pwa_customize](web_pwa_customize/) | 18.0.1.0.0 | <a href='https://github.com/victoralmau'><img src='https://github.com/victoralmau.png' width='32' height='32' style='border-radius:50%;' alt='victoralmau'/></a> | Web Pwa Customize
[web_quick_start_screen](web_quick_start_screen/) | 18.0.1.0.0 | | Configurable start screen for quick actions
[web_refresher](web_refresher/) | 18.0.1.0.0 | | Web Refresher
[web_refresher](web_refresher/) | 18.0.1.0.1 | | Web Refresher
[web_remember_tree_column_width](web_remember_tree_column_width/) | 18.0.1.0.2 | <a href='https://github.com/frahikLV'><img src='https://github.com/frahikLV.png' width='32' height='32' style='border-radius:50%;' alt='frahikLV'/></a> <a href='https://github.com/luisg123v'><img src='https://github.com/luisg123v.png' width='32' height='32' style='border-radius:50%;' alt='luisg123v'/></a> <a href='https://github.com/cuongnmtm'><img src='https://github.com/cuongnmtm.png' width='32' height='32' style='border-radius:50%;' alt='cuongnmtm'/></a> | Remember the tree columns' widths across sessions.
[web_responsive](web_responsive/) | 18.0.1.0.6 | <a href='https://github.com/Tardo'><img src='https://github.com/Tardo.png' width='32' height='32' style='border-radius:50%;' alt='Tardo'/></a> <a href='https://github.com/SplashS'><img src='https://github.com/SplashS.png' width='32' height='32' style='border-radius:50%;' alt='SplashS'/></a> | Responsive web client, community-supported
[web_save_discard_button](web_save_discard_button/) | 18.0.1.0.1 | <a href='https://github.com/synconics'><img src='https://github.com/synconics.png' width='32' height='32' style='border-radius:50%;' alt='synconics'/></a> | Save & Discard Buttons
Expand All @@ -59,7 +60,7 @@ addon | version | maintainers | summary
[web_session_auto_close](web_session_auto_close/) | 18.0.1.0.1 | | Automatically logs out inactive users based on a configurable timeout.
[web_sort_menu](web_sort_menu/) | 18.0.1.0.0 | | Sort Apps in DropDown/NavBar Menu alphabetically
[web_systray_button_init_action](web_systray_button_init_action/) | 18.0.1.0.2 | | Add a button to go to the user init action.
[web_theme_classic](web_theme_classic/) | 18.0.1.2.0 | <a href='https://github.com/legalsylvain'><img src='https://github.com/legalsylvain.png' width='32' height='32' style='border-radius:50%;' alt='legalsylvain'/></a> | Contrasted style on fields to improve the UI.
[web_theme_classic](web_theme_classic/) | 18.0.1.2.1 | <a href='https://github.com/legalsylvain'><img src='https://github.com/legalsylvain.png' width='32' height='32' style='border-radius:50%;' alt='legalsylvain'/></a> | Contrasted style on fields to improve the UI.
[web_time_range_menu_custom](web_time_range_menu_custom/) | 18.0.1.0.0 | | Web Time Range Menu Custom
[web_timeline](web_timeline/) | 18.0.1.0.3 | | Interactive visualization chart to show events in time
[web_toggle_chatter](web_toggle_chatter/) | 18.0.1.0.0 | | Toggle chatter in backend form views
Expand Down
2 changes: 1 addition & 1 deletion checklog-odoo.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
ignore=
WARNING.* 0 failed, 0 error\(s\).*
WARNING .* Killing chrome descendants-or-self .*
Missing widget: res_partner_many2one for field of type many2one
WARNING.* Missing widget: res_partner_many2one for field of type many2one.*
6 changes: 5 additions & 1 deletion web_chatter_position/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Chatter Position
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f0de4c200329e3f762e62dc49f8c31ed4dba8baea0443ce1ed283adaeb478b32
!! source digest: sha256:b77d8aba6d845ceae37d3cb56bb5dc938b4e42a2b8ab4b5c72afededd80246fb
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down Expand Up @@ -91,6 +91,10 @@ Contributors

- Joan Sisquella <joan.sisquella@forgeflow.com>

- `Tecnativa <https://www.tecnativa.com/>`__:

- Sergio Teruel

Maintainers
-----------

Expand Down
2 changes: 1 addition & 1 deletion web_chatter_position/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"name": "Chatter Position",
"summary": "Add an option to change the chatter position",
"version": "18.0.1.1.0",
"version": "18.0.1.1.1",
"author": "Hynsys Technologies, Camptocamp, Alitec Pte Ltd,"
" Odoo Community Association (OCA)",
"maintainers": ["trisdoan"],
Expand Down
49 changes: 49 additions & 0 deletions web_chatter_position/i18n/sl.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_chatter_position
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2026-06-06 11:55+0000\n"
"Last-Translator: Matjaz Mozetic <matjaz@luxim.si>\n"
"Language-Team: none\n"
"Language: sl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || "
"n%100==4 ? 2 : 3;\n"
"X-Generator: Weblate 5.15.2\n"

#. module: web_chatter_position
#: model:ir.model.fields.selection,name:web_chatter_position.selection__res_users__chatter_position__auto
msgid "Automatic"
msgstr "Samodejno"

#. module: web_chatter_position
#: model:ir.model.fields.selection,name:web_chatter_position.selection__res_users__chatter_position__bottom
msgid "Bottom"
msgstr "Na dnu"

#. module: web_chatter_position
#: model:ir.model.fields,field_description:web_chatter_position.field_res_users__chatter_position
msgid "Chatter Position"
msgstr "Položaj klepeta"

#. module: web_chatter_position
#: model:ir.model.fields.selection,name:web_chatter_position.selection__res_users__chatter_position__sided
msgid "Sided"
msgstr "Ob strani"

#. module: web_chatter_position
#. odoo-javascript
#: code:addons/web_chatter_position/static/src/views/form/form_controller.xml:0
msgid "Toggle chatter position"
msgstr "Preklopi položaj klepeta"

#. module: web_chatter_position
#: model:ir.model,name:web_chatter_position.model_res_users
msgid "User"
msgstr "Uporabnik"
2 changes: 2 additions & 0 deletions web_chatter_position/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
- Tris Doan \<<tridm@trobz.com>\>
- [ForgeFlow](https://www.forgeflow.com)
- Joan Sisquella \<<joan.sisquella@forgeflow.com>\>
- [Tecnativa](https://www.tecnativa.com/):
- Sergio Teruel
6 changes: 5 additions & 1 deletion web_chatter_position/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>Chatter Position</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f0de4c200329e3f762e62dc49f8c31ed4dba8baea0443ce1ed283adaeb478b32
!! source digest: sha256:b77d8aba6d845ceae37d3cb56bb5dc938b4e42a2b8ab4b5c72afededd80246fb
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/license-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/18.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-18-0/web-18-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=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>Configurable chatter position from the user preferences.</p>
Expand Down Expand Up @@ -436,6 +436,10 @@ <h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
<li>Joan Sisquella &lt;<a class="reference external" href="mailto:joan.sisquella&#64;forgeflow.com">joan.sisquella&#64;forgeflow.com</a>&gt;</li>
</ul>
</li>
<li><a class="reference external" href="https://www.tecnativa.com/">Tecnativa</a>:<ul>
<li>Sergio Teruel</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ patch(FormCompiler.prototype, {
} else {
const sheetBgChatterContainerHookXml =
chatterContainerHookXml.cloneNode(true);
sheetBgChatterContainerHookXml.classList.add("o-isInFormSheetBg");
sheetBgChatterContainerHookXml.classList.add(
"o-isInFormSheetBg",
"w-auto"
);
setAttributes(sheetBgChatterContainerHookXml, {
"t-if": "true",
"t-attf-class": `{{ (__comp__.uiService.size >= ${SIZES.XXL} && ${
Expand Down
37 changes: 35 additions & 2 deletions web_chatter_position/static/src/scss/form_controller.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,46 @@
/*
Copyright 2024 Alitec Pte Ltd (https://www.alitec.sg).
Copyright 2026 Tecnativa - Sergio Teruel.
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
*/
// Set sheet to full width when chatter is forced to bottom
.o_form_view_container {
.o_form_renderer:has(> .o_form_sheet_bg.o_fullwidth) {
max-width: 100% !important;
min-width: 0;
overflow-x: hidden;
width: 100%;
}

.o_form_sheet_bg.o_fullwidth,
.o_form_sheet_bg.o_fullwidth .o_form_sheet {
max-width: none !important;
width: auto !important;
max-width: 100% !important;
min-width: 0;
width: 100% !important;
}

.o_form_sheet_bg.o_fullwidth {
overflow-x: hidden;
}

.o_form_sheet_bg.o_fullwidth .o_form_sheet {
overflow-x: auto;
}

.o_form_sheet_bg.o_fullwidth
> .o-mail-Form-chatter.o-isInFormSheetBg:not(.o-aside) {
background-color: $o-webclient-background-color !important;
flex: 0 0 auto !important;
margin-left: 0 !important;
margin-right: 0 !important;
max-width: 100% !important;
min-width: 0;
width: 100% !important;

.o-mail-Chatter {
max-width: none !important;
width: 100%;
}
}
}

Expand Down
23 changes: 18 additions & 5 deletions web_chatter_position/static/src/views/form/form_controller.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ patch(FormController.prototype, {
const formSheetBg = this.rootRef?.el?.querySelector(".o_form_sheet_bg");
if (formSheetBg) {
this._moveChatter(formSheetBg);
this.rootRef.el.style.overflow = "auto";
this.rootRef.el.style.overflowX = "hidden";
this.rootRef.el.style.overflowY = "auto";
}
}
});
Expand Down Expand Up @@ -91,20 +92,32 @@ patch(FormController.prototype, {

if (this.chatterPositionState.currentPosition === "bottom") {
currentChatter.classList.remove("o-aside", "w-print-100");
currentChatter.classList.add("o-isInFormSheetBg", "mt-4", "mt-md-0");
currentChatter.classList.add(
"o-isInFormSheetBg",
"mt-4",
"mt-md-0",
"w-auto"
);
const formSheetBg = this.rootRef.el.querySelector(".o_form_sheet_bg");
if (formSheetBg) {
formSheetBg.classList.add("o_fullwidth");
}
this.rootRef.el.style.overflow = "auto";
this.rootRef.el.style.overflowX = "hidden";
this.rootRef.el.style.overflowY = "auto";
} else {
currentChatter.classList.remove("o-isInFormSheetBg", "mt-4", "mt-md-0");
currentChatter.classList.remove(
"o-isInFormSheetBg",
"mt-4",
"mt-md-0",
"w-auto"
);
currentChatter.classList.add("o-aside", "w-print-100");
const formSheetBg = this.rootRef.el.querySelector(".o_form_sheet_bg");
if (formSheetBg) {
formSheetBg.classList.remove("o_fullwidth");
}
this.rootRef.el.style.overflow = "";
this.rootRef.el.style.overflowX = "";
this.rootRef.el.style.overflowY = "";
}
},
});
4 changes: 3 additions & 1 deletion web_company_color/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Web Company Color
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:dae72dca32daa1de5666e39a00359088595ea0c6330b4b4300670e4e3a0b6680
!! source digest: sha256:3e5f3c3f38a73bd62888ddabe88246540e60d039a5ae554d85784cb1ce1623d3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down Expand Up @@ -90,6 +90,8 @@ Contributors

- Simone Rubino <simone.rubino@pytech.it>

- Marwan Behillil <marwan.behillil@gmail.com>

Maintainers
-----------

Expand Down
2 changes: 1 addition & 1 deletion web_company_color/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"name": "Web Company Color",
"category": "web",
"version": "18.0.1.0.7",
"version": "18.0.1.1.0",
"author": "Alexandre Díaz, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web",
"depends": ["web", "base_sparse_field"],
Expand Down
12 changes: 12 additions & 0 deletions web_company_color/i18n/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ msgid ""
" the page."
msgstr ""

#. module: web_company_color
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
msgid "Are you sure you want to reset all colors to Odoo defaults?"
msgstr ""
"Esteu segur que voleu restablir tots els colors als valors predeterminats "
"d'Odoo?"

#. module: web_company_color
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg
msgid "Button Background Color"
Expand Down Expand Up @@ -100,6 +107,11 @@ msgstr ""
msgid "Qweb"
msgstr ""

#. module: web_company_color
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
msgid "Reset colors"
msgstr "Restableix els colors"

#. module: web_company_color
#: model:ir.model.fields,field_description:web_company_color.field_res_company__scss_modif_timestamp
msgid "SCSS Modif. Timestamp"
Expand Down
Loading