简体   繁体   中英

My module is not displayed in openerp

In my local openerp , my module display well. but in server openerp it's not displaying, even added server addons path. and i checked server path is correct. then what's error?

首先更新模块列表,然后刷新浏览器并检查您的openerp .py文件

try this command to understand where your actually module are place for example

  • Run this command

     ps -ax | grep openerp-server 
  • For example above command gives

     804 ? Sl 36:52 python /opt/openerp/server/openerp-server -c /etc/openerp-server.conf 
  • Now we see that actually all module are kept at this place /opt/openerp/server/addons . If we give wrong path of module that obvious it will not show in the module list.

So First understand where all module are run at server and than find module. And visit this might be helpful for you. how to update the new module in openerp 7 in ubuntu 12.0?

Best Regards, Thanks

Please Do check your openerp .py file is proper or not. in that Please check weather module is installable or not.

{
...
      'installable': True,
...
}

If it seems good then you need to check the access rights for your module folder under addons. it should be executable. if it's not executable then give access rights using

sudo chmod 775 -R Module_name

it will work.

Find the module this way,

Update the module list in Settings ,

Settings --> Installed Modules and remove the search word installed in filter box and finally search with your module name in filter box.

Hope this helps you.

Usually i paste my module on /usr/share/pyshare/openerp/addons. After change my directory like /usr/local/lib/python2.7/openerp/addons, My module is displaying in openerp.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM