跳至內容
選單
此問題已被標幟
4 回覆
5034 瀏覽次數

I am a newbie in odoo development. can you clarify my doubt. I already installed a module which is inheriting from Project module , which will add certain additional fields in Project section. But when I tried to add more field in module file & tried to upgrade,the new field is not uploading. I restarted the server & tried updating.. but its not working..can you please help me?

頭像
捨棄

Hi, It'll be helpful if you paste some code

作者 最佳答案

Got it...

Go to apps & click on upgrade button... then

If we are using Linux system,we have to enter into root terminal by typing

Sudo su


Then we have to give command like

service odoo stop

service odoo start


After just logout relogin to your app & it will show...

頭像
捨棄
最佳答案

In my case (Ubuntu 14.04) the error persisted until the following was done, in this specific order :

  • Restart Odoo Server

  • Upgrade my module :

                        - Go to the Apps page

                        - Cancel the Apps filter in the search bar

                        - Type the name of my module instead of the previous Apps filter

                        - Click my module (this open my module administration page, allowing me to upgrade it)

                        - Click upgrade

Then all my updates seem to be present in my module.

Hope this will help someone.

頭像
捨棄
最佳答案

First of all check if you have an error in your syntax.

Since odoo wont update the module if an error is found.

when restarting odoo try odoo.py -u <modulename>

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
4月 16
13043
1
10月 16
9930
2
3月 16
3067
2
8月 25
2408
1
7月 25
909