在 odoo v8 中, 您可以在文件夹 < code>addons/ your_ module/ static/ description/ icon. png 中添加图标
for example you can find icon for module employe
in openerpaddonshrstaticdescription
In OpenERP Web 6.1, 模块 Kanban 视图为每个应用程序提供了一个图标。 您如何将模块图标添加到自定义开发模块中? 我试图在 Mymolulesstaticrcimgicon. png
添加图像, 但看起来这还不够。
在 odoo v8 中, 您可以在文件夹 < code>addons/ your_ module/ static/ description/ icon. png 中添加图标
for example you can find icon for module employe
in openerpaddonshrstaticdescription
在您模块的 openerp__. py
文件中,添加 < strong > 应用程序: True ,然后,正如您提到的,将图像( 64x64 像素) 添加到您的模块/ static/ing/icon.png 上, 现在重新启动服务器 。
我在本地也做了同样的练习
但它的工作很好 @ my side.
您可以通过追踪文件找到问题的确切位置:服务器/打开器/模块/模块。
有一个函数存在
def get_module_icon(module):
if this function return the vealue like: yourmodule/static/src/img/icon.png then its ok from your side.
并运行“ 更新模块列表” 向导 。
plz使用网络客户的最新版本 。
希望这能帮到你
在 OpenERP 7. 0 上,您可以通过编辑您的模块 s icon
设置到您图标的路径上, 不必遵循很多常规, 尽管它必须位于 /stistic
目录下。 如 :
{
name : Some Module Name ,
icon : "/{my_module_name}/static/img/some_icon.png",
...
}
此路径与此相似, 因为它将用作 lt; img>
s > s
src_/code> 属性的值 。
<img class="oe_module_icon" src="/{my_module_name}/static/img/some_icon.png">
I HAVE THİS CODE BUT NOT WORK EXACTLY <?xml version="1.0" encoding="utf-8"?> <odoo> <record id="view_musteri_tavsiye_form" model="ir.ui.view"...
I am having trouble getting Roundcube 1.6.1 to work on my server. I believe some pre-existing configuration on my server may interfere with Roundcube but I am unsure. Here is what I have set up so far:...
I d like to manage OpenERP user s activity by installing the audittrail module. After creating some rules ( define which user, which object and which activity (create, update..) will be monitored). I ...
I want to cache some results in my OpenERP module, so I dug around a bit and found the cache decorator. Unfortunately, the most documentation I ve been able to find is in the class declaration: Use ...
I have a defined groups and i want to display a button according a group. <button name="assign_ticket" states= "pending_assignment,draft" groups="group_centricare_care_agents" string="Assign to me"...
We have a requirement that we need to integrate OpenERP with Drupal. I investigated but could not find any Drupal addon/module which will do the desired job. I also investigated and found that ...
I m trying to deploy OpenERP with a buildout and my own piece of code. In fact I would like to build a complete deployement structure allowing me to use OpenERP with custom modules and patch. First ...
I am trying to restore a database backup through the client interface of open ERP. A message appeared "Could not restore DB". I am using Postgresql 8.4.1 Please help!