Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to create selection field in openerp

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 755
    Comment on it

    To make selection field in OpenERP (Odoo)

    In Selection Field first we have to go in .py file (python file) After that we have to decide where you want to give selection Field and then give attribute Selection to that field.

    Like below python code in .py file -

    class product_product(osv.osv): 
    
        _inherit='product.product' 
        _columns= { 
                     'Inventory_Type':fields.selection ((('inventory', 'Inventory'), ('services', 'Services'), ('group', 'Group')), 'Inventory Type'), 
    
                } 
    
    product_product()
    

 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: