Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
6 Odpowiedzi
2559 Widoki

http://localhost:8018/odoo/action-348/ir.ui.menu/229


in newest odoo 18, it always display odoo in url,  I am wonder if possible trim it ?



Awatar
Odrzuć
Najlepsza odpowiedź

Hi 

The changes has been made here

https://github.com/odoo/odoo/pull/178567

but if you will trim "odoo" it's like trimming the "web" in the previous versions, without a solid extensions of the controller, odoo will simply break. You have to extend all used controllers in odoo to give the right instruction.


Another approach is to use URL translation if you want to hide the word "odoo" from your URL, but the effort is really big. This approach is also used to incread SEO and URL readability in front end and back end.

Braintec has created such an extension since version v14 of odoo, you can find few information here https://braintec.com/r/nSY. Try to contact them

Hope this helps you


Daniel

Awatar
Odrzuć
Najlepsza odpowiedź

My solution has been put into the free app market : https://apps.odoo.com/apps/modules/18.0/web_replace_url

Awatar
Odrzuć
Najlepsza odpowiedź

use @gx module in the app market. If you happen to have some error, check the comment section, I've put some fixes for the module.

Awatar
Odrzuć
Najlepsza odpowiedź

Please anyone who succeed on removing it or reverting the changes, I need help.

Awatar
Odrzuć
Najlepsza odpowiedź

  In light of the modifications made here, I believe that you are able to undo it.  

Awatar
Odrzuć
Najlepsza odpowiedź

I think you can reverse it based on the changes here pull #178567

Awatar
Odrzuć