diff options
| author | Xavier Morel <xmo@odoo.com> | 2018-01-10 12:32:54 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2018-01-10 12:36:58 +0100 |
| commit | f7323dbe2321558f96640d6643a8b593958d8a49 (patch) | |
| tree | 94481626064593d5d776bca02858ac766bf3c28f /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | cd05c16641ef9e5f84dcb1d4af70a2caab464ecb (diff) | |
[FIX] doc: informal sub-params
Revert 6cb12273e2c1e1385098e38880317ae162dc902e which reverted
08d48b0fff0938e7ac004767dddfab13d3cff30b.
Issue was the support for sub-parameters (aka @param {type} foo.bar)
where the "parent" parameter was not formal (only present in a
function's docstring, but not in the function's parameters list),
subtype creation would fail to find a root parameter to attach the
sub-parameter to.
This has not actually been fixed, but for the specific case where the
formal parameters list is *completely empty* we fall back on a list of
the docstring's parameters, which works well enough for this case.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
