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

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 190
    Comment on it

    The __openerp__.py file has containing list of dependencies,conditioning startup order,data files to load at module install,always load groups first and load access rights after groups.
    For example code below.

     {'name' : 'SHIVA',
    
    'version' : '1.0',
    
    'author' : 'OpenERP',
    
    'description' : 'Ideas management module',
    
    'category': 'Enterprise Innovation',
    
    'website': 'http://www.openerp.com',
    
    'depends' : ['base'], # list of dependencies, conditioning startup order
    
    'data' : [
    # data files to load at module install
    
    'security/groups.xml',
    # always load groups first!
    
    'security/ir.model.access.csv', # load access rights after groups
    
    'workflow/workflow.xml',
    
    'view/views.xml',
    
    'wizard/wizard.xml',
    
    'report/report.xml',
    
    ],

 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: