bending the odoo learning curve - odoo experience 2015
TRANSCRIPT
![Page 1: Bending the odoo learning curve - Odoo Experience 2015](https://reader031.vdocuments.mx/reader031/viewer/2022031810/55c450afbb61eb215e8b462d/html5/thumbnails/1.jpg)
Odoo Development Essentials
Bending the Odoo Learning Curve
Odoo Experience 2015Alexandre Fayolle | Daniel Reis
![Page 2: Bending the odoo learning curve - Odoo Experience 2015](https://reader031.vdocuments.mx/reader031/viewer/2022031810/55c450afbb61eb215e8b462d/html5/thumbnails/2.jpg)
An Odoo learning curve?
![Page 3: Bending the odoo learning curve - Odoo Experience 2015](https://reader031.vdocuments.mx/reader031/viewer/2022031810/55c450afbb61eb215e8b462d/html5/thumbnails/3.jpg)
1/ Starting up
Use Linux to host Odoo Work from your favourite OS Know the tools
![Page 4: Bending the odoo learning curve - Odoo Experience 2015](https://reader031.vdocuments.mx/reader031/viewer/2022031810/55c450afbb61eb215e8b462d/html5/thumbnails/4.jpg)
Choose to use a Linux server Windows or Linux?
Linux is better for production (workers) Linux has better community support Linux has more cloud deployment options
I don't know Linux! Use an Ubuntu Server VM Lots of online resources Learning curve will pay off
![Page 5: Bending the odoo learning curve - Odoo Experience 2015](https://reader031.vdocuments.mx/reader031/viewer/2022031810/55c450afbb61eb215e8b462d/html5/thumbnails/5.jpg)
Develop remotely on your server
Work on your OS and IDE of choice Use SAMBA to share an access server files Pilot Odoo instances through SSH shell Debug server side using pdb (pudb, ipdb)
![Page 6: Bending the odoo learning curve - Odoo Experience 2015](https://reader031.vdocuments.mx/reader031/viewer/2022031810/55c450afbb61eb215e8b462d/html5/thumbnails/6.jpg)
Get to know your tools
Explore Python using it's shell Get familiar with tuples, lists and dicts Try and learn Git and the fork workflow Code editor w/ integrated style/lint checking Official docs: https://odoo.com/documentation
![Page 7: Bending the odoo learning curve - Odoo Experience 2015](https://reader031.vdocuments.mx/reader031/viewer/2022031810/55c450afbb61eb215e8b462d/html5/thumbnails/7.jpg)
2/ Developing Apps
What the docs won't tell you Basics about dev workflow
![Page 8: Bending the odoo learning curve - Odoo Experience 2015](https://reader031.vdocuments.mx/reader031/viewer/2022031810/55c450afbb61eb215e8b462d/html5/thumbnails/8.jpg)
What the docs don't tell you
Expect major version to be incompatible Master branch is “API unstable” Modules are just Python + Data records!
![Page 9: Bending the odoo learning curve - Odoo Experience 2015](https://reader031.vdocuments.mx/reader031/viewer/2022031810/55c450afbb61eb215e8b462d/html5/thumbnails/9.jpg)
Basics about dev workflow
“Technical Features” and “Developer Mode” Can't see your module? Check addons path
Module upgrade: reloads data and db struct. Server restart: reloads Python code Or do both: ./odoo.py -d db -u module
![Page 10: Bending the odoo learning curve - Odoo Experience 2015](https://reader031.vdocuments.mx/reader031/viewer/2022031810/55c450afbb61eb215e8b462d/html5/thumbnails/10.jpg)
3/ ExpandingHorizons
Experiment with the API Explore Odoo code Contribute to OCA
![Page 11: Bending the odoo learning curve - Odoo Experience 2015](https://reader031.vdocuments.mx/reader031/viewer/2022031810/55c450afbb61eb215e8b462d/html5/thumbnails/11.jpg)
Deepening your knowledge
Experiment with the Odoo server API Odoo shell command Erppeek client
Explore the Odoo code Use grep to find usage examples $ grep -rni --include=”*.py” ”text” ./odoo/addons
Contribute to the OCA Code reviews can provide good mentoring
![Page 12: Bending the odoo learning curve - Odoo Experience 2015](https://reader031.vdocuments.mx/reader031/viewer/2022031810/55c450afbb61eb215e8b462d/html5/thumbnails/12.jpg)
The Odoo Development Essentials book
1/ A step-by-step introduction
2/ Deeper dive into each development topic
Visit https://essentials.odoo.com
Free sample chapter
25% discount code: ODEPE25
![Page 13: Bending the odoo learning curve - Odoo Experience 2015](https://reader031.vdocuments.mx/reader031/viewer/2022031810/55c450afbb61eb215e8b462d/html5/thumbnails/13.jpg)
Thank you for attending!
Alexandre Fayolle
twitter @gurneyalex
email alexandre.fayolle AT camptocamp.com
Daniel Reis
twitter @reis_pt
email dgreis AT sapo.pt