diff options
| author | Pierre Paridans <app@odoo.com> | 2019-08-29 15:10:06 +0000 |
|---|---|---|
| committer | Pierre Paridans <app@odoo.com> | 2019-08-30 09:09:48 +0000 |
| commit | 81d0f394801a9e47429de1412fd8b4971ffdea81 (patch) | |
| tree | c6acc280fa8a8020028d094482005fd7a6733586 /addons/website/static/src/xml/website.contentMenu.xml | |
| parent | 92b647611e0a2893d8aa2f9064073014b2f19e4d (diff) | |
[FIX] web, base: MockServer should have the same behavior as the server
An RPC call using an empty array of fields has not the same behavior on
the MockServer and the actual server:
- the MockServer returns only the 'id' field
- the actual server returns all the fields for the model
This is due to the fact that an empty array evaluates to a falsy value
in Python and evaluates to a thruthy value in JavaScript.
This commit restores the parity between the two.
closes odoo/odoo#36278
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions
