Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@NICO-SOLUTIONS
Copy link
Member

  • imported website_odoo_debranding from OCA website
  • pre-commit auto fixes
  • refactor website_odoo_debranding to website_debranding
  • migration to 19.0

cubells and others added 30 commits October 13, 2025 18:29
* Imported last updates from v8
* Adapted to v9
* Renamed to website_odoo_debranding
* Updated README
- Relicensed to LGPL.
- The template that does the job can be disabled by the admin.
[UPD] README.rst

Update translation files

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

Translation: website-16.0/website-16.0-website_odoo_debranding
Translate-URL: https://translation.odoo-community.org/projects/website-16-0/website-16-0-website_odoo_debranding/

[UPD] README.rst
With website_odoo_debranding installed it was not possible to install enterprise planning. Planning relies on <t t-call="web.brand_promotion_message"> sections which was removed with replacing the o_brand_promotion.

[UPD] Update website_odoo_debranding.pot

[BOT] post-merge updates
[UPD] Update website_odoo_debranding.pot

[BOT] post-merge updates

Update translation files

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

Translation: website-18.0/website-18.0-website_odoo_debranding
Translate-URL: https://translation.odoo-community.org/projects/website-18-0/website-18-0-website_odoo_debranding/
marcelsavegnago and others added 3 commits October 13, 2025 18:43
…name to website_debranding

- imported website_odoo_debranding from OCA website
- pre-commit auto fixes
- refactor website_odoo_debranding to website_debranding
@NICO-SOLUTIONS
Copy link
Member Author

@pedrobaeza
do you mind taking a look at the refactoring/migration if its ok like this?

@pedrobaeza
Copy link
Member

Please rename the whole commit history with:

git filter-branch --tree-filter 'if [ -d website_odoo_debranding ]; then mv website_odoo_debranding website_debranding; fi' HEAD
git rebase origin/19.0

@NICO-SOLUTIONS NICO-SOLUTIONS force-pushed the 19.0-mig-website_odoo_debranding branch from 59e650b to 885791c Compare October 15, 2025 13:51
@NICO-SOLUTIONS
Copy link
Member Author

Please rename the whole commit history with:

git filter-branch --tree-filter 'if [ -d website_odoo_debranding ]; then mv website_odoo_debranding website_debranding; fi' HEAD
git rebase origin/19.0

@pedrobaeza
All done — thanks again for the tip! Learned something new today 😄

@NICO-SOLUTIONS
Copy link
Member Author

@pedrobaeza
Sorry for bothering you again…
First, thanks for the approval and for pointing me to git filter-branch — it did the trick, and I now understand how it works!

I just found out that it’s officially deprecated, though.
Would it be better, in principle, to use git filter-repo for future history rewrites?
Just out of curiosity…

@pedrobaeza
Copy link
Member

Oh, I didn't know about that. Not sure which is the replacement when that happens...

@NICO-SOLUTIONS
Copy link
Member Author

@pedrobaeza
There is a pip module called git-filter-repo which is recommended.
The equivalent command would look like this:

git filter-repo --path-rename website_odoo_debranding/:website_debranding/ --refs HEAD --force

You can filter a specific branch by replacing HEAD with the branch you want to rewrite.
The --force option can be added to apply the rewrite even if the repository is not a fresh clone.
It seems to produce the same end result.

@pedrobaeza
Copy link
Member

OK, thanks for the information. Noted for future references.

@pedrobaeza
Copy link
Member

Ouch, @NICO-SOLUTIONS I told you bad the name of the repository 🤦

Sorry.

It's https://github.com/OCA/server-brand

@NICO-SOLUTIONS
Copy link
Member Author

NICO-SOLUTIONS commented Oct 16, 2025

@pedrobaeza
No Problem. I will Push it against server-brand later on..

@NICO-SOLUTIONS
Copy link
Member Author

superseeded by OCA/server-brand#112

@NICO-SOLUTIONS NICO-SOLUTIONS deleted the 19.0-mig-website_odoo_debranding branch October 16, 2025 14:24
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.