SlideShare a Scribd company logo
www.cybrosys.com
Changes Made on Technical Side of
Odoo in Version 7 to Version 10
INTRODUCTION
• This presentation will be helpful for the developers of Odoo
• You all know that odoo version 7 was called openERP
• Now it has changed to odoo
• There are lot of difference between version 7 to version 10
• All developers might have faced many issues at the beginning of their development
career, that no proper documents are maintained for the changes created in the latest
versions according to the previous versions.
• Odoo Release In February 2005.
• At That Time It Is Called Tiny ERP.
• Tiny ERP Has 4 Releases. Version 1, 2, 3 And 4.
• In April 2009 Odoo Releases Their 5’Th Version.
• At That Time It Changed its name to OpenERP.
• OpenERP Has 4 Versions. Version 5, 6, 6.1, And 7.
• After That OpenERP Changes To Odoo.
• The Version 8 Is Released On September 18, 2014.
• Odoo Latest Series Have 4 Versions-Version 8, 9, 10, And 11.
• Version 11 Is Coming Soon.
• In short, Versions Of Odoo 7 And Odoo 10 have so many differences in the technical
side.
MAIN DIFFERENCES
1) API (Application Programming Interface)
In Version 7 We Use A Different API Than We Use In Versions 8, 9, 10.
Example For Decorators Of New API:
@Api.Returns, @Api.Multi, @Api.One, @Api.Model, @Api.Constrains, @Api.Depends,
@Api.Onchange, @Api.Noguess
New API Is Used In V8, V9 And V10. V7 Does Not Use New API.
In V7(Old Api) We Have To Pass Parameters With The Function Like Database Cursor(Cr),
User Id(Uid), Context Dictionary(Context), And Record Ids(Ids).
• V8 And V9 use both old API and new API.
• In V8, V9 And V10(New API) Odoo introduce more object oriented feel to the
functions.
• We don’t need to put the parameters along with the function.
• Those parameters are hidden in the model.
• V10 uses only new API.
2) Pool
• The pool is dictionary object that stores the instances of OpenERP model.
• OpenERP can manage multiple databases.
• Every database has a different pool.
• Self.Pool is referencing the current database instances.
• Pool.Get() method is removed in odoo’s newest version.
• Version 7, 8 And 9 contain the pool object partially.
Odoo 10 Completely Removes The Pool Object.
3) Manifest File Name
V7 - __openerep__.Py
V8 - __openerep__.Py
V9 - __openerep__.Py
V10 - __manifest__.Py
4) Xml Tags
V7 - <Openerp>
V8 - <Openerp>
V9 - <Openerp>
V10 - <Odoo>
5) Xpath
V7 - <Xpath Expr="//Field[@Name='Amount']" And [@String='Amount']
V8 - <Xpath Expr="//Field[@Name='Amount']" And [@String='Amount']
V9 - <Xpath Expr="//Field[@Name='Amount']"
V10 - <Xpath Expr="//Field[@Name='Amount']"
Referencing The Xpath Expression With The String Is Removed From V9.
6) Env
V7 Does Not Use The Env Notion.
It Is The Notion Of New API.
Self.Env['Model.Name'] Is Used In New Api’s Instead
Of Self.Pool.Get('Model.Name').
7) Field Declaration
V7 - _columns = {
'Product_id': Fields.Many2one('Product.Product', 'Product'),
}
V7 Only Uses The Old Api
V8 - _columns = {
'Product_id': Fields.Many2one('Product.Product', 'Product'),
}
And
Product_id = Fields.Many2one('Product.Product', 'Product')
V8 Uses Both Old Api And New Api. That Is Why It Can Use Both Field Declaration Methods.
V9 - _columns = {
'Product_id': Fields.Many2one('Product.Product', 'Product'),
}
And
Product_id = Fields.Many2one('Product.Product', 'Product')
V9 Also Uses Both Old Api And New Api. So It Also Uses Both Field Declaration Methods.
V10 - Product_id = Fields.Many2one('Product.Product', 'Product')
V10 Uses Only The New Api.
8) Set Default Values To Fields.
V7 - _defaults = {
'Date': Lambda * A: Datetime.Datetime.Now()
}
V8 - _defaults = {
'Date': Lambda * A: Datetime.Datetime.Now()
}
And
Date = Fields.Date(String='Date', Default=Datetime.Now())
V9 - _defaults = {
'Date': Lambda * A: Datetime.Datetime.Now()
}
And
Date = Fields.Date(String='Date', Default=Datetime.Now())
V10 - Date = Fields.Date(String='Date', Default=Datetime.Now())
9) Java Script Changes
V7 - Function Openerp_pos_models(Instance, Module){
Var _t = Instance.Web._t;
}
V8 - Function Openerp_pos_models(Instance, Module){
Var _t = Instance.Web._t;
}
V9 - Odoo.Define('Barcode_integration.Interface', Function(Require) {
‘Use Strict’;
Var Core = Require(‘Web.Core’);
Var _t = Core._t;
});
V10 - Odoo.Define('Barcode_integration.Interface', Function(Require) {
‘Use Strict’;
Var Core = Require(‘Web.Core’);
Var _t = Core._t;
});
• in the v7 and v8, we use raw js/jquery .
• But in V9 and V10 we use backbone js.
• These are some basic changes made in the versions between 7 and 10.
• There are lot of changes from version 7 to version 10.
Refer this link for more:
https://www.cybrosys.com/blog/odoo-technical-differences
Thank You !
Cybrosys Technologies Pvt. Ltd.
Neospace, Kinfra Techno Park,
Kakkancherry,
Calicut University P.O.
Calicut
Kerala, India - 673635.
Cybrosys Ltd
15, ST Antonys Road,
Forest Gate, London
England,
E79QA.
Cybrosys Technologies Pvt. Ltd.
1st Floor, Thapasya Building,
Infopark, Kakkanad,
Kochi, Kerala,
India-682030.

More Related Content

PPTX
Odoo 12 features
PPTX
Dolibarr - what's new in 10.0 - devcamp lyon 2019
PPT
Open ERP Version 7 Functional & Technical Overview
PDF
Odoo-9-New-Features.pdf
PPTX
Dolibarr - What's new in 12.0 - Webinare 2020
PDF
Odoo 19 Features and Updates You Must Know in 2025.pdf
PDF
What’s New in Odoo 17 – A Complete Roadmap
PPTX
Odoo technical features
Odoo 12 features
Dolibarr - what's new in 10.0 - devcamp lyon 2019
Open ERP Version 7 Functional & Technical Overview
Odoo-9-New-Features.pdf
Dolibarr - What's new in 12.0 - Webinare 2020
Odoo 19 Features and Updates You Must Know in 2025.pdf
What’s New in Odoo 17 – A Complete Roadmap
Odoo technical features

Similar to Changes made on technical side of odoo in version 7 to version 10 (20)

ODP
Dolibarr - What's new in 9.0 - devcamp valence 2018
PPTX
Odoo v13 roadmap
PPTX
Expected Features of Odoo 17 | Odoo 17 Roadmap
PPTX
OptiProERP New Features for 2024 R1.pptx
PPTX
Dolibarr - What's new in 18.0 - DevCamp Bordeaux 2023.pptx
PDF
Odoo 17 New Expected Features - Entrivis Tech.pdf
PDF
Latest Features of Odoo 18- Surekha Tech
PDF
Openobject developer
PDF
Open erp openobject-developer
PDF
Openobject developer1
PDF
Openobject developer (2)
PDF
Jornadas Odoo 2015 - Charla con Odoo S. A.
PDF
Dolibarr - what's new in 11.0 - devcamp Pau 2019
PDF
All You Need to Know About Odoo V11
PDF
Trobz You? - Trobz Profile [dedicated for manufacturing projects]
PPTX
Dolibarr - What's new in 19.0 - DevCamp Lyon 2023
PPTX
Dolibarr - What's new in 20.0 - DevCamp Montpellier 2024.pptx
PDF
Odoo Functional Training
PPTX
Dolibarr - What's new in 13.0 - Webinare 2020
Dolibarr - What's new in 9.0 - devcamp valence 2018
Odoo v13 roadmap
Expected Features of Odoo 17 | Odoo 17 Roadmap
OptiProERP New Features for 2024 R1.pptx
Dolibarr - What's new in 18.0 - DevCamp Bordeaux 2023.pptx
Odoo 17 New Expected Features - Entrivis Tech.pdf
Latest Features of Odoo 18- Surekha Tech
Openobject developer
Open erp openobject-developer
Openobject developer1
Openobject developer (2)
Jornadas Odoo 2015 - Charla con Odoo S. A.
Dolibarr - what's new in 11.0 - devcamp Pau 2019
All You Need to Know About Odoo V11
Trobz You? - Trobz Profile [dedicated for manufacturing projects]
Dolibarr - What's new in 19.0 - DevCamp Lyon 2023
Dolibarr - What's new in 20.0 - DevCamp Montpellier 2024.pptx
Odoo Functional Training
Dolibarr - What's new in 13.0 - Webinare 2020
Ad

More from Celine George (20)

PPTX
How to Implement OWL Notification Service in Odoo 18
PPTX
Tracking Profit Margins in Sales Orders with Odoo 18
PPTX
How to Configure Outgoing Shipment in 3 Steps Using Odoo 18
PPTX
How to Configure Outgoing Shipment in 1 Step Using Odoo 18.pptx
PPTX
How to Configure Outgoing Shipment in 2 Steps Using Odoo 18
PPTX
How to Add New Applicants in Odoo 18 Recruitment
PPTX
How to Analyze the Recruitment Process in Odoo 18 Recruitment
PPTX
How to Manage Referral Reporting in Odoo 18 Referrals
PPTX
How to Set, Track, & Review Employee Goals in Odoo 18 Appraisals
PPTX
Revamp in MTO Odoo 18 Inventory - Odoo Slides
PPTX
How to Manage Starshipit in Odoo 18 - Odoo Slides
PPTX
How to Manage Bill Control Policy in Odoo 18
PPTX
How to Manage Loyalty Points in Odoo 18 Sales
PPTX
Odoo 18 Sales_ Managing Quotation Validity
PPTX
How to Manage Global Discount in Odoo 18 POS
PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
PPTX
Tips Management in Odoo 18 POS - Odoo Slides
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
How to Implement OWL Notification Service in Odoo 18
Tracking Profit Margins in Sales Orders with Odoo 18
How to Configure Outgoing Shipment in 3 Steps Using Odoo 18
How to Configure Outgoing Shipment in 1 Step Using Odoo 18.pptx
How to Configure Outgoing Shipment in 2 Steps Using Odoo 18
How to Add New Applicants in Odoo 18 Recruitment
How to Analyze the Recruitment Process in Odoo 18 Recruitment
How to Manage Referral Reporting in Odoo 18 Referrals
How to Set, Track, & Review Employee Goals in Odoo 18 Appraisals
Revamp in MTO Odoo 18 Inventory - Odoo Slides
How to Manage Starshipit in Odoo 18 - Odoo Slides
How to Manage Bill Control Policy in Odoo 18
How to Manage Loyalty Points in Odoo 18 Sales
Odoo 18 Sales_ Managing Quotation Validity
How to Manage Global Discount in Odoo 18 POS
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Tips Management in Odoo 18 POS - Odoo Slides
How to Close Subscription in Odoo 18 - Odoo Slides
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
How to Track Skills & Contracts Using Odoo 18 Employee
Ad

Recently uploaded (20)

PDF
DOC-20250806-WA0002._20250806_112011_0000.pdf
PPTX
ICG2025_ICG 6th steering committee 30-8-24.pptx
PDF
BsN 7th Sem Course GridNNNNNNNN CCN.pdf
PPTX
HR Introduction Slide (1).pptx on hr intro
PDF
Katrina Stoneking: Shaking Up the Alcohol Beverage Industry
PPTX
CkgxkgxydkydyldylydlydyldlyddolydyoyyU2.pptx
PPT
Data mining for business intelligence ch04 sharda
DOCX
Business Management - unit 1 and 2
PDF
Chapter 5_Foreign Exchange Market in .pdf
PDF
Stem Cell Market Report | Trends, Growth & Forecast 2025-2034
PDF
Ôn tập tiếng anh trong kinh doanh nâng cao
PPTX
Lecture (1)-Introduction.pptx business communication
PDF
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
PPTX
Principles of Marketing, Industrial, Consumers,
PDF
Unit 1 Cost Accounting - Cost sheet
PPTX
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
DOCX
unit 1 COST ACCOUNTING AND COST SHEET
PDF
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
PDF
Tata consultancy services case study shri Sharda college, basrur
PDF
Digital Marketing & E-commerce Certificate Glossary.pdf.................
DOC-20250806-WA0002._20250806_112011_0000.pdf
ICG2025_ICG 6th steering committee 30-8-24.pptx
BsN 7th Sem Course GridNNNNNNNN CCN.pdf
HR Introduction Slide (1).pptx on hr intro
Katrina Stoneking: Shaking Up the Alcohol Beverage Industry
CkgxkgxydkydyldylydlydyldlyddolydyoyyU2.pptx
Data mining for business intelligence ch04 sharda
Business Management - unit 1 and 2
Chapter 5_Foreign Exchange Market in .pdf
Stem Cell Market Report | Trends, Growth & Forecast 2025-2034
Ôn tập tiếng anh trong kinh doanh nâng cao
Lecture (1)-Introduction.pptx business communication
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
Principles of Marketing, Industrial, Consumers,
Unit 1 Cost Accounting - Cost sheet
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
unit 1 COST ACCOUNTING AND COST SHEET
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
Tata consultancy services case study shri Sharda college, basrur
Digital Marketing & E-commerce Certificate Glossary.pdf.................

Changes made on technical side of odoo in version 7 to version 10

  • 1. www.cybrosys.com Changes Made on Technical Side of Odoo in Version 7 to Version 10
  • 2. INTRODUCTION • This presentation will be helpful for the developers of Odoo • You all know that odoo version 7 was called openERP • Now it has changed to odoo • There are lot of difference between version 7 to version 10 • All developers might have faced many issues at the beginning of their development career, that no proper documents are maintained for the changes created in the latest versions according to the previous versions.
  • 3. • Odoo Release In February 2005. • At That Time It Is Called Tiny ERP. • Tiny ERP Has 4 Releases. Version 1, 2, 3 And 4. • In April 2009 Odoo Releases Their 5’Th Version. • At That Time It Changed its name to OpenERP.
  • 4. • OpenERP Has 4 Versions. Version 5, 6, 6.1, And 7. • After That OpenERP Changes To Odoo. • The Version 8 Is Released On September 18, 2014. • Odoo Latest Series Have 4 Versions-Version 8, 9, 10, And 11. • Version 11 Is Coming Soon. • In short, Versions Of Odoo 7 And Odoo 10 have so many differences in the technical side.
  • 6. 1) API (Application Programming Interface) In Version 7 We Use A Different API Than We Use In Versions 8, 9, 10. Example For Decorators Of New API: @Api.Returns, @Api.Multi, @Api.One, @Api.Model, @Api.Constrains, @Api.Depends, @Api.Onchange, @Api.Noguess New API Is Used In V8, V9 And V10. V7 Does Not Use New API. In V7(Old Api) We Have To Pass Parameters With The Function Like Database Cursor(Cr), User Id(Uid), Context Dictionary(Context), And Record Ids(Ids).
  • 7. • V8 And V9 use both old API and new API. • In V8, V9 And V10(New API) Odoo introduce more object oriented feel to the functions. • We don’t need to put the parameters along with the function. • Those parameters are hidden in the model. • V10 uses only new API.
  • 8. 2) Pool • The pool is dictionary object that stores the instances of OpenERP model. • OpenERP can manage multiple databases. • Every database has a different pool. • Self.Pool is referencing the current database instances. • Pool.Get() method is removed in odoo’s newest version. • Version 7, 8 And 9 contain the pool object partially. Odoo 10 Completely Removes The Pool Object.
  • 9. 3) Manifest File Name V7 - __openerep__.Py V8 - __openerep__.Py V9 - __openerep__.Py V10 - __manifest__.Py
  • 10. 4) Xml Tags V7 - <Openerp> V8 - <Openerp> V9 - <Openerp> V10 - <Odoo>
  • 11. 5) Xpath V7 - <Xpath Expr="//Field[@Name='Amount']" And [@String='Amount'] V8 - <Xpath Expr="//Field[@Name='Amount']" And [@String='Amount'] V9 - <Xpath Expr="//Field[@Name='Amount']" V10 - <Xpath Expr="//Field[@Name='Amount']" Referencing The Xpath Expression With The String Is Removed From V9.
  • 12. 6) Env V7 Does Not Use The Env Notion. It Is The Notion Of New API. Self.Env['Model.Name'] Is Used In New Api’s Instead Of Self.Pool.Get('Model.Name').
  • 13. 7) Field Declaration V7 - _columns = { 'Product_id': Fields.Many2one('Product.Product', 'Product'), } V7 Only Uses The Old Api V8 - _columns = { 'Product_id': Fields.Many2one('Product.Product', 'Product'), } And Product_id = Fields.Many2one('Product.Product', 'Product') V8 Uses Both Old Api And New Api. That Is Why It Can Use Both Field Declaration Methods.
  • 14. V9 - _columns = { 'Product_id': Fields.Many2one('Product.Product', 'Product'), } And Product_id = Fields.Many2one('Product.Product', 'Product') V9 Also Uses Both Old Api And New Api. So It Also Uses Both Field Declaration Methods. V10 - Product_id = Fields.Many2one('Product.Product', 'Product') V10 Uses Only The New Api.
  • 15. 8) Set Default Values To Fields. V7 - _defaults = { 'Date': Lambda * A: Datetime.Datetime.Now() } V8 - _defaults = { 'Date': Lambda * A: Datetime.Datetime.Now() } And
  • 16. Date = Fields.Date(String='Date', Default=Datetime.Now()) V9 - _defaults = { 'Date': Lambda * A: Datetime.Datetime.Now() } And Date = Fields.Date(String='Date', Default=Datetime.Now()) V10 - Date = Fields.Date(String='Date', Default=Datetime.Now())
  • 17. 9) Java Script Changes V7 - Function Openerp_pos_models(Instance, Module){ Var _t = Instance.Web._t; } V8 - Function Openerp_pos_models(Instance, Module){ Var _t = Instance.Web._t; }
  • 18. V9 - Odoo.Define('Barcode_integration.Interface', Function(Require) { ‘Use Strict’; Var Core = Require(‘Web.Core’); Var _t = Core._t; }); V10 - Odoo.Define('Barcode_integration.Interface', Function(Require) { ‘Use Strict’; Var Core = Require(‘Web.Core’); Var _t = Core._t; });
  • 19. • in the v7 and v8, we use raw js/jquery . • But in V9 and V10 we use backbone js. • These are some basic changes made in the versions between 7 and 10. • There are lot of changes from version 7 to version 10.
  • 20. Refer this link for more: https://www.cybrosys.com/blog/odoo-technical-differences
  • 21. Thank You ! Cybrosys Technologies Pvt. Ltd. Neospace, Kinfra Techno Park, Kakkancherry, Calicut University P.O. Calicut Kerala, India - 673635. Cybrosys Ltd 15, ST Antonys Road, Forest Gate, London England, E79QA. Cybrosys Technologies Pvt. Ltd. 1st Floor, Thapasya Building, Infopark, Kakkanad, Kochi, Kerala, India-682030.