Hello,
I'm developing an integration with OpenERP. Attached patch does the following:

* Add an $order parameter to the search and page methods. This accepts an order by clause as expected by OpenERP, so e.g. name ASC or parent_id ASC, id DESC.

* Allow to clear the internal static cache (I needed this when updating a record that is about to be accessed again in the same request)

Comments

Frando’s picture

StatusFileSize
new2.67 KB

The patch I posted didn't apply due to whitespace changes. This one applies cleanly.

podarok’s picture

Version: 7.x-1.6 » 7.x-2.x-dev
Status: Needs review » Needs work
podarok’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 1: openerp_allow_order_2.patch, failed testing.