← Back to team overview

openerp-community team mailing list archive

Re: Transition to GitHub

 

On 05/22/2014 11:01 PM, Graeme Gellatly wrote:
Just a question about transition to github and the single branch. Should we
consider renaming addons b4 v8 release?, seems a funny name now given we talk
of apps and modules and they are core to using the software not really an add on.

The difference between a module and an "App" is defined by the "application" flag in the manifest. An App is basically a special higher-level "business" module that encompasses several components (packaged in related modules).

There is no difference between a "module" and an "add-on" or "addon" however, the terms can be used interchangeably in our context. Renaming `addons` to `modules` seems superfluous, it's short and the Python namespace seems clean. The addons are just as optional as before, the framework is still a framework and usable without them. It's just easier to have everything in the same repository, with matching revisions of all files, and only one repo to sync.

On a related note, to solve the problem with the dual path for addons (currently in openerp/addons and addons), we'll move the addons/* inside openerp/addons before renaming it to odoo[1]. So this will match the namespace even better than before.

Layout:
  odoo/
  odoo/addons
  odoo/addons/account

Python Namespace:
  from odoo.addons import account


[1] "Code Namespace" step of https://github.com/odoo/odoo/wiki/GitHub-Transition


References