Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
Node is saved as draft in My Content >> Draft
  • osv.osv object in OpenERP

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 1
    Comment on it

    osv.osv object in OpenERP:-
    in openerp osv.osv object is actually an orm.Model class and define a new object, you must define a new Python class then instantiate it. This class must inherit from the osv class in the osv module. Example:-

    class name_of_the_object(osv.osv):
            _name = 'name.of.the.object'
            _columns = {
                       // define field here 
                       }
            ...
    name_of_the_object()
    

    Predefined fields:-
    * _columns (required) -
    In _columns to define field and field value store in database The object fields See the fields section for further details.
    *_name (required) :-
    Name of the object. Default value: None.

    osv.osv object in OpenERP

 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: