Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to use __init__.py in OpenERP/Odoo ?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 694
    Comment on it

    The __init__.py file is the Python module descriptor, because an OpenERP module is also a regular Python module.
    1- Import all files & directories containing python code
    2-import idea, wizard, report
    The __openerp__.py is the OpenERP module manifest and contains a single Python dictionary with the declaration of the module: its name, dependencies, description, and composition . Note- code syntax of __init__.py

    # -*- coding: utf-8 -*-
    # Part of Odoo. See LICENSE file for full copyright and licensing details.
    import models

 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: