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

Hi,

I made some changes in the source code of openerp (for example: 'openerp/openerp/addons/web/static/lib/datejs/en-US.js') but nothing changed in the view of openerp. So, should I compile it's source code? How?

아바타
취소
베스트 답변

Hello,

Just change it and restart the server.

If you change js and css you only have to refresh web_browser If you change .py, whithout changing model definition, just restart server if you change .py (model definition) and .xml, restart server with --update option:

update all modules

oe -d your_database --update=all

update some mods only, mod1,mod2,mod3 can be account,sale,project

oe -d your_database --update=mod1,mod2,mod3

Be carrefull ! you have t refresh your browser cache to be sure to have last version of js and css files after restarting your server.

아바타
취소
작성자

i made changes on the file openerp/openerp/addons/web/static/lib/datejs/globalization/fa-IR.js but nothing was changes.

작성자

Oh god! My browser was caching for a million years although I pressed ctrl+f5 a thousand of times. BTW, Thank you.

Ok, so it is ok for youi now ?

작성자

Yes, that's it.

관련 게시물 답글 화면 활동
2
7월 25
2462
0
3월 24
1758
2
11월 16
5985
3
2월 16
16757
3
3월 15
9497