Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to add the skype field in .py file(Python) in OpenERP(Odoo)?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 397
    Comment on it

    For the skype field first we have to go in .py file (python file)
    After that we have to decide where you want to give skype field and then give attribute of skype to that field. Like below python code in .py file :

    1. from openerp.osv import osv,fields
    2. import openerp
    3. class res_partner(osv.Model):
    4. _inherit = 'res.partner'
    5. _inherit = 'res.partner'
    6. 'skype':fields.char('Skype', size=128, select=True)
    7. }

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Reset Password
Fill out the form below and reset your password: