[英]My module is not displayed in openerp
In my local openerp
, my module display well. 在我的本地
openerp
,我的模块显示良好。 but in server openerp
it's not displaying, even added server addons
path. 但在服务器
openerp
它不显示,甚至没有添加服务器addons
路径。 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 . 现在我们看到实际上所有模块都保存在/ 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?
如何在Ubuntu 12.0的openerp 7中更新新模块?
Best Regards, Thanks 最好的问候,谢谢
Please Do check your openerp .py file is proper or not. 请检查您的openerp .py文件是否正确。 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
的模块列表,
Settings --> Installed Modules
and remove the search word installed in filter box and finally search with your module name in filter box. Settings --> Installed Modules
然后删除安装在过滤器框中的搜索词,最后在过滤器框中使用您的模块名称进行搜索。
Hope this helps you. 希望这对您有所帮助。
Usually i paste my module on /usr/share/pyshare/openerp/addons. 通常我将模块粘贴到/ usr / share / pyshare / openerp / addons上。 After change my directory like /usr/local/lib/python2.7/openerp/addons, My module is displaying in openerp.
更改了/usr/local/lib/python2.7/openerp/addons之类的目录后,我的模块显示在openerp中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.