-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[17.0] mig web_theme_classic #2660
Conversation
/ocabot migration web_theme_classic |
Hi @sbidoul. So I made my first PR on 17.0 branch.
Note : |
@legalsylvain runboat is up, now. |
Good point. Do you think we should automate that in pre-commit?
Le mer. 8 nov. 2023, 11:54, francesco-ooops ***@***.***> a
écrit :
… @sbidoul <https://github.com/sbidoul> shouldn't readme files be converted
in md for v17?
cc @TumbaoJu <https://github.com/TumbaoJu> @lfreeke
<https://github.com/lfreeke>
—
Reply to this email directly, view it on GitHub
<#2660 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFI623S7CQ3SETISIHAMHLYDNQHNAVCNFSM6AAAAAA7BJPFLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBRGYZTGMBTGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@sbidoul yes, let's make the change happen :) |
**Without this module** | ||
|
||
.. figure:: ../static/description/product_template_form_without_module.png | ||
|
||
**With this module** | ||
|
||
.. figure:: ../static/description/product_template_form_with_module.png |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks !
The PR to convert fragments to markdown in pre-commit is OCA/oca-addons-repo-template#228 |
f0dddde
to
60ad4e9
Compare
4fec72d
to
7f13564
Compare
Thanks !
thanks @sbidoul. works great. hi @guestisp :
I'm not sure. In a hand, I like your proposal, but in the other hand it is a matter of taste, and users have been accustomed to this color for many years. What do you think ? (I'm OK with moving in your direction.)
Indeed. good proposal. could you make a PR against my branch for the second point, (and eventually the first one ?) Thanks ! |
The rationale is simple: 9 times to 10, grey fields are disabled. At first sight when i've installed this addon, i've thought that there grey fields was the disabled one in the form. But they are editable, and looking at the css class, they are required filed. So, a very light grey is better than a dark grey. But even better would be to change the color at all (light yellow? light green? light-something-but-not-grey?) It's just my two cent as a fresh Odoo user, nothing more. A simple suggestion.
Yup! |
what about white fields but with purple (odoo purple) borders for the required fields ? |
@guestisp what about making it configurable? |
Hi
|
that's not easy...... |
I guess you talk about the EE module. If yes, I don't have access to EE, so I can't help you. But you can take a look on the code, if you can read it. regards. |
not sure if dark mode is only available in Enterprise. i have to check. and i have to find a way to set the background color variable only if not already defined, based on official docs [1], the scss for dark mode is loaded first, followed by everything else, so if the background was set in dark mode scss, following files should not redefine the var [1] https://www.odoo.com/documentation/17.0/developer/reference/user_interface/scss_inheritance.html |
7f0fd88
to
50ccde4
Compare
|
f48bb86
to
9a5bc69
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @legalsylvain for porting this module.
1 minor comment related to XML tag not necessary anymore in index.html raising a WARNING during installation.
Apart from this, 👍
/ocabot rebase @remi-filament : thanks for your patch. Is it now ok ? thanks ! |
This comment was marked as outdated.
This comment was marked as outdated.
…lds in Odoo form views
… as the field has now a background-color
Co-authored-by: Rémi <[email protected]>
f44c974
to
0fd1056
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM tested functionally
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 768e23c. Thanks a lot for contributing to OCA. ❤️ |
Quite simple migration from 16.0 to 17.0
.o_form_view