Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Basic openerp module directory structure and _init_.py

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 458
    Comment on it
    Basic openerp module directory structure:-

    In OpenErp all module of openerp server are located in the server/addons directory, to create all new module in openerp follow this step:-

    • first step is create a subdirectory in the server/addons directory.
    • second step is create module description __openerp__.py file.
    • third step is create the python file containing the all object.
    • fourth step is create .xml file that download data like view, menu, entries, demo, data etc.
    • fifth step is optional step to create report, wizards, workflows.

    Python Module Descriptor File __init__.py:->

    The __init__.py file in openerp to executed at the start of the program.this file needs to import the python files that need to be loaded.
    Example:-
    if you create a "module.py" file, containing the description of your objects, you have to write one line
    in __init__.py:

    import module
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: