Real Estate Application Setup - dealwallet1/tsssinfotech_docs GitHub Wiki

pip install wheel setuptools pip install psycopg2-binary lxml babel pytz pillow werkzeug

Doc for setting up the odoo server in our local

Next clone :

git clone https://github.com/odoo/odoo.git --branch 18.0 C:\odoo18

Or

git clone https://github.com/odoo/odoo.git

cd odoo

python -m venv myenv(This creates a new folder odoo-venv/ inside the Odoo project.)

Python == version=3.10

myenv\Scripts\activate

pip install -r requirements.txt

pip install wheel pip install psycopg2-binary pip install -r requirements.txt

Setup postgreSQL

psql -U postgres Create an Odoo User

CREATE USER odoo WITH SUPERUSER PASSWORD 'odoo';

Create an Odoo Database

CREATE DATABASE odoo_db OWNER odoo;

Create a postgres user with a password using the pg admin gui: Open pgAdmin. Double-click the server to create a connection. Select Object ‣ Create ‣ Login/Group Role. Enter the username in the Role Name field (e.g., odoo). Open the Definition tab, enter a password (e.g., odoo), and click Save. Open the Privileges tab and switch Can login? to Yes and Create database? to Yes.

Create

an Odoo Configuration File Create a New File in VS Code Inside the Odoo folder, click New File.

Name it odoo.conf.

Add the Following Configuration Paste this into odoo.conl[options] admin_passwd = admin db_host = localhost db_port = 5432 db_user = odoo db_password = odoo db_name=oddo_db addons_path = addons

The command to run the Odoo server is

python odoo-bin --config=odoo.conf

Initial run command:-

python odoo-bin --config=odoo.conf --init base

http://localhost:8069/

Log in using: Email: admin

Password: admin

Doc for the Real Estate module setup

Clone the Odoo project from the github

https://github.com/dealwallet1/odoo.git

And add this file path in the main Odoo addons file as shown below in the odoo.config file Add the Following Configuration Paste this into odoo.conl[options] admin_passwd = admin db_host = localhost db_port = 5432 db_user = odoo db_password = odoo db_name=oddo_db addons_path = addons, D:\odoo[where odoo repository is cloned in our local system]

Then it should be like addons,D:\odoo

addons_path = addons,D:\odoo

Then run the server with the below command in the main odoo python odoo-bin -c odoo.conf -d odoo_db -u estate -u estate_account

Note: Here, odoo_db is the database name, estate and estate_account are module names.

Then the estate and estate account apps will be available in the Odoo server,

Go to menu → settings → activate the developer mode

when we click on the update app list, and click on the update button , the estate app and estate_account app will be available

And then we can activate estate and estate_accounting modules After activating, go to the apps page, redirect to the estate module, and click on ‘Module info’ to see the upgrade option.

Click on that upgrade option, and the module will be upgraded After completion of the upgradation, it automatically points to the discussion page On that discussion page, click on the menu option that is beside the discuss option in the navbar.

After clicking on that, we can see our estate module is loaded.

Then click on estate, and it will redirect to the real estate application.

Activating Livechat Module in odoo

In the apps page, search for the ‘im_livechat’ module and activate it.

After activating the livechat module, go to apps menu icon and click on it.

After clicking on livechat option in apps menu icon, it will redirect it into livechat application