Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6361 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ค. 25
2439
0
มี.ค. 24
1751
2
พ.ย. 16
5974
3
ก.พ. 16
16748
3
มี.ค. 15
9492