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_environment_ribbon: Migration to 18.0 #2946

Merged
merged 73 commits into from
Oct 9, 2024

Conversation

rven
Copy link
Contributor

@rven rven commented Oct 8, 2024

No description provided.

OpenCode and others added 30 commits October 8, 2024 16:46
ribbon_test_environment -> web_environment_ribbon
Set correct z-index on ribbon
Move position accordingly

Cf OCA#191
* [IMP] web_environment_ribbon: add color customization
The ribbon color and background-color can be modified through system
parameters:
 * ribbon.color
 * ribbon.background.color

Added Copyright in .js
Delete duplicate entries in css
By creating the ribbon div on the fly, this module doesn't depend
anymore on the webclient structure.
…(eg db_name) (OCA#621)

* [ADD] .eggs in gitignore

* [IMP] Web Environment Ribbon: add backend
This commit adds a simple bakend to facilitate inheritance

* [IMP] Web Environment Ribbon: add the databse name
This commit adds the database name under the ribbon name, in the ribbon

* [IMP] Web Environment Ribbon: prepare method for ribbon name

* [IMP] README: explain how to use db_name
* [FIX] web_environment_ribbon: Fix to show the ribbon to every non-admin user

* [FIX] web_environment_ribbon: Version number
Currently translated at 100,0% (4 of 4 strings)

Translation: web-11.0/web-11.0-web_environment_ribbon
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_environment_ribbon/pt_BR/
[MIG] web_environment_ribbon: Migration to 12.0

[FIX] Default value for ribbon.name if not exists

[FIX] Hide ribbon when ribbon.name is false or not existing

[FIX] Remove copyright flag on __init__ files

[REM] Debugging logs

[REM] Make quotes inconsistant again and change sequence of data files in manifest
[UPD] Update web_environment_ribbon.pot

Update translation files

Updated by Update PO files to match POT (msgmerge) hook in Weblate.

[UPD] README.rst
Currently translated at 100.0% (4 of 4 strings)

Translation: web-12.0/web-12.0-web_environment_ribbon
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_environment_ribbon/es/
Currently translated at 75.0% (3 of 4 strings)

Translation: web-12.0/web-12.0-web_environment_ribbon
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_environment_ribbon/pt/
ChrisOForgeFlow and others added 17 commits October 8, 2024 16:46
Currently translated at 100.0% (4 of 4 strings)

Translation: web-16.0/web-16.0-web_environment_ribbon
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_environment_ribbon/hr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-16.0/web-16.0-web_environment_ribbon
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_environment_ribbon/
Currently translated at 100.0% (1 of 1 strings)

Translation: web-17.0/web-17.0-web_environment_ribbon
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_environment_ribbon/it/
Added translation using Weblate (Italian)
…ons/base/models/ir_module.py:178: DeprecationWarning: XML declarations in HTML module descriptions are deprecated since Odoo 17
@rven rven mentioned this pull request Oct 8, 2024
24 tasks
Copy link
Member

@chienandalu chienandalu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test and code review. Thanks!

@pedrobaeza
Copy link
Member

/ocabot migration web_environment_ribbon

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Oct 8, 2024
Copy link
Contributor

@ap-wtioit ap-wtioit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on runbot, reviewed code and commits are according to migration guide.

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on runboat

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-2946-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 80e2dfb into OCA:18.0 Oct 9, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at b62183a. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.