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

[WIP][MIG][15.0] web_environment_ribbon: migrate to 15.0 #2049

Closed

Conversation

ap-wtioit
Copy link
Contributor

First prototyping getting web_environment_ribbon to work with 15.0 (needed for our CI)

Info @wt-io-it

@ap-wtioit ap-wtioit force-pushed the 15.0-migrate_web_environment_ribbon branch from baf06a4 to 4bf1ad0 Compare October 13, 2021 10:04
@leemannd
Copy link

Hello @ap-wtioit , Thank you for your contribution.
Your base work seems legit, but you're targeting the branch 14.0. Could you change branch to favor 15.0 ?

@ap-wtioit
Copy link
Contributor Author

@leemannd it's on my agenda for today (preparing the patch for a proper migration)

OpenCode and others added 26 commits October 18, 2021 14:02
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
pedrocs-exo and others added 26 commits October 18, 2021 14:02
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/
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/zh_CN/
Includes some manual fixes to silent ESLint warnings.
Currently translated at 100.0% (4 of 4 strings)

Translation: web-13.0/web-13.0-web_environment_ribbon
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_environment_ribbon/ca/
Currently translated at 100.0% (4 of 4 strings)

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

Translation: web-14.0/web-14.0-web_environment_ribbon
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_environment_ribbon/nl_NL/
Currently translated at 100.0% (4 of 4 strings)

Translation: web-14.0/web-14.0-web_environment_ribbon
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_environment_ribbon/nl/
@ap-wtioit
Copy link
Contributor Author

Couldn't find the button to change the target branch in github, so i created a new pull request

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

Successfully merging this pull request may close these issues.