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

I have to change something in /odoo/addons/web/static/src/xml/base.xml but I'd like to change it using a module (inheritance) or some other way that does not involve directly modifying Odoo code. Is it possible?

(In fact, the problem is that the attachement create_date is displayed as is in the tooltip but should be converted to the user timezone.)

아바타
취소
베스트 답변

You could do it by using the javascript directives described here:

https://doc.odoo.com/trunk/web/qweb

https://www.odoo.com/documentation/10.0/reference/qweb.html#javascript

and here at the end:

http://frederic.vanderessen.com/client-side-development-with-openerp/


아바타
취소
작성자

I assume you're talking about the __t-extend__ directive. Thank you! :)

관련 게시물 답글 화면 활동
1
7월 25
2075
1
5월 25
2308
1
4월 25
2558
1
2월 25
1853
0
10월 24
1567