Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] web_theme_classic: Migration to 18.0 #3045

Open
wants to merge 23 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
2f1ff30
[ADD] new module web_theme_classic to identify better buttons and fie…
legalsylvain Oct 12, 2022
fc1af58
[UPD] Update web_theme_classic.pot
Jan 13, 2023
7ecfbdb
[UPD] README.rst
OCA-git-bot Jan 13, 2023
c072b3e
[ADD] icon.png
OCA-git-bot Jan 13, 2023
c05a13c
[IMP] web_theme_classic : Do not display required color on readonly f…
legalsylvain Apr 18, 2023
00bfa7f
[IMP] web_theme_classic : Do not set border-bottom to required field,…
legalsylvain Apr 18, 2023
ff8a6fc
web_theme_classic 16.0.1.0.2
OCA-git-bot Apr 28, 2023
4e23bdd
[UPD] README.rst
OCA-git-bot Sep 3, 2023
4f2e298
Added translation using Weblate (French)
remi-filament Nov 6, 2023
b3f9d09
Deleted translation using Weblate (French)
remi-filament Nov 6, 2023
ceba6e9
[IMP] web_theme_classic: black, isort, prettier
legalsylvain Nov 7, 2023
4284d23
[MIG] web_theme_classic from 16.0 to 17.0
legalsylvain Nov 8, 2023
4bfa6a5
[REF] use new readme conventions. (replace rst by md files)
legalsylvain Nov 15, 2023
e6ed542
add some pixels left/right on input fields
gandalfthegreydev Nov 18, 2023
fcdfc8f
[FIX] web_theme_classic : remove obsolete xml declaration.
legalsylvain May 16, 2024
e098321
[UPD] Update web_theme_classic.pot
May 18, 2024
f3e6dd0
[BOT] post-merge updates
OCA-git-bot May 18, 2024
9990f43
Added translation using Weblate (Italian)
mymage May 20, 2024
098baf9
[MIG] web_theme_classic: Migration to 18.0
Jan 2, 2025
68ed358
[MIG] web_theme_classic: Migration to 18.0
Jan 2, 2025
1a8fe59
[MIG] web_theme_classic: Migration to 18.0
Jan 2, 2025
eff8b80
[MIG] web_theme_classic: Migration to 18.0
Jan 2, 2025
46eb231
[MIG] web_theme_classic: Migration to 18.0
Jan 4, 2025
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
107 changes: 107 additions & 0 deletions web_theme_classic/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
=================
Web Theme Classic
=================

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

.. |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/18.0/web_theme_classic
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_theme_classic
: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=18.0
:alt: Try me on Runboat

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

This module extend the Odoo Community Edition ``web`` module to improve
visibility of form view.

**Rational:** Since Odoo V17, the design is very pure. That's great, but
it generates some problem for users :

- Fields are not identifiable. (we can not know exactly where there are
until you hover over them with the cursor)
- there is no indication for the required fields until trying to save
(or exit the screen)

In a way, this module restores the form display of version 15, but
preserving the "save on the fly" new feature.

**Without this module**

|image1|

**With this module**

|image2|

.. |image1| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_theme_classic/static/description/product_template_form_without_module.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_theme_classic/static/description/product_template_form_with_module.png

**Table of contents**

.. contents::
:local:

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_theme_classic%0Aversion:%2018.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
-------

* GRAP

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

- Sylvain LE GAL (https://www.twitter.com/legalsylvain)

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.

.. |maintainer-legalsylvain| image:: https://github.com/legalsylvain.png?size=40px
:target: https://github.com/legalsylvain
:alt: legalsylvain

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-legalsylvain|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file added web_theme_classic/__init__.py
Empty file.
24 changes: 24 additions & 0 deletions web_theme_classic/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright (C) 2022 - Today: GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Web Theme Classic",
"summary": "Contrasted style on fields to improve the UI.",
"version": "18.0.1.0.0",
"author": "GRAP, Odoo Community Association (OCA)",
"maintainers": ["legalsylvain"],
"website": "https://github.com/OCA/web",
"license": "AGPL-3",
"category": "Extra Tools",
"depends": [
"web",
],
"assets": {
"web.assets_backend": [
"/web_theme_classic/static/src/scss/web_theme_classic.scss",
],
},
"installable": True,
"application": True,
}
14 changes: 14 additions & 0 deletions web_theme_classic/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\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"
13 changes: 13 additions & 0 deletions web_theme_classic/i18n/web_theme_classic.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
3 changes: 3 additions & 0 deletions web_theme_classic/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
1 change: 1 addition & 0 deletions web_theme_classic/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Sylvain LE GAL (<https://www.twitter.com/legalsylvain>)
21 changes: 21 additions & 0 deletions web_theme_classic/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
This module extend the Odoo Community Edition `web` module to improve
visibility of form view.

**Rational:** Since Odoo V17, the design is very pure. That's great, but
it generates some problem for users :

- Fields are not identifiable. (we can not know exactly
where there are until you hover over them with the cursor)
- there is no indication for the required fields until trying to save
(or exit the screen)

In a way, this module restores the form display of version 15, but
preserving the "save on the fly" new feature.

**Without this module**

![](../static/description/product_template_form_without_module.png)

**With this module**

![](../static/description/product_template_form_with_module.png)
Binary file added web_theme_classic/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading