Advanced Server-Side Development Techniques
In Chapter 5, Basic Server-Side Development, you learned how to write methods for a model class, how to extend methods from inherited models, and how to work with record sets. This chapter will deal with more advanced topics, such as working with the environment of a record set, 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 an understanding by incorporating visual elements and clarifying the process of creating interactive features within Odoo’s application development process.
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
methods - Calling
onchange
methods on the server side - Defining
onchange
with...