Book description
Extend your skills with Odoo 12 to build resourceful and open source business applications
Key Features
- Explore Odoo 12 capabilities to develop business applications
- Program business logic and manipulate data to implement specific business rules in your applications
- Integrate Python APIs for building customizable and scalable business logic
Book Description
Odoo is one of the best platforms for open source ERP and CRM. Its latest version, Odoo 12, brings with it new features and updates in Python packages to develop more customizable applications with additional cloud capabilities.
The book begins by covering the development essentials for building business applications. You will start your journey by learning how to install and configure Odoo, and then transition from having no specific knowledge of Odoo to being ready for application development. You will develop your first Odoo application and understand topics such as models and views. Odoo 12 Development Essentials will also guide you in using server APIs to add business logic, helping you lay a solid foundation for advanced topics. As you progress through the chapters, you will be equipped to build and customize your applications and explore the new features in Odoo 12, such as cloud integration, to scale your business applications. You will get insights into building business logic and integrating various APIs into your application.
By the end of the book, you will be able to build a business application from scratch by using the latest version of Odoo.
What you will learn
- Manage Odoo server instances
- Create a new Odoo application from scratch using the most frequently used elements
- Develop new models and use inheritance to extend existing models
- Use ORM methods in the Odoo server and from external clients
- Create Kanban views using QWeb effectively
- Build custom web and website CMS pages
- Use external APIs to integrate Odoo with external applications
- Add automated tests and techniques to debug module business logic
Who this book is for
If you are a developer familiar with Python and MVC design and want to build business applications using Odoo, this book is for you.
Publisher resources
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Foreword
- Contributors
- Preface
- Quick Start Using the Developer Mode
- Preparing the Development Environment
- Your First Odoo Application
- Extending Modules
-
Import, Export, and Module Data
- Technical requirements
- Understanding the external identifier concept
- Exporting and importing CSV data files
- Adding module data
- Using XML data files
- Summary
- Questions
- Further reading
- Models – Structuring the Application Data
- Recordsets – Working with Model Data
-
Business Logic – Supporting Business Processes
- Technical requirements
- Learning project – the library_checkout module
- Using stages for document-centered workflows
- The ORM method decorators
- Using the ORM built-in methods
- The message and activity features
- Creating a wizard
- Using log messages
- Raising exceptions
- Unit tests
- Development tools
- Summary
- Further reading
-
External API – Integrating with Other Systems
- Technical requirements
- Learning project – a client to catalogue books
- Setting up Python on the client machine
- Connecting to Odoo API using XML-RPC
- Running server methods using XML-RPC
- Search and read API methods
- The Library client XML-RPC interface
- The Library client user interface
- Using the OdooRPC library
- About the ERPpeek client
- Summary
- Further reading
- Backend Views – Designing the User Interface
-
Kanban Views and Client-Side QWeb
- Technical requirements
- About Kanban boards
- Designing Kanban views
-
The QWeb template language
- The QWeb JavaScript evaluation context
- Dynamic attributes by string substitution – t-attf
- Dynamic attributes by expressions – t-att
- Loops – t-foreach
- Conditionals – t-if
- Rendering values – t-esc and t-raw
- Set values on variables – t-set
- Call and reuse other templates – t-call
- Dynamic attributes using dictionaries and lists
- Inheritance on Kanban views
- Custom CSS and JavaScript assets
- Summary
- Further reading
- Reports and Server-Side QWeb
- Creating Website Frontend Features
- Deploying and Maintaining Production Instances
- Assessments
- Other Books You May Enjoy
Product information
- Title: Odoo 12 Development Essentials - Fourth Edition
- Author(s):
- Release date: December 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789532470
You might also like
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn’t clean, it can bring a development organization …
book
Learning Web Design, 5th Edition
Do you want to build web pages but have no prior experience? This friendly guide is …
book
Clean Architecture: A Craftsman's Guide to Software Structure and Design
Building upon the success of best-sellers The Clean Coder and Clean Code, legendary software craftsman Robert …
book
Effective Java, 3rd Edition
Since this Jolt-award winning classic was last updated in 2008, the Java programming environment has changed …