Monday, 22 July 2013

Unable to create lead from email

Hello All,

I think you all are facing problem of lead/helpdesk. As its not created automatically mail.

You have configured your mail server correctly action to create lead correctly set but still all
mail are not fectched or all mails are not create lead/helpdesk right ?

Some mails create messages instead of new lead ?

So, there may be chances you have configured mail server thats silently broken.

So, avoid this kind of stuff you can just check your mail server and check your aliases both are same , means here i give you example.

in your mail server : for fetching incoming mail.

now in your users if there is similar 'nayi.pinakin' than its create problem.

So, check your aliases and be sure there is fetch mail server and user are not same.


Sunday, 14 July 2013

Google Alert

Do you know google alert ?

When you are about to search something but there is no any related document still published ,
in this case you can create google alert that will alert you if there is similar like document on web.

What a fantastic facility by Google !!!

So, what we say  "Thanks Google !!"

View Pinakin Nayi's profile on LinkedIn

Thursday, 11 July 2013

Work with different address in OpenERP 7.

Work with different address in OpenERP 7.

OpenERP 7 gives you facility so you can set different addresses.
There are mainly three types of addresses used in any company there are as follow :

- Main company address
- Invioce Address
- Shiping Address

Steps :

 - Create one customer set it as company .
 - add address as company address
 - Create new conact (under customer form contact Tab)
 - Choose address Type and define different addresses .

Here i created video that will showing same.


Wednesday, 10 July 2013

Install web-cam on your ubuntu machine

Do you wanna install web-cam on your ubuntu machine ?

Just run one command and you can enjoy ...

Go to Application > Accessories  > Terminal
Type command :

 sudo apt-get install cheese

After installation :

Go to Application > Sound & video > Cheese Webcam Booth

.. Enjoy ...

Tuesday, 9 July 2013

How to increase your PC speed through swap memory ??

How to increase your PC speed through swap memory ??

Specially in UBUNTU :

Here i described some of step that all are helpful to you to create swap memory and of course speed up your PC.

Check for Swap Space

swapon -s

An empty list (for first time if there is no any already created swap):
Filename    Type  Size Used Priority

Create and Enable the Swap File

Now it’s time to create the swap file itself using the dd command :
sudo dd if=/dev/zero of=/swapfile bs=1024 count=512k

“of=/swapfile” designates the file’s name. In this case the name is swapfile. 

Subsequently we are going to prepare the swap file by creating a linux swap area:
sudo mkswap /swapfile

The results display something like:
Setting up swapspace version 1, size = 262140 KiB
no label, UUID=103c4545-5fc5-47f3-a8b3-dfbdb64fd7eb

Finish up by activating the swap file:
sudo swapon /swapfile

You will then be able to see the new swap file when you view the swap summary.
swapon -s
Filename    Type  Size Used Priority
/swapfile                               file  262140 0 -1

This file will last on the virtual private server until the machine reboots. 
You can ensure that the swap is permanent by adding it to the fstab file.

Open up the file:
sudo nano /etc/fstab

Paste in the following line:
 /swapfile       none    swap    sw      0       0 


Wednesday, 3 July 2013

Mail Alias with OpenERP 7

Mail alias in OpenERP 7

I think lots of people have confusion over mail alias including me.

So, here i try to describe mail alias in OpenERP.
For mail configure in OpenERP

Steps :

- First of all configure mail servers both incoming and outgoing.
- now from the Setting > General Setting configure "Alias Domain"(catch-all email domain redirected to this openerp server domain)

Now very important thing how openerp mail alias work

so in this case you have to configure catch all on your mail server.

What id catchall ?

Mail server provide facility like catchall which will handle all mail with domain means here i try to explain with example that may
be useful to you :

Ex. Company domain name :
now someone send a mail to now there is no any xxx mail address defined in the so these kind of mails are
handled under catchall.

Now, in openerp server you have to define both address one is original and second one catchall which will fetch-out all mail.

Why its needed ?

Because whenever we create any project or etc than there is automatically created alias.

Suppose we created new project user alias set as
user add followers and send a notification so there is set sender name, receiver a valid mail id, and in reply to there is project alias set.

So, if a customer reply to that mail than he face the problem as undelivered mail if there is no any catchall defined.

Now, if we defined catchall than the message will automatically fetched and appended to particular object.

We hope this information will helpful to you.


OpenERP Error

OpenERP error like : when we use new 'addons / web / server'

Solution :
Manual migration script to run on DB :

ALTER TABLE ir_model_fields ADD column serialization_field_id int references ir_model_fields on delete cascade;

Server Traceback (most recent call last):
  File "/home/pna/workspace/6.1/web/addons/web/common/", line 593, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/pna/workspace/6.1/server/openerp/", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/pna/workspace/6.1/server/openerp/service/", line 397, in dispatch
    return fn(*params)
  File "/home/pna/workspace/6.1/server/openerp/service/", line 408, in exp_authenticate
    res_users = pooler.get_pool(db).get('res.users')
  File "/home/pna/workspace/6.1/server/openerp/", line 50, in get_pool
    return get_db_and_pool(db_name, force_demo, status, update_module)[1]
  File "/home/pna/workspace/6.1/server/openerp/", line 33, in get_db_and_pool
    registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
  File "/home/pna/workspace/6.1/server/openerp/modules/", line 180, in get
    update_module, pooljobs)
  File "/home/pna/workspace/6.1/server/openerp/modules/", line 202, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/home/pna/workspace/6.1/server/openerp/modules/", line 298, in load_modules
    loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=(not update_module), report=report)
  File "/home/pna/workspace/6.1/server/openerp/modules/", line 167, in load_module_graph
    models = pool.load(cr, package)
  File "/home/pna/workspace/6.1/server/openerp/modules/", line 109, in load
    res.append(cls.create_instance(self, cr))
  File "/home/pna/workspace/6.1/server/openerp/osv/", line 919, in create_instance
    obj.__init__(pool, cr)
  File "/home/pna/workspace/6.1/server/openerp/osv/", line 1027, in __init__
    if field['serialization_field_id']:
KeyError: 'serialization_field_id'