Module Development In Odoo

In this blog, I will tell you about how to develop your own module in Odoo.

Creating Directory:

Create a directory to place your newly developed application using the following command :

 mkdir myaddons

Add this directory to your odoo configuration file (odoo.conf) so that the odoo server can detect all the applications within this directory.

sudo subl /etc/odoo/odoo.conf

Edit the addons_path variable by adding the full path of the new directory preceded by a comma ( , ) as shown below:

addons_path = /usr/lib/python3/dist-packages/odoo/addons

Configuration:

The odoo.conf file would look like this:

[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = odoo
db_password = False
addons_path = /usr/lib/python3/dist-packages/odoo/addons,/home/halcyoona/myaddons

Create the skeleton for your new Application using the command below ! I am calling this application: myconferences.

odoo scaffold myconferences

Read More »

Odoo Installation

Hello everyone,Below you will find the easiest installation guide of odoo 11.Let’s start.

odoo.jpeg

First you run these two command:

sudo apt update
sudo apt upgrade

Python dependencies:

Then install python3-pip using following command:

sudo apt-get install python3-pip

Then install the python  dependencies for Odoo 11 using pip3:

pip3 install Babel decorator docutils ebaysdk feedparser gevent greenlet html2text Jinja2 lxml Mako MarkupSafe mock num2words ofxparse passlib Pillow psutil psycogreen psycopg2 pydot pyparsing PyPDF2 pyserial python-dateutil python-openid pytz pyusb PyYAML qrcode reportlab requests six suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt xlrd

Read More »

WordPress Installation

In this blog, I will show you how to develop WordPress on your localhost and start working with WordPress.

Basic tool Installation

First you have to install MySQL, Apache and PHP. The following command install the apache2, MySQL-Server  and  PHP in your system.

sudo apt-get install apache2 mysql-server php libapache2-mod-php

Then you need to check packages are working as your desire.

For apache2, run the following commands to ensure that mod_rewrite is enabled:

sudo a2enmod status

If it isn’t already enabled, enable a2enmod and restart Apache:

sudo a2enmod rewrite
sudo systemctl restart apache2

DataBase Creation

Log in to the MySQL command line as the root user:

sudo mysql -u root

Create wordpress database:

CREATE DATABASE wordpress;

Read More »