콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
6 답글
22572 화면

Hey guys! In your Odoo implementation, are you able to change the window title on top for each page? 

For example, in this moment, I have « Ask a question - Odoo » for window title. 

Thanks

아바타
취소
베스트 답변

Goto Website -> Promote in top right corner -> Reference Your Page -> Change Title.

아바타
취소
작성자

thanks!

베스트 답변

Thanks Dhinesh. Time saver!

아바타
취소
베스트 답변

Hi Leonardo,

Please can you create this module and post it? because this sounds very complicated. id like a module so that i dont have to edit the code in odoo.

id really appreciate it.

아바타
취소
베스트 답변

If you want to change it without installing the website module and/or you want to do it in an external module, check my answer to the same question on stackoverflow.

Sum up: you have to inherit the web.layout template and replace the title element, and extend the init method of the openerp.web.WebClient JS class, call super then add the line: this.set('title_part', {"zopenerp": "Your Title"});

아바타
취소
작성자

Thanks!

Thanks a lot! You're a life saver man!