parent
ed086f7df7
commit
f3c9d3b533
|
|
@ -83,7 +83,7 @@ src/
|
|||
env_10.0/
|
||||
extra_debian_requirements.txt
|
||||
Dockerfile
|
||||
odoo.cfg
|
||||
odoo.conf
|
||||
extra_python_requirements.txt
|
||||
repos.yml
|
||||
src/
|
||||
|
|
@ -133,7 +133,7 @@ modules.csv
|
|||
- ``extra_debian_requirements.txt`` enumerates the list of extra system librairies
|
||||
required to run the odoo instance.
|
||||
|
||||
- ``odoo.cfg`` file. Add here extra configuration required for your custom modules.
|
||||
- ``odoo.conf`` file. Add here extra configuration required for your custom modules.
|
||||
the classical keys (``db_host``, ``db_port``, etc...) are automatically
|
||||
autogenerated.
|
||||
|
||||
|
|
|
|||
|
|
@ -145,8 +145,8 @@ def init(
|
|||
|
||||
# Create odoo config file
|
||||
ensure_file_exists_from_template(
|
||||
path_version / Path("odoo.cfg"),
|
||||
"odoo/odoo.cfg.j2",
|
||||
path_version / Path("odoo.conf"),
|
||||
"odoo/odoo.conf.j2",
|
||||
)
|
||||
|
||||
# Create repos.yml file for gitaggregate tools
|
||||
|
|
|
|||
|
|
@ -112,9 +112,9 @@ def generate_odoo_command(
|
|||
odoo_env_path = get_odoo_env_path(ctx, migration_step["version"])
|
||||
|
||||
# Compute 'server_wide_modules'
|
||||
# For that purpose, read the custom odoo.cfg file
|
||||
# For that purpose, read the custom odoo.conf file
|
||||
# to know if server_wide_modules is defined
|
||||
custom_odoo_config_file = odoo_env_path / "odoo.cfg"
|
||||
custom_odoo_config_file = odoo_env_path / "odoo.conf"
|
||||
parser = configparser.RawConfigParser()
|
||||
parser.read(custom_odoo_config_file)
|
||||
server_wide_modules = parser.get(
|
||||
|
|
@ -160,7 +160,7 @@ def generate_odoo_command(
|
|||
result = (
|
||||
f" {command}"
|
||||
f" {shell_cmd}"
|
||||
f" --config=/odoo_env/odoo.cfg"
|
||||
f" --config=/odoo_env/odoo.conf"
|
||||
f" --data-dir=/env/filestore/"
|
||||
f" --addons-path={addons_path}"
|
||||
f" --logfile={log_file_docker_path}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user