Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to load/install a custom module?

By
Rafael Reuber
on 2/1/14, 10:36 AM 1,657 views

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()
1

Borni DHIFI

--Borni DHIFI--
5102
| 6 8 9
Tunis, Tunisia
--Borni DHIFI--

Techno Functional Consultant Odoo(OpenERP) 

http://www.linkedin.com/in/borni

Skype : dhifi.borni

Borni DHIFI
On 2/1/14, 11:02 AM

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 :(

Rafael Reuber
on 2/1/14, 12:27 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 2/1/14, 10:36 AM
Seen: 1657 times
Last updated: 3/16/15, 8:10 AM