Merge lp:~camptocamp/anybox.recipe.openerp/fix-1358353-yvr into lp:anybox.recipe.openerp
Proposed by
Yannick Vaucher @ Camptocamp
Status: | Merged |
---|---|
Merged at revision: | 556 |
Proposed branch: | lp:~camptocamp/anybox.recipe.openerp/fix-1358353-yvr |
Merge into: | lp:anybox.recipe.openerp |
Diff against target: |
64 lines (+31/-4) 2 files modified
anybox/recipe/openerp/base.py (+13/-4) anybox/recipe/openerp/tests/test_base.py (+18/-0) |
To merge this branch: | bzr merge lp:~camptocamp/anybox.recipe.openerp/fix-1358353-yvr |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Georges Racinet | Approve | ||
Guewen Baconnier @ Camptocamp (community) | Approve | ||
Review via email: mp+231218@code.launchpad.net |
Description of the change
We want to keep ordering of addons path.
If official addons path is missing, we add just after path of base
addons.
Otherwise, we do nothing to keep official addons where they are.
We preserve the order, because it is important for addons with same
name.
Only first found addons of duplicate names is considered.
To post a comment you must log in.
Nice, can I propose a rewording? (could even be better though)
"""
The ordering of the different paths of addons is important, because when several addons in different paths have the same name, the first of them that is found is used. This can be used, for instance, to replace an official addon by another one by placing a different addons' path before the official one.
If the official addons' path is already set in the config file (e.g. at the end), it will leave it at the end of the paths list, if it is not set, it will be placed at the beginning.
"""