跳至內容
選單
此問題已被標幟
6 回覆
2542 瀏覽次數

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

頭像
捨棄