Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Odoo 14 Development Cookbook

You're reading from   Odoo 14 Development Cookbook Rapidly build, customize, and manage secure and efficient business apps using Odoo's latest features

Arrow left icon
Product type Paperback
Published in Dec 2020
Publisher Packt
ISBN-13 9781800200319
Length 784 pages
Edition 4th Edition
Languages
Tools
Arrow right icon
Authors (4):
Arrow left icon
Parth Gajjar Parth Gajjar
Author Profile Icon Parth Gajjar
Parth Gajjar
Alexandre Fayolle Alexandre Fayolle
Author Profile Icon Alexandre Fayolle
Alexandre Fayolle
Holger Brunn Holger Brunn
Author Profile Icon Holger Brunn
Holger Brunn
Daniel Reis Daniel Reis
Author Profile Icon Daniel Reis
Daniel Reis
Arrow right icon
View More author details
Toc

Table of Contents (26) Chapters Close

Preface 1. Chapter 1: Installing the Odoo Development Environment 2. Chapter 2: Managing Odoo Server Instances FREE CHAPTER 3. Chapter 3: Creating Odoo Add-On Modules 4. Chapter 4: Application Models 5. Chapter 5: Basic Server-Side Development 6. Chapter 6: Managing Module Data 7. Chapter 7: Debugging Modules 8. Chapter 8: Advanced Server-Side Development Techniques 9. Chapter 9: Backend Views 10. Chapter 10: Security Access 11. Chapter 11: Internationalization 12. Chapter 12: Automation, Workflows, Emails, and Printing 13. Chapter 13: Web Server Development 14. Chapter 14: CMS Website Development 15. Chapter 15: Web Client Development 16. Chapter 16: The Odoo Web Library (OWL) 17. Chapter 17: In-App Purchasing with Odoo 18. Chapter 18: Automated Test Cases 19. Chapter 19: Managing, Deploying, and Testing with Odoo.sh 20. Chapter 20: Remote Procedure Calls in Odoo 21. Chapter 21: Performance Optimization 22. Chapter 22: Point of Sale 23. Chapter 23: Managing Emails in Odoo 24. Chapter 24: Managing the IoT Box 25. Other Books You May Enjoy

What this book covers

Chapter 1, Installing the Odoo Development Environment, explains how to create a development environment for Odoo, start Odoo, create a configuration file, and activate Odoo's developer tools.

Chapter 2, Managing Odoo Server Instances, provides useful tips for working with add-ons installed from GitHub and organizing the source code of your instance.

Chapter 3, Creating Odoo Add-On Modules, explains the structure of an Odoo add-on module and gives a step-by-step guide for creating a simple module from scratch.

Chapter 4, Application Models, focuses on the Odoo model structure, and explains all types of fields with their attributes. It also covers techniques to extend existing database structures via extended modules.

Chapter 5, Basic Server-Side Development, explains various framework methods to perform CRUD operations in Odoo. This chapter also includes different ways to inherit and extend existing methods.

Chapter 6, Managing Module Data, shows how to ship data along with the code of your module. It also explains how to write a migration script when a data model provided by an add-on is modified in a new release.

Chapter 7, Debugging Modules, proposes some strategies for server-side debugging and an introduction to the Python debugger. It also covers techniques to run Odoo in developer mode.

Chapter 8, Advanced Server-Side Development Techniques, covers more advanced topics of the ORM framework. It is useful for developing wizards, SQL views, installation hooks, on-change methods, and more. This chapter also explains how to execute raw SQL queries in the database.

Chapter 9, Backend Views, explains how to write business views for your data models and how to call server-side methods from these views. It covers the usual views (list view, form view, and search view), as well as some complex views (kanban, graph, calendar, pivot, and so on).

Chapter 10, Security Access, explains how to control who has access to what in your Odoo instance by creating security groups, writing access control lists to define what operations are available to each group on a given model, and, if necessary, by writing record-level rules.

Chapter 11, Internationalization, shows how language translation works in Odoo. It shows how to install multiple languages and how to import/export translated terms.

Chapter 12, Automation, Workflows, Emails, and Printing, illustrates the different tools available in Odoo to implement business processes for your records. It also shows how server actions and automated rules can be used to support business rules. This also covers the QWeb report to generate dynamic PDF documents.

Chapter 13, Web Server Development, covers the core of the Odoo web server. It shows how to create custom URL routes to serve data on a given URL, and also shows how to control access to these URLs.

Chapter 14, CMS Website Development, shows how to manage a website with Odoo. It also shows how to create and modify beautiful web pages and QWeb templates. This chapter also includes how to create dynamic building blocks with options. It includes some dedicated recipes for managing SEO, user forms, UTM tracking, sitemaps, and fetching visitor location information. This chapter also highlights the latest concept of a multi-website in Odoo.

Chapter 15, Web Client Development, dives into the JavaScript part of Odoo. It covers how to create a new field widget and make RPC calls to the server. This also includes how to create a brand-new view from scratch. You will also learn how to create onboarding tours.

Chapter 16, The Odoo Web Library (OWL), gives introductions to the new client-side framework called OWL. It covers the life cycle of the OWL component. It also covers recipes to create a field widget from scratch.

Chapter 17, In-App Purchasing with Odoo, covers everything related to the latest concept of IAP in Odoo. In this chapter, you will learn how to create client and service modules for IAP. You will also learn how to create an IAP account and draw IAP credits from the end user.

Chapter 18, Automated Test Cases, includes how to write and execute automated test cases. This includes both server-side and client-side test cases. This chapter also covers tour test cases and setting up headless Chrome to get videos for failed test cases.

Chapter 19, Managing, Deploying, and Testing with Odoo.sh, explains how to manage, deploy, and test Odoo instances with the PaaS platform, Odoo.sh. It covers how you can manage different types of instances, such as production, staging, and development. This chapter also covers various configuration options for Odoo.sh.

Chapter 20, Remote Procedure Calls in Odoo, covers different ways to connect Odoo instances from external applications. This chapter teaches you how to connect to and access the data from an Odoo instance through XML-RPC, JSON-RPC, and the odoorpc library.

Chapter 21, Performance Optimization, explains the different concepts and patterns used to gain performance improvements in Odoo. This chapter includes the concept of prefetching, ORM-cache, and profiling the code to detect performance issues.

Chapter 22, Point of Sale, covers customization in a PoS application. This includes customization of the user interface, adding a new action button, modifying business flow, and extending customer recipes.

Chapter 23, Managing Emails in Odoo, explains how to manage email and chatter in Odoo. It starts by configuring mail servers and then moves to the mailing API of the Odoo framework. This chapter also covers the Jinja2 and QWeb mail templates, chatters on the form view, field logs, and activities.

Chapter 24, Managing IoT Box, gives you the highlights of the latest hardware of IoT Box. This chapter covers how to configure, access, and debug IoT Box. It also includes a recipe to integrate IoT Box with your custom add-ons.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime