تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4 الردود
4949 أدوات العرض

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
أبريل 16
12955
1
أكتوبر 16
9857
2
مارس 16
2975
1
يوليو 25
524
1
يونيو 25
1094