Рет қаралды 47,734
Create a simple Odoo REST API in only 15 minutes! Create an Odoo Application with HTTP Controller. Integrate Odoo with any system.
---------------------------------------------------------------------------------------------
🌍 START YOUR OWN TURN-KEY BUSINESS WITH ODOO!
📝 Complete Odoo Business Success Kit Included!
📝 Includes One-on-One Odoo & Business Success Coaching
👍 Visit SiteProposals.com to learn more!
---------------------------------------------------------------------------------------------
See my new Odoo Mobile Toolkit!
• Build Native Odoo Mobi...
[ SUBSCRIBE & COMMENT ]🌍 / odooclassvideos
🌍 Get the VERY BEST Odoo Developer Coaching & Training
✅ odooinnercircl...
👍 Learn to become an expert Odoo Developer in Record Time
📝 DISCOUNT! Mastering Odoo Development ✅ tinyurl.com/57...
Odoo Development Videos
👍 Custom Odoo Reports: ✅ • Custom Odoo Reports Tu...
👍 Dynamic Web Controllers: ✅ • Dynamic Web Controller...
👍 Basic Odoo Inheritance: ✅ • Basic Odoo Inheritance...
👍 Using SQL Statements in Odoo: ✅ • Using SQL Statements i...
👍 Create an Odoo Web Controller in 10 Minutes ✅ • Odoo Web Controller | ...
👍 THE BEST Odoo 14 Installation Guide ✅ • Odoo 14 Installation G...
👍 Build Custom Odoo Apps in Developer Mode ✅ • Create a Custom Odoo A...
Learn about Odoo Developer Bootcamp ✅ tinyurl.com/57...
📝 Transform your business with best-in-class Odoo integration and Developer Workshops. Expert Odoo Consultation and access to the very best Odoo Developers in the business.
To get the very best Odoo Developer Courses visit:
www.OdooClass.com
Often when creating mobile applications or systems that will interact with Odoo you will wish to use a REST API. This method gives you great flexibility. In this video we look at one of the most simple implementations, an HTTP GET request using an Odoo controller.
In addition, we learn that Odoo will automatically make sure to protect our models from unauthorized access.
As a bit of a bonus, we see how we can use a try/except block in Python to trap conditions in which we can't retrieve data through the API.
This video has several important concepts that will help you in building Odoo applications.
1. Using the scaffold command to create an Odoo application
2. Modifying the built-in templates and testing your application
3. Using simple HTML commands to format the output
4. Accessing models and records within Odoo
5. Basic FOR loop to go through the record collection
6. Using Try/Except blocks to trap errors
Creating a simple HTTP controller for Odoo isn't difficult. Note that this video demonstrates how to do an HTTP controller. There is a bit different syntax if you wish to use JSON or another method for passing & retrieving data from the controller.