<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.24pin.tech/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RobertS</id>
	<title>24PinTech Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.24pin.tech/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RobertS"/>
	<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/view/Special:Contributions/RobertS"/>
	<updated>2026-05-08T14:15:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Odoo&amp;diff=2303</id>
		<title>Odoo</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Odoo&amp;diff=2303"/>
		<updated>2024-12-17T23:07:33Z</updated>

		<summary type="html">&lt;p&gt;RobertS: Fix me being special&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
This guide is written for Ubuntu 24.04 ('Noble Numbat'), postgresql 16 and Odoo version 18. This is the recommended setup. '''Using older versions of Odoo might require downgrading or breaking Ubuntu system packages.'''&lt;br /&gt;
&lt;br /&gt;
== Installing required packages ==&lt;br /&gt;
Odoo requires a variety of packages to function. Install them using the apt package manager.&lt;br /&gt;
 $ sudo apt install postgresql wkhtmltopdf python3-xlwt python3-num2words&lt;br /&gt;
PostgreSQL is used as a database server, wkhtmltopdf converts html to pdf files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Everything else ''should'' be covered as dependency for the odoo package. If you do run into problems building the program, execute:&lt;br /&gt;
 $ sudo apt install python3-dev libxml2-dev libxslt1-dev npm&lt;br /&gt;
&lt;br /&gt;
== Installing Odoo ==&lt;br /&gt;
To install Odoo in the Community edition, we need to add it's repository to the APT package manager. '''This allows Odoo to install packages on our system.''' '''Therefore you should keep the amounts of trust repositories to an absolute minimum.'''&lt;br /&gt;
$ wget https://nightly.odoo.com/odoo.key | sudo gpg --dearmor -o /usr/share/keyrings/odoo-archive-keyring.gpg&lt;br /&gt;
$ echo 'deb [signed-by=/usr/share/keyrings/odoo-archive-keyring.gpg] https://nightly.odoo.com/18.0/nightly/deb/ ./' | sudo tee /etc/apt/sources.list.d/odoo.list&lt;br /&gt;
$ sudo apt update &amp;amp;&amp;amp; sudo apt install odoo&lt;br /&gt;
'''Make sure that it installs odoo and not any prior versions of odoo (e.g. 'odoo-16')'''&lt;br /&gt;
&lt;br /&gt;
== Configuring odoo ==&lt;br /&gt;
&lt;br /&gt;
=== Setting up a database ===&lt;br /&gt;
First, we need to setup a database user for odoo. The program already creates one for us, but we might want to change the password on that.&lt;br /&gt;
 $ sudo su postgres&lt;br /&gt;
 $ psql&lt;br /&gt;
 $ ALTER USER odoo WITH PASSWORD 'newpassword'&lt;br /&gt;
&lt;br /&gt;
=== Authentication to database ===&lt;br /&gt;
Next, setup authentication to postgresql. You can use vim to edit the file. Edit by pressing 'i' and then typing. Save and exit with ESC, : + wq&lt;br /&gt;
 $ sudo vim /etc/odoo/odoo.conf                                      &lt;br /&gt;
The file should look something like this after configuration:&lt;br /&gt;
 [options]&lt;br /&gt;
 ;admin_passwd = admin&lt;br /&gt;
 db_host = localhost&lt;br /&gt;
 db_port = 5432&lt;br /&gt;
 db_user = odoo&lt;br /&gt;
 db_password = password&lt;br /&gt;
More lines may be added for addon functionality. '''Do not delete those.'''&lt;br /&gt;
&lt;br /&gt;
=== Allowing outside access to postgresql ===&lt;br /&gt;
Follow [https://www.odoo.com/documentation/18.0/administration/on_premise/deploy.html#postgresql the Odoo documentation] Additionally, ensure that the firewall allows incoming connections to ports 5432 and 8069.&lt;br /&gt;
 $ sudo ufw allow 5432&lt;br /&gt;
 $ sudo ufw allow 8069&lt;/div&gt;</summary>
		<author><name>RobertS</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Odoo&amp;diff=2302</id>
		<title>Odoo</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Odoo&amp;diff=2302"/>
		<updated>2024-12-17T23:04:20Z</updated>

		<summary type="html">&lt;p&gt;RobertS: Created page and filled it as far as I got&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
This guide is written for Ubuntu 24.04 ('Noble Numbat'), postgresql 16 and Odoo version 18. This is the recommended setup. '''Using older versions of Odoo might require downgrading or breaking Ubuntu system packages.'''&lt;br /&gt;
&lt;br /&gt;
== Installing required packages ==&lt;br /&gt;
Odoo requires a variety of packages to function. Install them using the apt package manager.&lt;br /&gt;
 $ sudo apt install postgresql wkhtmltopdf python3-xlwt python3-num2words&lt;br /&gt;
PostgreSQL is used as a database server, wkhtmltopdf converts html to pdf files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Everything else ''should'' be covered as dependency for the odoo package. If you do run into problems building the program, execute:&lt;br /&gt;
 $ sudo apt install python3-dev libxml2-dev libxslt1-dev npm&lt;br /&gt;
&lt;br /&gt;
== Installing Odoo ==&lt;br /&gt;
To install Odoo in the Community edition, we need to add it's repository to the APT package manager. '''This allows Odoo to install packages on our system.''' '''Therefore you should keep the amounts of trust repositories to an absolute minimum.''' &lt;br /&gt;
 $ wget https://nightly.odoo.com/odoo.key | sudo gpg --dearmor -o /usr/share/keyrings/odoo-archive-keyring.gpg                                           $ echo 'deb [signed-by=/usr/share/keyrings/odoo-archive-keyring.gpg] https://nightly.odoo.com/18.0/nightly/deb/ ./' | sudo tee /etc/apt/sources.list.d/odoo.list                                       $ sudo apt update &amp;amp;&amp;amp; sudo apt install odoo&lt;br /&gt;
'''Make sure that it installs odoo and not any prior versions of odoo (e.g. 'odoo-16')'''&lt;br /&gt;
&lt;br /&gt;
== Configuring odoo ==&lt;br /&gt;
&lt;br /&gt;
=== Setting up a database ===&lt;br /&gt;
First, we need to setup a database user for odoo. The program already creates one for us, but we might want to change the password on that.&lt;br /&gt;
 $ sudo su postgres                                                  $ psql                                                              $ ALTER USER odoo WITH PASSWORD 'newpassword'&lt;br /&gt;
&lt;br /&gt;
=== Authentication to database ===&lt;br /&gt;
Next, setup authentication to postgresql. You can use vim to edit the file. Edit by pressing 'i' and then typing. Save and exit with ESC, : + wq&lt;br /&gt;
 $ sudo vim /etc/odoo/odoo.conf                                      &lt;br /&gt;
The file should look something like this after configuration:&lt;br /&gt;
 [options]                                                            ;admin_passwd = admin                                                db_host = localhost                                                  db_port = 5432                                                       db_user = odoo                                                       db_password = password&lt;br /&gt;
More lines may be added for addon functionality. '''Do not delete those.'''&lt;br /&gt;
&lt;br /&gt;
=== Allowing outside access to postgresql ===&lt;br /&gt;
Follow [https://www.odoo.com/documentation/18.0/administration/on_premise/deploy.html#postgresql the Odoo documentation] Additionally, ensure that the firewall allows incoming connections to ports 5432 and 8069.&lt;br /&gt;
 $ sudo ufw allow 5432                                                $ sudo ufw allow 8069&lt;/div&gt;</summary>
		<author><name>RobertS</name></author>
	</entry>
</feed>