콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
8876 화면

Hello all,


I have Odoo 13 Enterprise with minimal apps installed running locally on Windows 10 for development. 


I made my first custom module to change the appearance of the GUI.  I created and modified it with PyCharm, added it to the addons directory (C:\Program Files (x86)\Odoo 13.0e\server\odoo\addons), restarted the server, enabled developer mode, updated the apps list, and it doesn't appear.  I've done this many times as both a user and superuser with little changes here and there but it still will not appear.  I've added the manifest and init code, as well as the log event of the module update below.  


Thanks in advance for any help you can offer!


Tom


**Edited to add**  Yes, I have updated the apps list and removed the default apps filter many, many times. 


**Further edited to add** I also tried adding 'application': True to the manifest, even though it's not an application just to see if it made a difference - and it still doesn't show up.  


Any ideas?


__manifest__.py

# -*- encoding: utf-8 -*-

{
'name': "Theme Tom2",
'version': '0.1',
'category': 'Uncategorized',
'description': """
Module to override the default appearance of Odoo.
""",
'depends': ['web'],
'author': "Tom Lowe",
'website': 'https://www.clearwatersystems.com',
'data': [
'views/theme_tom2.xml',
],
'installable': True,
}

__init__.py

# -*- encoding: utf-8 -*-
from . import models

Log event

2020-10-01 17:54:47,168 8664 INFO tlowe123 werkzeug: 127.0.0.1 - - [01/Oct/2020 17:54:47] "POST /web/dataset/call_kw/base.module.update/default_get HTTP/1.1" 200 - 2 0.001 0.004

2020-10-01 17:54:47,536 8664 INFO tlowe123 werkzeug: 127.0.0.1 - - [01/Oct/2020 17:54:47] "POST /web/dataset/call_kw/ir.ui.view/check_access_rights HTTP/1.1" 200 - 1 0.001 0.004

2020-10-01 17:54:48,734 8664 INFO tlowe123 werkzeug: 127.0.0.1 - - [01/Oct/2020 17:54:48] "POST /web/dataset/call_kw/base.module.update/create HTTP/1.1" 200 - 3 0.007 0.016

2020-10-01 17:54:49,101 8664 INFO tlowe123 werkzeug: 127.0.0.1 - - [01/Oct/2020 17:54:49] "POST /web/dataset/call_kw/base.module.update/read HTTP/1.1" 200 - 2 0.002 0.003

2020-10-01 17:54:49,435 8664 INFO tlowe123 odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user tlowe@clearwatersytems.com #2 via 127.0.0.1 

2020-10-01 17:54:50,934 8664 INFO tlowe123 werkzeug: 127.0.0.1 - - [01/Oct/2020 17:54:50] "POST /web/dataset/call_button HTTP/1.1" 200 - 866 0.220 1.285

2020-10-01 17:54:51,250 8664 INFO tlowe123 werkzeug: 127.0.0.1 - - [01/Oct/2020 17:54:51] "POST /longpolling/poll HTTP/1.1" 200 - 8 0.007 50.032

2020-10-01 17:54:53,578 8664 INFO tlowe123 werkzeug: 127.0.0.1 - - [01/Oct/2020 17:54:53] "POST /web/dataset/search_read HTTP/1.1" 200 - 4 0.004 0.007






아바타
취소

Have you tried removing the app filter from the Apps ? or try adding "application ": True in the manifest file.

update your app list and than refresh the web page.

작성자 베스트 답변

Not necessarily an answer, but I managed to move past this by copying all of the files into a new module.  I don't understand why the same files worked in one directory but not another, but as soon as I tried it the module appeared in the apps list.  I feel it may be related to running on Windows, I had nothing but issues.  I'm now running it on an Ubuntu VM and it works flawlessly.  Thanks for the suggestions.  

아바타
취소
베스트 답변

Hello,


Try to update your app list. after you can check.


Thanks


 

아바타
취소
관련 게시물 답글 화면 활동
3
2월 24
10335
1
11월 23
2770
1
6월 23
3525
0
2월 23
2656
0
1월 24
3780