summaryrefslogtreecommitdiff
path: root/doc/reference/javascript.rst
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2016-06-27 16:59:03 +0200
committerRaphael Collet <rco@openerp.com>2016-06-28 10:16:26 +0200
commitc78a3811b87863f19382ae8235971d13309e5dd7 (patch)
treefe29af0147bf8c75416f8be707f508fb4a741a4a /doc/reference/javascript.rst
parent62d6f52312c13a21144f60ceebba709edff695f9 (diff)
[IMP] models: make `records.mapped(arg)` return `records` when `arg` is falsy
This extension of the method `mapped` is a consistent extrapolation of mapping a recordset through an optional sequence of relational fields. It removes the necessity of special-casing the empty sequence, and also avoids an obscure exception in that case.
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions