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

Hi,

Using V7 on Ubuntu. I installed with no pb a module to add a new field: merged_from_porder to the object purchase.order.

Then I wanted to add some more field. So I : 0/ Uninstall the module 1/ Modify my python code adding my new field 2/ Restart OpenServer 3/ Update The module List 4/ Install the module.

All modification done are not considered by the server. It's like he cache the old code somewhere and always use it. I also try the same scenario as before but changing the version from 1.0 to 1.1 as well, but same problem. Also try to change the version and do an update instead of uninstall then install. Same Pb.

What is the procedure to modify an already installed module ?

Regards,

St.

아바타
취소
베스트 답변

Are you sure you stopped the server? try typing ps aux | grep openerp to confirm that you really stopped the server.

If you have multiple instances of the server running that would explain why your update did not show up.

아바타
취소
작성자

I am using to following to restarting : sudo /etc/init.d/openerp-server restart and having no error message. I try to stop, delete the /var/run/openerp.pid , then start the server, upgrade my module, but stil no change... it's the old code that is executed. How can the server execute the old code ? There must be some cache somewhere ?

작성자

Iexecuted the : "sudo /etc/init.d/openerp-server stop" and then "ps aux | grep openerp", My god, so many open process with OpenERP as a user.... I will try to kill all of them, I'll keep update

if this answer helped you please mark it as the solution.

작성자

I confirmed, that the command sudo /etc/init.d/openerp-server restart sometimes doesn't close the connection... thx for your help.

베스트 답변

Hi,

an other possibility is your stop/start server has not been well done, in this case, stop the server and delete file /var/run/openerp.pid.

Bye

아바타
취소
작성자

Indeed, the file /var/run/openerp.pid still exist after I stopped the server. I deleted it before starting again. But the new code are not considered. Old code is executed...

베스트 답변

Try this:

  1. Go to Configuration
  2. Click on Installed Modules
  3. Removed the Installed filter from the search input box
  4. Write there the name of your module
  5. If you get more than one result, just remove all of them ( By clicking on each one and selecting Remove from the main actions drop down menu in the next page ), and re-update the modules list.
아바타
취소
작성자

Just follow your step, and there is only my module coming out from the list (I named it : merge_rfq)

Can you remove it using the procedure I described and then re-update your modules list? See what happens.

관련 게시물 답글 화면 활동
0
3월 15
5846
What's the context? 해결 완료
9
3월 24
118538
1
6월 20
11984
2
3월 16
10309
2
3월 15
4974