Post on 07-Aug-2015
transcript
Odoo Development Essentials
Bending the Odoo Learning Curve
Odoo Experience 2015Alexandre Fayolle | Daniel Reis
An Odoo learning curve?
1/ Starting up
Use Linux to host Odoo Work from your favourite OS Know the tools
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
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)
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
2/ Developing Apps
What the docs won't tell you Basics about dev workflow
What the docs don't tell you
Expect major version to be incompatible Master branch is “API unstable” Modules are just Python + Data records!
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
3/ ExpandingHorizons
Experiment with the API Explore Odoo code Contribute to OCA
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
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
Thank you for attending!
Alexandre Fayolle
twitter @gurneyalex
email alexandre.fayolle AT camptocamp.com
Daniel Reis
twitter @reis_pt
email dgreis AT sapo.pt