doodba
doodba copied to clipboard
Odoo 16: links in addons path won't work
Discussed in https://github.com/Tecnativa/doodba/discussions/467
Originally posted by yelizariev January 3, 2022 Links to the modules won't work because of recent changes. See https://github.com/odoo/odoo/pull/82081
Maybe we can simplify a bit to solve this issue:
- For development, instead of reading the addons from
odoo/auto
, we could read fromodoo/custom/src
(making the necessary adjustments to theaddons_path
configuration). We would loose the possibility of limiting certain addons withaddons.yaml
, but that is not that important for development. - For production/staging environments, instead of symlinking, we can just copy the desired addons to the destination when building the image. It could even be a good opportunity to shift the approach a bit and rely on
pip
for that, as it would allow a better version management of the addons, and it is the method currently applied in OCA.
I would avoid always the pip
mangling and its version managemente + addons path mangling.