Installing add-on modules from GitHub
GitHub is a great source of third-party add-ons. A lot of Odoo partners use GitHub to share the add-ons they maintain internally, and the Odoo Community Association (OCA) collectively maintains several hundred add-ons on GitHub. Before you start writing your own add-on, ensure you check that nothing already exists that you can use as is or as a starting point.
This recipe will show you how to clone the partner-contact
project of the OCA from GitHub and make the add-on modules it contains available in your instance.
Getting ready
Suppose you want to add new fields to the customer (partner) form. By default, the Odoo customer model doesn’t have a gender
field. If you want to add a gender
field, you need to create a new module. Fortunately, someone on a mailing list tells you about the partner_contact_gender
add-on module, which is maintained by the OCA as part of the partner-contact
project.
The paths that are used in this recipe...