Create and configure automatically your Odoo database

Posted on March 30, 2016 in blog • Tagged with odoo, rpc, odoorpcLeave a comment

When developing an Odoo project, it is very helpful to bootstrap a completely new database from scratch, for instance:

  • to deploy a new development environment
  • generate builds inside a Continuous Integration system
  • replay a data import on a clean database
  • ...

By bootstraping, I mean create the database and configure it ...

Continue reading

Odoo - Override translations

Posted on February 15, 2016 in blog • Tagged with odoo, translationLeave a comment

If you need to override an existing translation in your own module, you need to enable this feature by overriding the ir.translation model at first:

from openerp import models

class IrTranslation(models.Model):
    _inherit = 'ir.translation'

    def _get_import_cursor(self, cr, uid, context=None):
        """Allow translation updates."""
        if context is ...
Continue reading

Host a WSGI application with Odoo

Posted on October 06, 2015 in blog • Tagged with odoo, wsgi, soap, web serviceLeave a comment


Odoo is a business application which can be separated, from a technical point of view, in three parts:

  • the business application itself (the framework + modules, Root, dispatching requests of the Web client to the Web controllers) ;
  • an XML-RPC web service layer (wsgi_xmlrpc, managing all /xmlrpc/ requests);
  • and the Web ...
Continue reading

Odoo Community Association at Odoo Experience 2015

Posted on April 02, 2015 in blog • Tagged with odoo, community, ocaLeave a comment

Support the OCA to finance its participation at Odoo Experience 2015, the annual Odoo event! (formerly called OpenDays)

Continue reading

Deploy Odoo with Ansible

Posted on March 10, 2015 in blog • Tagged with ansible, odooLeave a comment


Installing Odoo manually is very time consuming, it implies a lot of steps. Here's a subset of them:

  • install and configure a PostgreSQL server ;
  • create a PostgreSQL user with just the required permissions ;
  • creating a system user to run the Odoo application ;
  • install all the dependencies, either from ...
Continue reading