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

Hi,

I am trying to change some configurations on the buttons at the top of the chatter (send message, log , activities)

I have found the template responsible for those buttons to be:

- mail/static/src/components/chatter_topbar/chatter_topbar.xml

and I have duplicated that file in my own module:

- my_custom_module/static/src/xml/own.xml

to replace the file I have added on the manifest depends the mail module and added the 


 'web.assets_qweb': [            ('replace',

​'mail/static/src/components/chatter_topbar/chatter_topbar.xml',              ​​

​'my_module_custom/static/src/xml/own.xml'),        ],


but the xml is not being replaced, does anybody know why? any help would be apreciated :)  

아바타
취소
작성자 베스트 답변

Solved,

For those who could face the same issue:

I had to override de js file that calls the xml template ( is an owl js file ) and is located in the same folder.

아바타
취소
관련 게시물 답글 화면 활동
3
8월 20
27424
2
12월 21
9265
2
4월 23
8677
2
12월 22
22986
3
9월 20
4585