OpenERP 7 with SSL on Ubuntu 12.04

Lets assume that apache and required packages are installed on system.

There are some commands needs to execute to run OpenERP on SSL.

sudo apt-get install apache2
sudo a2enmod ssl proxy_http headers rewrite

Now we have created certificate and key so we have to execute these commands one by one.

sudo mkdir /etc/ssl/openerp

openssl genrsa -des3 -out oeserver.pkey 1024
openssl rsa -in oeserver.pkey -out oeserver.key
openssl req -new -key oeserver.key -out oeserver.csr

At last we signed certificate here.

openssl x509 -req -days 365 -in oeserver.csr -signkey oeserver.key -out oeserver.crt

We also created apache configuration file.

sudo vim /etc/apache2/sites-available/openerp

<VirtualHost *:443>

SSLEngine on
SSLCertificateFile /etc/ssl/openerp/oeserver.crt
SSLCertificateKeyFile /etc/ssl/openerp/oeserver.key

ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy *>
ProxyVia On
ProxyPass /
<location />
ProxyPassReverse /

RequestHeader set “X-Forwarded-Proto” “https”

SetEnv proxy-nokeepalive 1

Now enable above configuration execute below command

sudo a2ensite openerp

After above configuration, just restart OpenERP server and use this URL to test:

Configure multiple shops in OpenERP Point of Sale

How to configure multiple shops when we are dealing with OpenERP Point of Sale.

We may have multiple shops with single warehouse in such case we can have only one warehouse to manage all shops.
But sometimes its also require to manage stock per shop, in such case we can have multiple shops with multiple warehouses. So each warehouse will be used to manage shop wise stock entries.

Stock management configuration with the help of shop, warehouse and Point of Sale is explained in this blog.

We will start with one by one screens displayed below. We will assume that Sales, Point of Sale, Warehouse modules are installed and Database with demo data are installed.

Here in below screen we can see that first of all, we have to eneble two options: Pricelist, Multiple shops. And just click on Apply button on the top.

Enable Shop, Pricelist options

Now we will create new shop with new warehouse and pricelist applied as displayed in below screen.

Configure Shop
OpenERP Shop Configuration for POS

Now we can see, we have 2 shops configured. We will consider one is for Admin and another is for Demo user.

OpenERP Shop list

We can see in this screen, we have select Shop 1 which we have created and we have created new Point of Sale. So once we will save this, we will have two Point of Sale, one is Main (Default one) and second, we just created Shop 1.

Configure POS Shop
Configure POS Shop

Now lets turn to User Form. We have to assign this both Point of Sale shop to different users. Please find in below screen. We have assigned “Main” to Admin, and “Shop1” to Demo User. So to access different shop, both user will select their own shop only.

Assign POS to user
Assign POS to user

We have two Point of Sale in this list. We will use with referenced user. We can restrict here that particular user can use his own shop only.

List of Point of Sale shop
List of Point of Sale shop

So after this much configuration, we can login to different users and we can operate Point of Sale so stock will be managed individually.
Few points to be remember:
– Assign proper access rights to the users.
– We can use different Pricelist for different shop to make rate different.

Create invoice from OpenERP 7.0 Point of Sale (POS)


OpenERP 7.0 Point of Sale with two new features are:
– Create invoice from POS Interface itself. Once Invoice is created, it will open pdf report immediately.
– Number of products available on hand i.e. Real Quantity.