Help anyone? Javascript for OpenERP

PS depending on the page structure, might also be worth looking at document.querySelector()

Once you have got a js reference to the element that you need, either through .evaluate(xpath) or .querySelector(selectors), there are various ways of getting js to simulate a click event on it.

UPDATE

There's now a generic macro here: