docker-odoo-project
docker-odoo-project copied to clipboard
Base images for Odoo projects
When running tests locally you might want to simulate tests as on Travis and at the same time to not start from scratch every time because your time IS important...
I spotted 2 use cases that can case cause trouble right now. Both can be resolved by dropping the cache, but can leave to false positive or false negative travis...
I noticed that in camptocamp/odoo-project:11.0-latest the /start-entrypoint.d/001_set_report_url is missing the executable bit so it won't be executed. docker run --rm --entrypoint "/bin/bash" -ti camptocamp/odoo-project:11.0-latest root@85c327e2a9ee:/# ls -l /start-entrypoint.d/ total 8...
In migration of the docker example there is a step included that executes a sql query (`psql -c \"CREATE pg_trgm;"`) this step will only work on a pristine database. Any...
In version 5.1.0 of the image definition the base_requirments.txt has much newer versions of python libs from the official odoo source requirements.txt. This leads to strange errors. For instance PyPDF==1.27...
Maybe I'm mistaken, but in the 5.X.X (master) branch "make VERSION=XX BATTERIES=true" does not lead to an image with batteries included. Do I miss something or is it an omission?
Something to follow up on for the future. ``` /odoo/.local/bin/odoo:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html __import__('pkg_resources').require('odoo==17.0') ```
### Allow to set restore a cached DB and create a new one If both LOAD_DB_CACHE (with a ceil version) and CREATE_DB_CACHE were set, in case the directory containing cached...
With this modification you can use env variable to enable debugpy on a container DEBUGPY_ENABLE=1 DEBUGPY_PORT=[8888] Once done, you just have to start you docker with -p 8888:8888 and use...
This will allow using click-odoo-update in migration scripts see https://github.com/acsone/click-odoo-contrib