Odoo Development Cookbook Build Effective Business Applications Using the Latest Features in Odoo 17.
In its latest version, the powerful Odoo framework uncovers a wide variety of features for rapid application development. This updated Odoo development cookbook will help you explore the new features in Odoo 17 and learn how to use them to develop applications from scratch. You'll learn about w...
Autor principal: | |
---|---|
Otros Autores: | |
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing, Limited
2024.
|
Edición: | 5th ed |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009825852106719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright
- Contributors
- Thank you note
- Table of Contents
- Preface
- Chapter 1: Installing the Odoo Development Environment
- Technical requirements
- Understanding the Odoo ecosystem
- Odoo editions
- Git repositories
- Runbot
- Odoo app store
- Odoo Community Association
- Official Odoo help forum
- Odoo's eLearning platform
- Installing Odoo from the source
- Getting ready
- How to do it...
- How it works...
- Starting the instance
- Managing Odoo server databases
- Getting ready
- How to do it...
- How it works...
- There's more...
- Storing the instance configuration in a file
- How to do it...
- How it works...
- Activating Odoo developer tools
- How to do it...
- How it works...
- Updating the add-on modules list
- Getting ready
- How to do it…
- How it works…
- Chapter 2: Managing Odoo Server Instances
- Configuring the add-ons path
- Getting ready
- How to do it…
- How it works…
- There's more…
- Standardizing your instance directory layout
- How to do it…
- How it works…
- There's more...
- Installing and upgrading local add-on modules
- Getting ready
- How to do it…
- How it works…
- There's more…
- Installing add-on modules from GitHub
- Getting ready
- How to do it…
- How it works…
- There's more…
- Applying changes to add-ons
- Getting ready
- How to do it…
- How it works…
- See also
- Applying and trying proposed PRs
- Getting ready
- How to do it…
- How it works…
- There's more…
- Chapter 3: Creating Odoo Add-On Modules
- Technical requirements
- What is an Odoo add-on module?
- Creating and installing a new add-on module
- Getting ready
- How to do it...
- How it works...
- Completing the add-on module manifest
- Getting ready
- How to do it...
- How it works...
- There's more…
- Organizing the add-on module file structure.
- Getting ready
- How to do it...
- How it works...
- Adding models
- Getting ready
- How to do it...
- How it works...
- Adding access security
- Getting ready
- How to do it...
- How it works…
- See also
- Adding menu items and views
- Getting ready
- How to do it...
- How it works...
- Using the scaffold command to create a module
- Getting ready
- How to do it...
- How it works...
- Chapter 4: Application Models
- Technical requirements
- Defining the model representation and order
- Getting ready
- How to do it...
- There's more…
- Adding data fields to a model
- Getting ready
- How to do it...
- How it works...
- There's more...
- Adding a float field with configurable precision
- Getting ready
- How to do it...
- How it works...
- Adding a monetary field to a model
- Getting ready
- How to do it…
- How it works…
- Adding relational fields to a model
- Getting ready
- How to do it...
- How it works…
- There's more...
- Adding a hierarchy to a model
- Getting ready
- How to do it...
- How it works…
- There's more…
- Adding constraints validations to a model
- Getting ready
- How to do it...
- How it works…
- Adding computed fields to a model
- Getting ready
- How to do it...
- How it works...
- There's more...
- Exposing related fields stored in other models
- Getting ready
- How to do it...
- How it works...
- There's more...
- Adding dynamic relations using reference fields
- Getting ready
- How to do it...
- How it works...
- Adding features to a model using inheritance
- Getting ready
- How to do it...
- How it works...
- Copying the model definition using inheritance
- Getting ready
- How to do it...
- How it works...
- There's more…
- Using delegation inheritance to copy features to another model
- Getting ready
- How to do it...
- How it works.
- There's more...
- Using abstract models for reusable model features
- Getting ready
- How to do it...
- How it works...
- There's more...
- Chapter 5: Basic Server-Side Development
- Technical requirements
- Specifying model methods and using API decorators
- Getting ready
- How to do it…
- How it works…
- Reporting errors to the user
- Getting ready
- How to do it…
- How it works…
- There's more…
- Obtaining an empty recordset for a different model
- Getting ready
- How to do it…
- How it works…
- See also
- Creating new records
- Getting ready
- How to do it…
- How it works…
- There's more…
- Updating values of recordset records
- Getting ready
- How to do it…
- How it works…
- There's more…
- Searching for records
- Getting ready
- How to do it…
- How it works…
- There's more…
- Combining recordsets
- Getting ready
- How to do it…
- How it works…
- Filtering recordsets
- Getting ready
- How to do it…
- How it works…
- There's more…
- Traversing recordset relations
- Getting ready
- How to do it…
- How it works…
- There's more…
- See also
- Sorting recordsets
- Getting ready
- How to do it…
- How it works…
- There's more…
- Extending the business logic defined in a model
- Getting ready
- How to do it…
- How it works…
- There's more…
- Extending write() and create()
- Getting ready
- How to do it…
- How it works…
- There's more…
- Customizing how records are searched
- Getting ready
- How to do it…
- How it works…
- There's more…
- See also
- Fetching data in groups using read_group()
- Getting ready
- How to do it…
- How it works…
- Chapter 6: Managing Module Data
- Technical requirements
- Using external IDs and namespaces
- How to do it...
- How it works...
- There's more…
- See also
- Loading data using XML files
- How to do it...
- How it works.
- There's more...
- Using the noupdate and forcecreate flags
- How to do it...
- How it works...
- There's more...
- See also
- Loading data using CSV files
- How to do it...
- How it works...
- Add-on updates and data migration
- How to do it...
- How it works...
- There's more...
- See also
- Deleting records from XML files
- Getting ready
- How to do it...
- How it works...
- Invoking functions from XML files
- How to do it...
- How it works...
- There's more...
- Chapter 7: Debugging Modules
- The auto-reload and
- dev options
- Getting ready
- How to do it...
- How it works...
- Producing server logs to help debug methods
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using the Odoo shell to interactively call methods
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using the Python debugger to trace method execution
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Understanding the debug mode options
- How to do it...
- How it works...
- Chapter 8: Advanced Server-Side Development Techniques
- Technical requirements
- Changing the user that performs an action
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Calling a method with a modified context
- Getting ready
- How to do it...
- How it works…
- There's more...
- See also
- Executing raw SQL queries
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Writing a wizard to guide the user
- Getting ready
- How to do it...
- How it works...
- There's more...
- Redirecting the user
- See also
- Defining onchange methods
- Getting ready
- How to do it...
- How it works...
- There's more...
- Calling onchange methods on the server side
- Getting ready
- How to do it.
- How it works...
- See also
- Defining onchange with the compute method
- Getting ready
- How to do it...
- How it works...
- See also
- Defining a model based on a SQL view
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Adding custom Settings options
- Getting ready
- How to do it...
- How it works...
- There's more...
- Implementing init hooks
- Getting ready
- How to do it...
- How it works...
- Chapter 9: Backend Views
- Technical requirements
- Adding a menu item and window actions
- Getting ready
- How to do it...
- How it works...
- There's more…
- See also
- Having an action open a specific view
- How to do it...
- How it works...
- There's more...
- Adding content and widgets to a form view
- How to do it...
- How it works...
- There's more…
- See also
- Adding buttons to forms
- How to do it...
- How it works...
- There's more...
- Passing parameters to forms and actions - context
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Defining filters on record lists - domain
- How to do it...
- How it works...
- There's more...
- See also
- Defining list views
- How to do it...
- How it works...
- There's more...
- Defining search views
- How to do it...
- How it works...
- There's more...
- See also
- Adding a search filter side panel
- Getting ready
- How to do it...
- How it works...
- There's more...
- Changing existing views - view inheritance
- How to do it...
- How it works...
- There's more...
- Defining document-style forms
- How to do it...
- How it works...
- See also
- Dynamic form elements using attributes
- How to do it...
- How it works...
- There's more...
- Defining embedded views
- How to do it...
- How it works...
- There's more.
- Displaying attachments on the side of the form view.