Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
5077 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ

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

Tác giả Câu trả lời hay nhất

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...

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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>

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 4 16
13073
1
thg 10 16
9962
2
thg 3 16
3096
2
thg 8 25
2555
1
thg 7 25
967