Chapter 8: Advanced Server-Side Development Techniques

In Chapter 5, Basic Server-Side Development, you saw how to write methods for a model class, how to extend methods from inherited models, and how to work with recordsets. This chapter will deal with more advanced topics, such as working with the environment of a recordset, calling a method upon a button click, and working with onchange methods. The recipes in this chapter will help you manage more complex business problems. You will learn how to create more interactive apps.

In this chapter, we will look at the following recipes:

  • Changing the user that performs an action
  • Calling a method with a modified context
  • Executing raw SQL queries
  • Writing a wizard to guide the user
  • Defining onchange ...

Get Odoo 14 Development Cookbook - Fourth 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.