コンテンツへスキップ
メニュー
この質問にフラグが付けられました
6 返信
2597 ビュー

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 ?



アバター
破棄
最善の回答

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

アバター
破棄
最善の回答

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

アバター
破棄
最善の回答

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.

アバター
破棄
最善の回答

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

アバター
破棄
最善の回答

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

アバター
破棄
最善の回答

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

アバター
破棄