Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • List records in Odoo9

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 249
    Comment on it

    List reord is the most important part of Odoo data base with the help of list records we can manage all database in odoo framework and search() takes a mandatory domain filter and returns the database identifiers of all records matching the filter. To list customer companies for instance and variable.
    For example you can see below code.

    models.execute_kw(db, uid, password,
        'res.partner', 'search',
        [[['is_Demo', '=', True], ['Test', '=', True]]])
    [7, 18, 12, 14, 17, 19, 8, 31, 26, 16, 13, 20, 30, 22, 29, 15, 23, 28, 74]

    Note-Records can be listed and filtered with search().

 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: