Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
Node is saved as draft in My Content >> Draft
  • Basic openerp module directory structure and _init_.py

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 20
    Comment on it

    Basic openerp module directory structure:-
    In OpenErp all module of openerp server are located in the server/addons directory and creates all new module in openerp, to do this 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, create report, wizards, workflows.

    Python Module Descriptor File __init__.py:-
    The __init__.py file in openerp is 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

    openerp module directory structure

 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: