[FIX] doc: fit code example to new API
authorNicolas Bustillos <nicobustillos@users.noreply.github.com>
Thu, 30 Oct 2014 22:34:48 +0000 (18:34 -0400)
committerXavier Morel <xmo@openerp.com>
Mon, 3 Nov 2014 09:19:30 +0000 (10:19 +0100)
commitd0ff6df2f43bb51ad62d145046bf73949d1dc17e
tree20abf98facf9d62452c42eafce3d656491dc7aba
parentfcf0b278a932c6b9909202640936e470c6f40a53
[FIX] doc: fit code example to new API

When using this code as is, the 'ids' variable throws an exception for not
being defined. In the new API, 'ids' is no longer given as a function variable
but as a variable within 'self'.

close #3406
doc/reference/reports.rst