O'Reilly logo

Odoo Development Cookbook by Daniel Reis, Alexandre Fayolle, Holger Brunn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Advanced Server Side Development Techniques

In this chapter, we will see how to:

  • Change the user performing an action
  • Call a method with a modified context
  • Execute raw SQL queries
  • Write a wizard to guide the user
  • Define onchange methods
  • Call onchange methods on the server side
  • Port old API code to the new API

Introduction

In Chapter 5, Basic Server Side Development, we saw how to write methods on a model class, how to extend methods from inherited models, and how to work with recordsets. This chapter deals with more advanced topics such as working with the environment of a recordset and working with onchange methods.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required