diff options
| author | Adrian Torres <adt@odoo.com> | 2018-12-17 09:46:18 +0000 |
|---|---|---|
| committer | Adrian Torres <adt@odoo.com> | 2019-07-05 09:04:45 +0000 |
| commit | 407f1f6cdb87a59bbad9f853078d7345cdf9f60c (patch) | |
| tree | f15809ef5b5493fe1efc7c7d4e1b8bf9ed8ec5a4 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 9e71d57d11faf3fabd00b8a09188e9d4f9808c63 (diff) | |
[REM] api: remove helpers one and aggregate
`api.one` has been deprecated since v9 because it often makes the code
less clear and behaves in ways developers and readers may not expect
since functions decorated with it usually expect a `list` of record(s)
instead of the recordset, whereas most modern Odoo code expects `self`
to be a recordset.
The function `aggregate` was solely being used by `api.one` thus it has
also been removed since there doesn't seem to be any other use for it
thus far.
closes odoo/odoo#34555
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
