Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
5e36633
[ADD][16.0] Module web_dark_mode
fkantelberg Nov 29, 2022
e45516e
[UPD] Update web_dark_mode.pot
Dec 7, 2022
95ed119
[UPD] README.rst
OCA-git-bot Dec 7, 2022
0575e6a
[ADD] icon.png
OCA-git-bot Dec 7, 2022
359c88a
Added translation using Weblate (Chinese (zh))
GoodERPJeff Dec 11, 2022
2d8d13b
Added translation using Weblate (Spanish (Argentina))
ibuioli Jan 1, 2023
a5e2c2d
Translated using Weblate (Spanish (Argentina))
ibuioli Jan 1, 2023
14df41d
[FIX] web_dark_mode: Fix uninstallation
fkantelberg Feb 6, 2023
59a65a3
web_dark_mode 16.0.1.0.1
OCA-git-bot Feb 6, 2023
4e94057
Added translation using Weblate (Croatian)
badbole Feb 16, 2023
68f7135
Translated using Weblate (Croatian)
badbole Feb 16, 2023
84335f5
Added translation using Weblate (Turkish)
tate11 Mar 6, 2023
50f13e2
Translated using Weblate (Turkish)
tate11 Mar 6, 2023
f3f77fa
Added translation using Weblate (Spanish)
Ivorra78 Aug 27, 2023
7033837
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
0db582e
[UPD] README.rst
OCA-git-bot Sep 3, 2023
8ecce83
Added translation using Weblate (French)
gregory-moka Oct 20, 2023
e44618e
Translated using Weblate (French)
gregory-moka Oct 20, 2023
dccc76c
[FIX] web_dark_mode: Add fields to field lists
fkantelberg Nov 8, 2023
1cc7729
[BOT] post-merge updates
OCA-git-bot Nov 8, 2023
eaf900b
Added translation using Weblate (Italian)
mymage Nov 27, 2023
eae142b
Translated using Weblate (Italian)
mymage Nov 27, 2023
e6f1883
Added translation using Weblate (German)
davidbeckercbl Sep 26, 2025
c941f7b
Translated using Weblate (German)
davidbeckercbl Sep 26, 2025
cc578e7
[IMP] web_dark_mode: pre-commit auto fixes
May 14, 2026
5107ae2
[17.0] [MIG] web_dark_mode: Migration to 17.0
May 14, 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
85 changes: 85 additions & 0 deletions web_dark_mode/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
=========
Dark Mode
=========

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:412634e63cb76e61a9461ecdc1ffef9271510b8a8a1d6e63ee98df7eeeedaaae
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/17.0/web_dark_mode
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_dark_mode
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This modules offers the dark mode for Odoo CE. The dark mode can be
activated by every user in the user menu in the top right.

**Table of contents**

.. contents::
:local:

Known issues / Roadmap
======================

- Implement dark mode for PoS with a glue module

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_dark_mode%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* NURZEIT

Contributors
------------

- Florian Kantelberg <florian.kantelberg@initos.com>
- `Pyxiris <https://github.com/Pyxiris>`__

- `Liam Noonan <https://github.com/ljmnoonan>`__

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

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/web <https://github.com/OCA/web/tree/17.0/web_dark_mode>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions web_dark_mode/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# © 2022 Florian Kantelberg - initOS GmbH
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models # noqa: F401
59 changes: 59 additions & 0 deletions web_dark_mode/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# © 2022 Florian Kantelberg - initOS GmbH
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Dark Mode",
"summary": "Enabled Dark Mode for the Odoo Backend",
"license": "AGPL-3",
"version": "17.0.1.0.0",
"website": "https://github.com/OCA/web",
"author": "NURZEIT, Odoo Community Association (OCA)",
"depends": ["web"],
"excludes": ["web_enterprise"],
"assets": {
"web.assets_backend": [
"web_dark_mode/static/src/js/switch_item.esm.js",
],
"web.assets_backend_lazy_dark": [
("include", "web.assets_variables_dark"),
("include", "web.assets_backend_helpers_dark"),
],
"web.assets_variables_dark": [
(
"before",
"web/static/src/scss/primary_variables.scss",
"web_dark_mode/static/src/scss/primary_variables.dark.scss",
),
(
"before",
"web/static/src/scss/secondary_variables.scss",
"web_dark_mode/static/src/scss/secondary_variables.dark.scss",
),
(
"before",
"web/static/src/**/*.variables.scss",
"web_dark_mode/static/src/**/*.variables.dark.scss",
),
],
"web.assets_backend_helpers_dark": [
(
"before",
"web/static/src/scss/bootstrap_overridden.scss",
"web_dark_mode/static/src/scss/bootstrap_overridden.dark.scss",
),
(
"after",
"web/static/lib/bootstrap/scss/_functions.scss",
"web_dark_mode/static/src/scss/" "bs_functions_overrides.dark.scss",
),
],
"web.assets_web_dark": [
("include", "web.assets_variables_dark"),
("include", "web.assets_backend_helpers_dark"),
"web_dark_mode/static/src/**/*.dark.scss",
],
},
"data": [
"views/res_users_views.xml",
],
}
40 changes: 40 additions & 0 deletions web_dark_mode/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_dark_mode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-09-26 16:43+0000\n"
"Last-Translator: davidbeckercbl <becker@cbl-computer.de>\n"
"Language-Team: none\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.10.4\n"

#. module: web_dark_mode
#. odoo-javascript
#: code:addons/web_dark_mode/static/src/js/switch_item.esm.js:0
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode
#, python-format
msgid "Dark Mode"
msgstr "Dunkler Modus"

#. module: web_dark_mode
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode_device_dependent
msgid "Device Dependent Dark Mode"
msgstr "Geräteabhängiger dunkler Modus"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_ir_http
msgid "HTTP Routing"
msgstr "HTTP Routing"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_res_users
msgid "User"
msgstr "Anwender"
40 changes: 40 additions & 0 deletions web_dark_mode/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_dark_mode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-09-02 20:35+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: web_dark_mode
#. odoo-javascript
#: code:addons/web_dark_mode/static/src/js/switch_item.esm.js:0
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode
#, python-format
msgid "Dark Mode"
msgstr "Modo Oscuro"

#. module: web_dark_mode
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode_device_dependent
msgid "Device Dependent Dark Mode"
msgstr "Modo Oscuro en Función del Dispositivo"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_ir_http
msgid "HTTP Routing"
msgstr "Enrutamiento HTTP"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_res_users
msgid "User"
msgstr "Usuario"
40 changes: 40 additions & 0 deletions web_dark_mode/i18n/es_AR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_dark_mode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-01-01 21:45+0000\n"
"Last-Translator: Ignacio Buioli <ibuioli@gmail.com>\n"
"Language-Team: none\n"
"Language: es_AR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.14.1\n"

#. module: web_dark_mode
#. odoo-javascript
#: code:addons/web_dark_mode/static/src/js/switch_item.esm.js:0
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode
#, python-format
msgid "Dark Mode"
msgstr "Modo Oscuro"

#. module: web_dark_mode
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode_device_dependent
msgid "Device Dependent Dark Mode"
msgstr "Dispositivo que Depende del Modo Oscuro"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_ir_http
msgid "HTTP Routing"
msgstr "Ruteo HTTP"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_res_users
msgid "User"
msgstr "Usuario"
40 changes: 40 additions & 0 deletions web_dark_mode/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_dark_mode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-10-23 18:56+0000\n"
"Last-Translator: Grégory Moka Tourisme <gregory@mokatourisme.fr>\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: web_dark_mode
#. odoo-javascript
#: code:addons/web_dark_mode/static/src/js/switch_item.esm.js:0
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode
#, python-format
msgid "Dark Mode"
msgstr "Mode sombre"

#. module: web_dark_mode
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode_device_dependent
msgid "Device Dependent Dark Mode"
msgstr ""

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_ir_http
msgid "HTTP Routing"
msgstr ""

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_res_users
msgid "User"
msgstr "Utilisateur"
41 changes: 41 additions & 0 deletions web_dark_mode/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_dark_mode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-02-16 14:23+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>\n"
"Language-Team: none\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.14.1\n"

#. module: web_dark_mode
#. odoo-javascript
#: code:addons/web_dark_mode/static/src/js/switch_item.esm.js:0
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode
#, python-format
msgid "Dark Mode"
msgstr "Tamni način"

#. module: web_dark_mode
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode_device_dependent
msgid "Device Dependent Dark Mode"
msgstr "Tamni način zavisi od uređaja"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_ir_http
msgid "HTTP Routing"
msgstr "HTTP Routing"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_res_users
msgid "User"
msgstr "Korisnik"
40 changes: 40 additions & 0 deletions web_dark_mode/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_dark_mode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-27 11:34+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: web_dark_mode
#. odoo-javascript
#: code:addons/web_dark_mode/static/src/js/switch_item.esm.js:0
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode
#, python-format
msgid "Dark Mode"
msgstr "Dark mode"

#. module: web_dark_mode
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode_device_dependent
msgid "Device Dependent Dark Mode"
msgstr "Dark mode dipendente dal dispositivo"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_ir_http
msgid "HTTP Routing"
msgstr "Instradamento HTTP"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_res_users
msgid "User"
msgstr "Utente"
Loading
Loading