Understanding the new Odoo API - Converting your code

It is very important that serious Odoo developers understand both the older and newer Odoo API

This developer video builds on the previous video, Using Odoo Functional and Related Fields for Reporting Freight and converts that code into an Odoo 8/9 API. We go step-by-step converting each line of code from the older API that was used in Odoo 7 and through 90% of the code underlying Odoo 8 and replace it with the new API syntax. This is an important video for those who wish to develop applications in Odoo 9 and beyond.

UNDERSTAND THE IMPORTANT DIFFERENCES IN THE NEW ODOO API

Beginning in Odoo 8, there have been many changes to the Odoo API. Now with the release of Odoo 9, even more of the Odoo framework uses the newest API. At the same time, many community modules still rely on the old version 7 API. In this video we see how both the old API and new API work great right alongside each other. More importantly, we also see how to take the older Odoo API and convert it over to the new API that will be used in Odoo 9 and beyond. If you are serious about Odoo development and what has changed between the old API and new API, this is the video for you.

THE NEW ODOO API MAKES BETTER USE OF FUNCTIONAL FIELDS

In this video we look specifically at how the old API handled functional fields vs the Odoo API which handles functional fields in a more elegant manner. Using the case study that we worked with in Using Odoo functional and related fields for reporting freight we take and re-factor the entire function and field definition to use the new API. Along the way we see how we can reduce the method by several lines of code and make the entire process more efficient.

WHY WOULD I CARE AT ALL ABOUT THE DIFFERENT ODOO APIs?

If you are a serious Odoo developer it is very important that you understand both the older and newer Odoo API. Even though the new API has a lot of great new features it is also important that an Odoo developer understand how the old API as many people will still rely on it as it backwards compatible. If you are in Odoo 8, much of the code is still using the older API. Many community modules also use the older API. This video helps you see exactly the differences between the old and new API so you can best determine how to integrate community modules and build your new code to take advantage of the new features of the new Odoo API.


Your Instructor


Greg Moss
Greg Moss

Greg Moss started working with personal computers at 12 years old. At age 15, he wrote his first paid business application, a loan management application for First American Acceptance Corporation. A few months later Greg developed a statistical application to process surveys for John A Logan College. Now more than 30 years later, Greg has produced hundreds of commercial applications and training courses, and has been involved in numerous enterprise application projects.


In addition to completing degrees in Business Administration and Information Systems Design, Greg is a Certified Information Systems Auditor, a Six Sigma Black Belt, and holds an Information Assurance Certification from Carnegie Mellon University. In addition to his successful consulting practice, Greg has worked in positions as a Chief Information Officer (CIO), Chief Executive Officer (CEO), and excels in delivering technology-enabled growth to companies. He is an experienced digital marketer and focuses on real-world results and solutions.

Greg is the founder of First Class Ventures, LLC and OdooClass.com. Over the past 8 years Greg has produced over 200 video courses covering business application development and game design.

Greg is the author of Working with Odoo, Working with Odoo 10, Working with Odoo 11, Working with Odoo 12, and Learn Odoo.


Course Curriculum


  First Section
Available in days
days after you enroll

Frequently Asked Questions


When does the course start and finish?
The course starts now and never ends! It is a completely self-paced online course - you decide when you start and when you finish.
How long do I have access to the course?
How does lifetime access sound? After enrolling, you have unlimited access to this course for as long as you like - across any and all devices you own.
What if I am unhappy with the course?
We would never want you to be unhappy! If you are unsatisfied with your purchase, contact us in the first 30 days and we will give you a full refund.

Get started now!