Blog

At toolkit we are always learning something new. In this section we share our thoughts and views as well as new technology challenges that have come our way. Tell us what you think!
Apr 3
Apr 3

Odoo 10 Docker

Docker containers make it easy to install Odoo version 10. If you already have Docker installed, you will be running Odoo in a couple of minutes. Lets begin. The basics We will create two containers: one for the database and one for Odoo. In fact we will create four containers because we will have an […]

  Read more
Nov 3
Nov 3

Odoo Minimum Hardware Requirement

Requirements for running Odoo 9 Community and Enterprise are the same. For a 5 user site = 2 CPU server and 2 GB Ram For 20 user site = 4 CPU server and 8 GB Ram For 100+ user site = recommend splitting app and database servers, 2 x 8 CPU servers with 32 GB […]

  Read more
Oct 2
Oct 2

The Worst Server Setup Mistake You Can Make

There’s one server setup mistake you can make that will screw you up for years to come. It’ll haunt your business, your developers and your server admins, and be hugely expensive to fix. It’s surprisingly easy to make. The mistake? Setting the timezone to anything other than UTC Use UTC Use UTC. Use UTC. Use […]

  Read more
Oct 1
Oct 1

How to gracefully shut down vsphere 5.x (ESXi Free) using the command line

1. Download and install Putty and Putty tools You will need both Putty.exe and PLink.exe (which is what will be sending the SSH commands to your ESXi server) I downloaded and installed from the following link to c:\putty http://the.earth.li/~sgtatham/putty/latest/x86/putty-0.63-installer.exe 2. Enable SSH on your vSphere (ESXi) host Within the vSphere client click on your host. […]

  Read more
Oct 0
Oct 0

Rsyncable backups with PostgreSQL

Backing up with Postgres mysqldump’s equivalent in the Postgres world is pg_dump. I like pg_dump better because it allows dumping in several formats with accompanying up- and downsides. It also has a sister command pg_restore allowing much more flexibility when restoring a backup. The 4 output formats available at the moment of writing are (if you […]

  Read more
Oct 0
Oct 0

Increase Ubuntu Size In VMWare

Let us pretend that you have an Ubuntu Server which has been running for several years and it has been doing it’s assigned task(s) nicely, until one day you make a change to your methodology/assumptions/workflow/tasks therefore the allocated Virtual Hard Drive (VHD) size is no longer sufficient. There are many reasons for this, but I […]

  Read more
Oct 0
Oct 0

Reference a record in a table based on XML id name

There is a method called “get_object_reference” which gives you the database ID from xml ID. In this method you have to pass module name where xml record is created and xml ID of the record. Example: V7: self.pool.get(‘ir.model.data’).get_object_reference(cr, uid, ‘module_name’, ‘xml_id_of_record’)[1] V8: record_id = self.env.ref(‘module_name.xml_id_of_record’).id

  Read more
Oct 0
Oct 0

Installing VSFTPD on Ubuntu 14.04 Amazon EC2 Instance

Install the server. sudo apt-get install vsftpd Note: I had a brand new server and needed to run sudo apt-get dist-upgrade before installing the server to get all packages up to date. Let’s check to make sure the server is up and running before making any changes. sudo netstat -a | grep ftp If you […]

  Read more
Oct 4
Oct 4

Installing Odoo 9 in Ubuntu 14.04

1. Introduction In this tutorial I will teach you how to install Odoo 9 on Ubuntu 14.04. The script that you will use is based on the code from André Schenkels but has been updated and improved. 2. Creating a new file The first step is to create a new .sh file on your Ubuntu machine, […]

  Read more
Jan 1
Jan 1

Openerp set default value of popup form from one2many field parent

Class definition (shop.py), please note the magic active_id class item(osv.osv): _name = “shop.item” _columns = { “item_id”: fields.many2one(“shop.cart”, “Cart”), } _defaults = { “item_id”: lambda self, cr, uid, c: c.get(‘item_id’, False), } class cart(osv.osv): _name = “shop.cart” _columns = { “item_ids”: one2many(“shop.item”, “item_id”, “Items”), } In the view definition for the one2many field (shop_view.xml) <field […]

  Read more
Dec 0
Dec 0

OpenERP function fields, and the store= parameter

One thing I could never quite get my head around was the store= parameter in OpenERP. OpenERP explains it like this: store Parameter It will calculate the field and store the result in the table. The field will be recalculated when certain fields are changed on other objects. It uses the following syntax: store = […]

  Read more
Nov 0
Nov 0

PostgreSQL UPDATE

Summary: in this tutorial, you will learn how to use the PostgreSQL UPDATE statement to update existing data in a table. PostgreSQL UPDATE syntax To change the values of the columns in a table, you use the UPDATE statement. The following illustrates the syntax of the UPDATE statement: 1 2 3 4 5 UPDATEtable SETcolumn1=value1, column2=value2,… WHERE     condition; First, specify the […]

  Read more
Oct 0
Oct 0

Upload an ISO CD-ROM/DVD-ROM image to a VMware datastore for use with VMware vSphere Hypervisor 5.1 (ESXi 5.1) using the vSphere Client, and checking its MD5 checksum signature is correct.

In this series of basic VMware articles for the Novice, I’ll be showing you the basic VMware skills required to install, configure and deploy virtual machines using VMware’s FREE VMware vSphere Hypervisor (ESXi).In this article we will show you HOW TO: Upload an ISO CD-ROM/DVD-ROM image to a VMware datastore for use with VMware vSphere Hypervisor 5.1 (ESXi […]

  Read more
Oct 0
Oct 0

Recover when Mac wont boot because its disk is full

Check the issue In order to check that the issue is indeed “full disk” boot into recovery mode and run the Disk Utility. To do this hold down Command + R on the power up sequence. Select the disk utility. In the bottom panel of the application first check the disk space. Mine was 18 […]

  Read more