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

I racked my head trying to load a simple module that I'm developing but it doesn't work. Nothing happens when I start open-server script. The custom module doesn't show on the Settings>Apps

This is the __openerp__.py content:

{
    "name" : "Travel agency module",
    "version" : "1.0",
    "author" : "Tiny",
    "category" : "Generic Modules/Others",
    "description": "Juste a test module",
    "depends" : ["base"],
    "init_xml" : [],
    "data" : ["travel_view.xml"],
    "active": True,
    "installable": True
}

this is the travel.py content file:

from osv import osv, fields

class travel_hostel(osv.osv):
       _name = 'travel.hostel'
       _inherit = 'res.partner'
       _columns = {
       'quality': fields.char('Quality', size=16),
       }
       _defaults = {
       }

travel_hostel()
아바타
취소
베스트 답변

Hi,

Settings>>Modules>>Update Modules List

https://accounts.openerp.com/forum/Help-1/question/16336#16338

아바타
취소
작성자

Thank you! This trick is not in the development documentation :(

관련 게시물 답글 화면 활동
2
3월 15
4567
0
3월 15
3558
0
4월 25
961
2
1월 24
2218
0
7월 22
2030