Hello,
I started odoo addons development (and python) 6 months ago.
What are best practices regarding code re use ?
Here is my scenario :
I need to write an helper class for calling external APIs
I need to instanciate this class in several addons, and/or in several models inside the same addon.
What would be your recommendation ?
Writing a python library, and install it on the server ?
Make the helper classes part of a 'technical' addon, and make other addons depend on this 'technical' addon ?
other ?
Thanks for any advice.
- Chris.
By inheriting model and views: https://goo.gl/fGNfBY