Basic Server-Side Development

In this chapter, we will cover the following topics:

  • Defining model methods and using the API decorators
  • Reporting errors to the user
  • Obtaining an empty recordset for a different model
  • Creating new records
  • Updating values of recordset records
  • Searching for records
  • Combining recordsets
  • Filtering recordsets
  • Traversing recordset relations
  • Extending the business logic defined in a Model
  • Extending write() and create()
  • Customizing how records are searched

Get Odoo 11 Development Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.