Posts

Uninstall ODOO module using terminal

How to Uninstall Module from commend line: step-1 :        Goto Terminal>Type sudo su postgres step-2:         Type "psql database_name" step-3:               update ir_module_module set state='to remove' where name='module_name' and state='installed';

Create Sequence number

Create Sequence Number in ODOO Sequence number: In Xml: <?xml version="1.0" encoding="utf-8"?> <openerp>     <data noupdate="1">   #no change         <!-- Sequences for sale.order -->         <record id="customer_lead" model="ir.sequence.type">             <field name="name">sequence customer</field>             <field name="code">customer.sequence</field>         </record>         <record id="seq_cust_name" model="ir.sequence">             <field name="name">sequence customer</field>            ...

Odoo Autostart-Server

ODOO Auto-Start Server 1)   Locate openerp-server.conf file from odoo server files.                  Default path  :  /opt/openerp/server/install/openerp-server.conf                  Manual Search  from terminal:            locate openerp-server.conf 2) Open file and set following basic parameters for default configuration: [options] ; This is the password that allows database operations: ; admin_passwd = admin db_host = False db_port = False db_user = odoo db_password = False dbfilter = .* xmlrpc_port = 8069 addons_path = /usr/lib/python2.7/dist-packages/openerp/addons ; (Custom addons path can be added and separated by commas (,)) 3)Check your odoo server is running from above configured openerp-server.conf file. 4)     Create new script f...

Interview Questions

Interview Questions-August   1. What is your biggest weakness? 2. What would you do if you walked into the break room and staff was gossiping, what would you do? 3. A patient is visibly upset and wants to talk with you, but you’re busy with other patients. What do you do? 4. Where do you see yourself in five years? 5. Describe a time when you had to use skills outside your usual role. 6. What are you known for from your friends, family and workmates? 7. What inspires you? 8. Can you handle a fast paced and demanding work environment? 9. Why should we hire you? 10. What was the best customer service you’ve received? 11. Describe a time when you had to influence others. 12. What was a project you encountered difficulty with and how did you resolve it? 13. How do you feel your background and skills can benefit the organization? 14. What is your communication approach on projects? 15. What tools do you use to stay organized and how does tha...

How to Install Odoo

OpenERP Installation Manual: --------------------------- Step 1: Copy the openerp folder in a location. Ex: /opt/odoo-8 Step 2: Python Installation Files:(dependancy files) From Terminal sudo apt-get install python-dateutil python-docutils python-feedparser python-gdata \ python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid \ python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing \ python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject \ python-webdav python-werkzeug python-xlwt python-yaml python-zsi Step 3: Postgresql Install: sudo apt-get install postgresql Note:    (sudo apt-get install postgresql 9.3) Create user in postgesql database: sudo su postgres createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt user_name CREATE ROLE selvakd LOGIN ENCRYPTED PASSWORD 'password' SUPERUS...

Best Site to Learn Programming

Learn How to Code (24*7): http://www.codecademy.com/ http://www.codeschool.com/ https://www.udacity.com/ http://www.codehs.com/ http://www.khanacademy.org http://sqlzoo.net http://net.tutsplus.com /> http://sourceforge.net/ https://developers.google.com/ http://stackoverflow.com/ http://coding.smashingmagazine.com/ https://github.com/ https://bitbucket.org/ http://hackr.io/ https://www.guvi.in Code for Fun: http://programmingpraxis.com/ http://www.codinghorror.com/blog/ https://www.guvi.in/codekata_level https://www.guvi.in/puzzle https://www.guvi.in/project­level Trending Technology News: http://arstechnica.com/ http://thenextweb.com/ http://techcrunch.com/ https://www.guvi.in/blogs/ Startup Stories: http://yourstory.com/ http://www.entrepreneur.com/topic/tech­startups http://www.nextbigwhat.com/ http://www.siliconindia.com/ https://www.techinasia.com/

Quotes For Programmers

“Programming is a rhythm game, the more you are in rhythm, the better output you would produce” “A refactor a day keeps technical debt away” “A tired programmer is a stupid programmer” “A good programmer is one who can think of many different solutions to a coding problem and applies the best solution to that problem” “Code is like an art, the more artistic approach you take to build it, the more beautiful it will be” “The best time to review your code is NOW, don’t delay it” “Your code is like your girlfriend, the more you take care of it, the less it will bug you” “Code should be so expressive that comments should not be needed to understand the code” “Bad code is like diesel engine, it has high maintenance costs.  Good code is like petrol engine, it has low maintenance costs” “Code is an art and the programmer is an artist, it all depends on the artist on how beautiful he wants his / her art to be.  The more effort he puts in, the more beautif...