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

Hello everyone! I have a little question about how I can modify de login form in OpenERP 7.

I modified base.xml and chrome.js files (addons/web/src/xml, addons/web/src/js) in my virtual machine and I see the changes that I did. But when I put the changes into the production version, I don't see the changes that I did into xml but in js file yes. I know that because the functionality is right.

Is it necessary do something special to refresh the visual part?

Thank you very much.

อวตาร
ละทิ้ง
ผู้เขียน

Someone knows what could happen? Thank you.

คำตอบที่ดีที่สุด

If your production is on the server then you will have to make the same changes to the OpenERP addon folder on your server. Even if you are accessing both from the same computer.

Hope this helps

อวตาร
ละทิ้ง
ผู้เขียน

They are in different computers. I did the changes in my virtual machine that it is in my pc. I put this change in the production server (the same files) and, there, the visual changes don't appear in web-site, you see the old xml. But if you download the base.xml file, there are the changes. I don't know how refresh this xml. I restarted the service but nothing happen... and in virtual machine, the restart worked...

Restarting the server does not reload the xml. the server simply reloads the python code. You have to upgrade or reinstall the module to load changes in the xml. Sorry for responding late.

ผู้เขียน

Thank you kaynis for your answer, but in this case, the module that I modified it's web. How can I upgrade this one for seeing the changes in old databases?

Reload/reinstall base module

ผู้เขียน

But for doing this, I have to login in some databases, no?

yes you have to login

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 15
17677
4
มี.ค. 15
5973
2
พ.ย. 19
4331
2
ก.พ. 18
3989
1
ม.ค. 18
3077