Articles

Run OpenERP’s ir.cron from command-line

Here is a simple Python script to trigger an ir.cron job from the command-line system. I created this to let my customer use his proprietary job scheduler to trigger OpenERP tasks. It was tested on OpenERP 6.1. 1#!/usr/bin/python 2 3import sys 4import traceback …
➟ Read more

Pelican effects

Here is a screenshot from Google’s webmaster tool monitoring the average page download time of this site. Can you spot when I switched from WordPress to Pelican ? :)
➟ Read more

Tale of Two: production notes

This is the fourth video I’ve work on for Omashay  :  https://www.youtube.com/watch?v=4HtfugU_mGg This video is a timelapse of a painting Tomasito made in 2007. It’s based on a series of photos he took every 10 minutes: slowmoVideo I tried to produce a timelapse …
➟ Read more

libvirt commands

List system virtual machines: 1$ virsh -c qemu:///system list --all List session VMs: 1$ virsh -c qemu:///session list --all Dump a VM configuration to XML file: 1$ virsh -c qemu:///system dumpxml vm-name > vm-name-conf.xml Create a new VM by importing its XML configuration: 1$ virsh -c qemu …
➟ Read more

OpenERP 6.1 web client hacks: hide buttons with JavaScript

Last year I published two articles on hacking OpenERP 6.0 user interface, one to demonstrate how to monkey-patch native JavaScript behavior , the other to show how to tweak widgets Both methods are based on an injection of inline JavaScript code via XML view definition. In OpenERP 6.1, as …
➟ Read more