際際滷

際際滷Share a Scribd company logo
Analysis of Conf File
Parameters in the Odoo 18
Enterprise
Enterprise
Introduction
In Odoo, the configuration file (commonly named odoo.conf) is a
critical file that allows administrators to define various parameters to
control the behavior of the Odoo server. These parameters include
settings for database connections, server performance, logging, and
other operational configurations.
Lets discuss the various parameters used in setting the configuration
file for Odoo 18 in the coming slides.
Enterprise
Basically, Odoo is installed and set up for the development and working by keeping
only the necessary parameters for conf file. They are
admin_passwd = password
db_host = localhost
db_port = 5432
db_user = odoo16
db_password = password
addons_path = addons_path
xmlrpc_port = 8061
 admin_passwd is the Master password for database management. This password is used to
create, delete or restore the database used for the Odoo server. This master password can be
reset from the UI with the server url followed by /web/database/manager with the button Set
Master password. Also this can be edited from the backend through code using the conf file.
Inside conf file, this can be seen in encrypted form.
Enterprise
 db_host: Specifies the host of the PostgreSQL database server. We
can use localhost or an IP address. By default, it will be localhost. We
can modify it to specify which server it should connect to for
PostgreSQL.
 db_port: Port number for the database server (default is 5432).
 db_user: PostgreSQL database user.
 db_password: Password for the database user.
 addons_path: Path to the directory containing Odoo addons
(comma-separated for multiple paths).
 xmlrpc_port: This is used to define on which port odoo should run.
We give the link to run Odoo as db_host: xmlrpc_port.
Enterprise
The other parameters used for the conf files are
 data_dir : Path to the directory where Odoo stores session and file data.
 db_name: Name of the database to connect to (leave empty to allow multiple).
 db_filter: Filters accessible databases by pattern (useful in multi-tenant setups).
 http_port: Port number for the HTTP server.
 proxy_mode: Enable if Odoo is behind a reverse proxy (e.g., Nginx).
 transient_age_limit: This parameter controls the time (in seconds) after which transient
models (models inheriting from TransientModel) are automatically cleaned up.
 translate_modules: Specifies modules to export. It is used in combination with --i18n-
export. Default value is [all].
 unaccent: This tries to enable the unaccent extension when creating new databases. The
default value is False.
 upgrade_path: Used to specify an additional upgrade path.
Enterprise
 without_demo: This parameter decides whether to disable loading demo data for
modules to be installed. We can specify the modules by separating them by commas or
use all to apply for all modules. Default value is False.
 workers: Specifies the number of workers. The default is set to 0.
Some parameters are used for the performance tuning purposes. They are
 workers: Number of worker processes for handling requests (enable for production).
 max_cron_threads: Number of threads for processing scheduled actions (default is 2).
 limit_memory_soft: Soft memory limit per worker in bytes.
 limit_memory_hard: Hard memory limit per worker in bytes.
 limit_time_cpu: Maximum CPU time in seconds for a request.
 limit_time_real: Maximum real time in seconds for a request.
Enterprise
The conf parameters used for keeping track of the logging information are
 log_db_level: This specifies the level of logging for the database. By default, the
level will be warning and the remaining are info, debug, warn, error.
The warning logs messages with the level WARNING on this logger.
 log_level: This is for Logging verbosity, ie the level of logging. The default value is
info. Other logging levels are 'debug_rpc', 'warn', 'test', 'critical', 'runbot',
'debug_sql', 'error', 'debug', 'debug_rpc_answer' and 'notset'.
 logfile: Path to the log file (leave empty to log to stdout)
 logrotate: Enables log rotation (set to True).
 log_request: Logs incoming HTTP requests.
 log_db: Logs database queries. The default value is set to False. In case, we want
to specify the database to be logged into, we give the name of the database.
Enterprise
 log_handler parameter is used to set up a handler at LEVEL for a given PREFIX. An
empty PREFIX indicates the root logger. The default log_handler parameter is
INFO.
For the conf file, the following parameters are used for the security concerns.
 limit_request: It limits the number of concurrent HTTP requests (default is 8192).
 csv_internal_sep: CSV file field separator (default is ,)
For the purpose of Email Configuration
 smtp_server: SMTP server address for sending emails.
 smtp_port: Port for the SMTP server (default is 25 or 587 for TLS).
Enterprise
 smtp_user: Email username for authentication. If given, the SMTP username
will be set. The default value is False.
 smtp_password: Email password for authentication. The default value is
False. We can change the default value and set up an SMTP password if
needed.
 smtp_ssl: Specifies whether the SMTP connections should be encrypted or
not. The default value is False. If True, SMTP connections will be encrypted
with SSL (STARTTLS).
 smtp_ssl_certificate_filename: Specifies the SSL certificate used for
authentication. The default value is False.
 smtp_ssl_private_key_filename: Specifies the SSL private key used for
authentication. The default value is False.
Enterprise
For testing and development, we use the conf parameters
 db_template: Template database for new databases.
 dev_mode: Enables development mode for enhanced debugging.
 test_enable: Activates the testing mode in Odoo. When enabled, Odoo will
detect and execute tests defined in the modules being loaded.
 test_file: Allows you to specify a particular test file to be executed. This is
useful when you want to run a specific set of tests rather than all tests in a
module.
 test_tags: Enables developers to selectively execute tests matching these
tags. This is particularly useful for large projects where running all tests can
be time-consuming.
For More Info.
Check our company website for related blogs
and Odoo book.
Check our YouTube channel for
functional and technical videos in Odoo.
Enterprise
www.cybrosys.com

More Related Content

More from Celine George (20)

How to Install Odoo 18 with Pycharm - Odoo 18 際際滷s
How to Install Odoo 18 with Pycharm - Odoo 18 際際滷sHow to Install Odoo 18 with Pycharm - Odoo 18 際際滷s
How to Install Odoo 18 with Pycharm - Odoo 18 際際滷s
Celine George
How to Manage Purchase Order Approval in Odoo 18
How to Manage Purchase Order Approval in Odoo 18How to Manage Purchase Order Approval in Odoo 18
How to Manage Purchase Order Approval in Odoo 18
Celine George
How to Configure Outgoing and Incoming mail servers in Odoo 18
How to Configure Outgoing and Incoming mail servers in Odoo 18How to Configure Outgoing and Incoming mail servers in Odoo 18
How to Configure Outgoing and Incoming mail servers in Odoo 18
Celine George
How to Grant Discounts in Sale Order Lines in Odoo 18 Sales
How to Grant Discounts in Sale Order Lines in Odoo 18 SalesHow to Grant Discounts in Sale Order Lines in Odoo 18 Sales
How to Grant Discounts in Sale Order Lines in Odoo 18 Sales
Celine George
URLS and routing in odoo 18 - Odoo 際際滷s
URLS and routing in odoo 18 - Odoo 際際滷sURLS and routing in odoo 18 - Odoo 際際滷s
URLS and routing in odoo 18 - Odoo 際際滷s
Celine George
Comparing RFQ Lines for the best price in Odoo 17
Comparing RFQ Lines for the best price in Odoo 17Comparing RFQ Lines for the best price in Odoo 17
Comparing RFQ Lines for the best price in Odoo 17
Celine George
List View Attributes in Odoo 18 - Odoo 際際滷s
List View Attributes in Odoo 18 - Odoo 際際滷sList View Attributes in Odoo 18 - Odoo 際際滷s
List View Attributes in Odoo 18 - Odoo 際際滷s
Celine George
How to Set Default Terms and Conditions in Odoo 17 Accounting
How to Set Default Terms and Conditions in Odoo 17 AccountingHow to Set Default Terms and Conditions in Odoo 17 Accounting
How to Set Default Terms and Conditions in Odoo 17 Accounting
Celine George
Enhance Your Quotations by Sections, Notes, and Subtotals in Odoo Sales
Enhance Your Quotations by Sections, Notes, and Subtotals in Odoo SalesEnhance Your Quotations by Sections, Notes, and Subtotals in Odoo Sales
Enhance Your Quotations by Sections, Notes, and Subtotals in Odoo Sales
Celine George
What are the Views in Odoo 18 Purchase - Odoo 際際滷s
What are the Views in Odoo 18 Purchase - Odoo 際際滷sWhat are the Views in Odoo 18 Purchase - Odoo 際際滷s
What are the Views in Odoo 18 Purchase - Odoo 際際滷s
Celine George
Configuration of Python and SQL Constraints in Odoo 18
Configuration of Python and SQL Constraints in Odoo 18Configuration of Python and SQL Constraints in Odoo 18
Configuration of Python and SQL Constraints in Odoo 18
Celine George
How to Add Custom Fields to Configuration Settings in Odoo 18
How to Add Custom Fields to  Configuration Settings in Odoo 18How to Add Custom Fields to  Configuration Settings in Odoo 18
How to Add Custom Fields to Configuration Settings in Odoo 18
Celine George
How to Manage Abandoned Cart in Odoo 17 Website
How to Manage Abandoned Cart in Odoo 17 WebsiteHow to Manage Abandoned Cart in Odoo 17 Website
How to Manage Abandoned Cart in Odoo 17 Website
Celine George
How to Add opening Balance in Odoo Accounting
How to Add opening Balance in Odoo AccountingHow to Add opening Balance in Odoo Accounting
How to Add opening Balance in Odoo Accounting
Celine George
How to Manage Your Company Budget Using Odoo 17 Accounting
How to Manage Your Company Budget Using Odoo 17 AccountingHow to Manage Your Company Budget Using Odoo 17 Accounting
How to Manage Your Company Budget Using Odoo 17 Accounting
Celine George
How to Simplify Reconciliation Process using Reconciliation Models using odoo...
How to Simplify Reconciliation Process using Reconciliation Models using odoo...How to Simplify Reconciliation Process using Reconciliation Models using odoo...
How to Simplify Reconciliation Process using Reconciliation Models using odoo...
Celine George
New Widget to Record Invoice Line Description Odoo 18
New Widget to Record Invoice Line Description Odoo 18New Widget to Record Invoice Line Description Odoo 18
New Widget to Record Invoice Line Description Odoo 18
Celine George
How to Share Product Specifications with Customers via Email Odoo 18
How to Share Product Specifications with Customers via Email Odoo 18How to Share Product Specifications with Customers via Email Odoo 18
How to Share Product Specifications with Customers via Email Odoo 18
Celine George
How to Configure Authorized Signatory on Invoice in Odoo 18
How to Configure Authorized Signatory on Invoice in Odoo 18How to Configure Authorized Signatory on Invoice in Odoo 18
How to Configure Authorized Signatory on Invoice in Odoo 18
Celine George
How to Configure Tax Cloud in Odoo 17 Accounting
How to Configure Tax Cloud in Odoo 17 AccountingHow to Configure Tax Cloud in Odoo 17 Accounting
How to Configure Tax Cloud in Odoo 17 Accounting
Celine George
How to Install Odoo 18 with Pycharm - Odoo 18 際際滷s
How to Install Odoo 18 with Pycharm - Odoo 18 際際滷sHow to Install Odoo 18 with Pycharm - Odoo 18 際際滷s
How to Install Odoo 18 with Pycharm - Odoo 18 際際滷s
Celine George
How to Manage Purchase Order Approval in Odoo 18
How to Manage Purchase Order Approval in Odoo 18How to Manage Purchase Order Approval in Odoo 18
How to Manage Purchase Order Approval in Odoo 18
Celine George
How to Configure Outgoing and Incoming mail servers in Odoo 18
How to Configure Outgoing and Incoming mail servers in Odoo 18How to Configure Outgoing and Incoming mail servers in Odoo 18
How to Configure Outgoing and Incoming mail servers in Odoo 18
Celine George
How to Grant Discounts in Sale Order Lines in Odoo 18 Sales
How to Grant Discounts in Sale Order Lines in Odoo 18 SalesHow to Grant Discounts in Sale Order Lines in Odoo 18 Sales
How to Grant Discounts in Sale Order Lines in Odoo 18 Sales
Celine George
URLS and routing in odoo 18 - Odoo 際際滷s
URLS and routing in odoo 18 - Odoo 際際滷sURLS and routing in odoo 18 - Odoo 際際滷s
URLS and routing in odoo 18 - Odoo 際際滷s
Celine George
Comparing RFQ Lines for the best price in Odoo 17
Comparing RFQ Lines for the best price in Odoo 17Comparing RFQ Lines for the best price in Odoo 17
Comparing RFQ Lines for the best price in Odoo 17
Celine George
List View Attributes in Odoo 18 - Odoo 際際滷s
List View Attributes in Odoo 18 - Odoo 際際滷sList View Attributes in Odoo 18 - Odoo 際際滷s
List View Attributes in Odoo 18 - Odoo 際際滷s
Celine George
How to Set Default Terms and Conditions in Odoo 17 Accounting
How to Set Default Terms and Conditions in Odoo 17 AccountingHow to Set Default Terms and Conditions in Odoo 17 Accounting
How to Set Default Terms and Conditions in Odoo 17 Accounting
Celine George
Enhance Your Quotations by Sections, Notes, and Subtotals in Odoo Sales
Enhance Your Quotations by Sections, Notes, and Subtotals in Odoo SalesEnhance Your Quotations by Sections, Notes, and Subtotals in Odoo Sales
Enhance Your Quotations by Sections, Notes, and Subtotals in Odoo Sales
Celine George
What are the Views in Odoo 18 Purchase - Odoo 際際滷s
What are the Views in Odoo 18 Purchase - Odoo 際際滷sWhat are the Views in Odoo 18 Purchase - Odoo 際際滷s
What are the Views in Odoo 18 Purchase - Odoo 際際滷s
Celine George
Configuration of Python and SQL Constraints in Odoo 18
Configuration of Python and SQL Constraints in Odoo 18Configuration of Python and SQL Constraints in Odoo 18
Configuration of Python and SQL Constraints in Odoo 18
Celine George
How to Add Custom Fields to Configuration Settings in Odoo 18
How to Add Custom Fields to  Configuration Settings in Odoo 18How to Add Custom Fields to  Configuration Settings in Odoo 18
How to Add Custom Fields to Configuration Settings in Odoo 18
Celine George
How to Manage Abandoned Cart in Odoo 17 Website
How to Manage Abandoned Cart in Odoo 17 WebsiteHow to Manage Abandoned Cart in Odoo 17 Website
How to Manage Abandoned Cart in Odoo 17 Website
Celine George
How to Add opening Balance in Odoo Accounting
How to Add opening Balance in Odoo AccountingHow to Add opening Balance in Odoo Accounting
How to Add opening Balance in Odoo Accounting
Celine George
How to Manage Your Company Budget Using Odoo 17 Accounting
How to Manage Your Company Budget Using Odoo 17 AccountingHow to Manage Your Company Budget Using Odoo 17 Accounting
How to Manage Your Company Budget Using Odoo 17 Accounting
Celine George
How to Simplify Reconciliation Process using Reconciliation Models using odoo...
How to Simplify Reconciliation Process using Reconciliation Models using odoo...How to Simplify Reconciliation Process using Reconciliation Models using odoo...
How to Simplify Reconciliation Process using Reconciliation Models using odoo...
Celine George
New Widget to Record Invoice Line Description Odoo 18
New Widget to Record Invoice Line Description Odoo 18New Widget to Record Invoice Line Description Odoo 18
New Widget to Record Invoice Line Description Odoo 18
Celine George
How to Share Product Specifications with Customers via Email Odoo 18
How to Share Product Specifications with Customers via Email Odoo 18How to Share Product Specifications with Customers via Email Odoo 18
How to Share Product Specifications with Customers via Email Odoo 18
Celine George
How to Configure Authorized Signatory on Invoice in Odoo 18
How to Configure Authorized Signatory on Invoice in Odoo 18How to Configure Authorized Signatory on Invoice in Odoo 18
How to Configure Authorized Signatory on Invoice in Odoo 18
Celine George
How to Configure Tax Cloud in Odoo 17 Accounting
How to Configure Tax Cloud in Odoo 17 AccountingHow to Configure Tax Cloud in Odoo 17 Accounting
How to Configure Tax Cloud in Odoo 17 Accounting
Celine George

Recently uploaded (20)

Different Facets of Knowledge on different View.pptx
Different Facets of Knowledge on different View.pptxDifferent Facets of Knowledge on different View.pptx
Different Facets of Knowledge on different View.pptx
NrapendraVirSingh
Digital Electronics: Fundamentals of Combinational Circuits
Digital Electronics: Fundamentals of Combinational CircuitsDigital Electronics: Fundamentals of Combinational Circuits
Digital Electronics: Fundamentals of Combinational Circuits
GS Virdi
Knownsense 2025 Finals-U-25 General Quiz.pdf
Knownsense 2025 Finals-U-25 General Quiz.pdfKnownsense 2025 Finals-U-25 General Quiz.pdf
Knownsense 2025 Finals-U-25 General Quiz.pdf
Pragya - UEM Kolkata Quiz Club
MIPLM subject matter expert Sascha Kamhuber
MIPLM subject matter expert Sascha KamhuberMIPLM subject matter expert Sascha Kamhuber
MIPLM subject matter expert Sascha Kamhuber
MIPLM
EDL 290F Week 5 - Facing Headwinds and Hairpin Turns (2025).pdf
EDL 290F Week 5  - Facing Headwinds and Hairpin Turns (2025).pdfEDL 290F Week 5  - Facing Headwinds and Hairpin Turns (2025).pdf
EDL 290F Week 5 - Facing Headwinds and Hairpin Turns (2025).pdf
Liz Walsh-Trevino
Design approaches and ethical challenges in Artificial Intelligence tools for...
Design approaches and ethical challenges in Artificial Intelligence tools for...Design approaches and ethical challenges in Artificial Intelligence tools for...
Design approaches and ethical challenges in Artificial Intelligence tools for...
Yannis
Anti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VI
Anti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VIAnti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VI
Anti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VI
Samruddhi Khonde
Unit 3: Combustion in Spark Ignition Engines
Unit 3: Combustion in Spark Ignition EnginesUnit 3: Combustion in Spark Ignition Engines
Unit 3: Combustion in Spark Ignition Engines
NileshKumbhar21
NURSING PROCESS AND ITS STEPS .pptx
NURSING PROCESS AND ITS STEPS                 .pptxNURSING PROCESS AND ITS STEPS                 .pptx
NURSING PROCESS AND ITS STEPS .pptx
PoojaSen20
EDL 290F Week 4 - Group Ride (2025).pdf
EDL 290F Week 4  - Group Ride (2025).pdfEDL 290F Week 4  - Group Ride (2025).pdf
EDL 290F Week 4 - Group Ride (2025).pdf
Liz Walsh-Trevino
Unit1 Inroduction to Internal Combustion Engines
Unit1  Inroduction to Internal Combustion EnginesUnit1  Inroduction to Internal Combustion Engines
Unit1 Inroduction to Internal Combustion Engines
NileshKumbhar21
General Quiz at ChakraView 2025 | Amlan Sarkar | Ashoka Univeristy | Prelims ...
General Quiz at ChakraView 2025 | Amlan Sarkar | Ashoka Univeristy | Prelims ...General Quiz at ChakraView 2025 | Amlan Sarkar | Ashoka Univeristy | Prelims ...
General Quiz at ChakraView 2025 | Amlan Sarkar | Ashoka Univeristy | Prelims ...
Amlan Sarkar
Unit No 4- Chemotherapy of Malignancy.pptx
Unit No  4- Chemotherapy of Malignancy.pptxUnit No  4- Chemotherapy of Malignancy.pptx
Unit No 4- Chemotherapy of Malignancy.pptx
Ashish Umale
CLEFT LIP AND PALATE: NURSING MANAGEMENT.pptx
CLEFT LIP AND PALATE: NURSING MANAGEMENT.pptxCLEFT LIP AND PALATE: NURSING MANAGEMENT.pptx
CLEFT LIP AND PALATE: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
Quizzitch Cup_Sports Quiz 2025_Prelims.pptx
Quizzitch Cup_Sports Quiz 2025_Prelims.pptxQuizzitch Cup_Sports Quiz 2025_Prelims.pptx
Quizzitch Cup_Sports Quiz 2025_Prelims.pptx
Anand Kumar
Antifungal agents by Mrs. Manjushri Dabhade
Antifungal agents by Mrs. Manjushri DabhadeAntifungal agents by Mrs. Manjushri Dabhade
Antifungal agents by Mrs. Manjushri Dabhade
Dabhade madam Dabhade
Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
 Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ... Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
coreylewis960
MIPLM subject matter expert Dr Alihan Kaya
MIPLM subject matter expert Dr Alihan KayaMIPLM subject matter expert Dr Alihan Kaya
MIPLM subject matter expert Dr Alihan Kaya
MIPLM
Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...
Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...
Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...
Sue Beckingham
Different Facets of Knowledge on different View.pptx
Different Facets of Knowledge on different View.pptxDifferent Facets of Knowledge on different View.pptx
Different Facets of Knowledge on different View.pptx
NrapendraVirSingh
Digital Electronics: Fundamentals of Combinational Circuits
Digital Electronics: Fundamentals of Combinational CircuitsDigital Electronics: Fundamentals of Combinational Circuits
Digital Electronics: Fundamentals of Combinational Circuits
GS Virdi
MIPLM subject matter expert Sascha Kamhuber
MIPLM subject matter expert Sascha KamhuberMIPLM subject matter expert Sascha Kamhuber
MIPLM subject matter expert Sascha Kamhuber
MIPLM
EDL 290F Week 5 - Facing Headwinds and Hairpin Turns (2025).pdf
EDL 290F Week 5  - Facing Headwinds and Hairpin Turns (2025).pdfEDL 290F Week 5  - Facing Headwinds and Hairpin Turns (2025).pdf
EDL 290F Week 5 - Facing Headwinds and Hairpin Turns (2025).pdf
Liz Walsh-Trevino
Design approaches and ethical challenges in Artificial Intelligence tools for...
Design approaches and ethical challenges in Artificial Intelligence tools for...Design approaches and ethical challenges in Artificial Intelligence tools for...
Design approaches and ethical challenges in Artificial Intelligence tools for...
Yannis
Anti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VI
Anti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VIAnti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VI
Anti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VI
Samruddhi Khonde
Unit 3: Combustion in Spark Ignition Engines
Unit 3: Combustion in Spark Ignition EnginesUnit 3: Combustion in Spark Ignition Engines
Unit 3: Combustion in Spark Ignition Engines
NileshKumbhar21
NURSING PROCESS AND ITS STEPS .pptx
NURSING PROCESS AND ITS STEPS                 .pptxNURSING PROCESS AND ITS STEPS                 .pptx
NURSING PROCESS AND ITS STEPS .pptx
PoojaSen20
EDL 290F Week 4 - Group Ride (2025).pdf
EDL 290F Week 4  - Group Ride (2025).pdfEDL 290F Week 4  - Group Ride (2025).pdf
EDL 290F Week 4 - Group Ride (2025).pdf
Liz Walsh-Trevino
Unit1 Inroduction to Internal Combustion Engines
Unit1  Inroduction to Internal Combustion EnginesUnit1  Inroduction to Internal Combustion Engines
Unit1 Inroduction to Internal Combustion Engines
NileshKumbhar21
General Quiz at ChakraView 2025 | Amlan Sarkar | Ashoka Univeristy | Prelims ...
General Quiz at ChakraView 2025 | Amlan Sarkar | Ashoka Univeristy | Prelims ...General Quiz at ChakraView 2025 | Amlan Sarkar | Ashoka Univeristy | Prelims ...
General Quiz at ChakraView 2025 | Amlan Sarkar | Ashoka Univeristy | Prelims ...
Amlan Sarkar
Unit No 4- Chemotherapy of Malignancy.pptx
Unit No  4- Chemotherapy of Malignancy.pptxUnit No  4- Chemotherapy of Malignancy.pptx
Unit No 4- Chemotherapy of Malignancy.pptx
Ashish Umale
CLEFT LIP AND PALATE: NURSING MANAGEMENT.pptx
CLEFT LIP AND PALATE: NURSING MANAGEMENT.pptxCLEFT LIP AND PALATE: NURSING MANAGEMENT.pptx
CLEFT LIP AND PALATE: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
Quizzitch Cup_Sports Quiz 2025_Prelims.pptx
Quizzitch Cup_Sports Quiz 2025_Prelims.pptxQuizzitch Cup_Sports Quiz 2025_Prelims.pptx
Quizzitch Cup_Sports Quiz 2025_Prelims.pptx
Anand Kumar
Antifungal agents by Mrs. Manjushri Dabhade
Antifungal agents by Mrs. Manjushri DabhadeAntifungal agents by Mrs. Manjushri Dabhade
Antifungal agents by Mrs. Manjushri Dabhade
Dabhade madam Dabhade
Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
 Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ... Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
coreylewis960
MIPLM subject matter expert Dr Alihan Kaya
MIPLM subject matter expert Dr Alihan KayaMIPLM subject matter expert Dr Alihan Kaya
MIPLM subject matter expert Dr Alihan Kaya
MIPLM
Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...
Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...
Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...
Sue Beckingham

Analysis of Conf File Parameters in the Odoo 18

  • 1. Analysis of Conf File Parameters in the Odoo 18 Enterprise
  • 2. Enterprise Introduction In Odoo, the configuration file (commonly named odoo.conf) is a critical file that allows administrators to define various parameters to control the behavior of the Odoo server. These parameters include settings for database connections, server performance, logging, and other operational configurations. Lets discuss the various parameters used in setting the configuration file for Odoo 18 in the coming slides.
  • 3. Enterprise Basically, Odoo is installed and set up for the development and working by keeping only the necessary parameters for conf file. They are admin_passwd = password db_host = localhost db_port = 5432 db_user = odoo16 db_password = password addons_path = addons_path xmlrpc_port = 8061 admin_passwd is the Master password for database management. This password is used to create, delete or restore the database used for the Odoo server. This master password can be reset from the UI with the server url followed by /web/database/manager with the button Set Master password. Also this can be edited from the backend through code using the conf file. Inside conf file, this can be seen in encrypted form.
  • 4. Enterprise db_host: Specifies the host of the PostgreSQL database server. We can use localhost or an IP address. By default, it will be localhost. We can modify it to specify which server it should connect to for PostgreSQL. db_port: Port number for the database server (default is 5432). db_user: PostgreSQL database user. db_password: Password for the database user. addons_path: Path to the directory containing Odoo addons (comma-separated for multiple paths). xmlrpc_port: This is used to define on which port odoo should run. We give the link to run Odoo as db_host: xmlrpc_port.
  • 5. Enterprise The other parameters used for the conf files are data_dir : Path to the directory where Odoo stores session and file data. db_name: Name of the database to connect to (leave empty to allow multiple). db_filter: Filters accessible databases by pattern (useful in multi-tenant setups). http_port: Port number for the HTTP server. proxy_mode: Enable if Odoo is behind a reverse proxy (e.g., Nginx). transient_age_limit: This parameter controls the time (in seconds) after which transient models (models inheriting from TransientModel) are automatically cleaned up. translate_modules: Specifies modules to export. It is used in combination with --i18n- export. Default value is [all]. unaccent: This tries to enable the unaccent extension when creating new databases. The default value is False. upgrade_path: Used to specify an additional upgrade path.
  • 6. Enterprise without_demo: This parameter decides whether to disable loading demo data for modules to be installed. We can specify the modules by separating them by commas or use all to apply for all modules. Default value is False. workers: Specifies the number of workers. The default is set to 0. Some parameters are used for the performance tuning purposes. They are workers: Number of worker processes for handling requests (enable for production). max_cron_threads: Number of threads for processing scheduled actions (default is 2). limit_memory_soft: Soft memory limit per worker in bytes. limit_memory_hard: Hard memory limit per worker in bytes. limit_time_cpu: Maximum CPU time in seconds for a request. limit_time_real: Maximum real time in seconds for a request.
  • 7. Enterprise The conf parameters used for keeping track of the logging information are log_db_level: This specifies the level of logging for the database. By default, the level will be warning and the remaining are info, debug, warn, error. The warning logs messages with the level WARNING on this logger. log_level: This is for Logging verbosity, ie the level of logging. The default value is info. Other logging levels are 'debug_rpc', 'warn', 'test', 'critical', 'runbot', 'debug_sql', 'error', 'debug', 'debug_rpc_answer' and 'notset'. logfile: Path to the log file (leave empty to log to stdout) logrotate: Enables log rotation (set to True). log_request: Logs incoming HTTP requests. log_db: Logs database queries. The default value is set to False. In case, we want to specify the database to be logged into, we give the name of the database.
  • 8. Enterprise log_handler parameter is used to set up a handler at LEVEL for a given PREFIX. An empty PREFIX indicates the root logger. The default log_handler parameter is INFO. For the conf file, the following parameters are used for the security concerns. limit_request: It limits the number of concurrent HTTP requests (default is 8192). csv_internal_sep: CSV file field separator (default is ,) For the purpose of Email Configuration smtp_server: SMTP server address for sending emails. smtp_port: Port for the SMTP server (default is 25 or 587 for TLS).
  • 9. Enterprise smtp_user: Email username for authentication. If given, the SMTP username will be set. The default value is False. smtp_password: Email password for authentication. The default value is False. We can change the default value and set up an SMTP password if needed. smtp_ssl: Specifies whether the SMTP connections should be encrypted or not. The default value is False. If True, SMTP connections will be encrypted with SSL (STARTTLS). smtp_ssl_certificate_filename: Specifies the SSL certificate used for authentication. The default value is False. smtp_ssl_private_key_filename: Specifies the SSL private key used for authentication. The default value is False.
  • 10. Enterprise For testing and development, we use the conf parameters db_template: Template database for new databases. dev_mode: Enables development mode for enhanced debugging. test_enable: Activates the testing mode in Odoo. When enabled, Odoo will detect and execute tests defined in the modules being loaded. test_file: Allows you to specify a particular test file to be executed. This is useful when you want to run a specific set of tests rather than all tests in a module. test_tags: Enables developers to selectively execute tests matching these tags. This is particularly useful for large projects where running all tests can be time-consuming.
  • 11. For More Info. Check our company website for related blogs and Odoo book. Check our YouTube channel for functional and technical videos in Odoo. Enterprise www.cybrosys.com