summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.contentMenu.xml
diff options
context:
space:
mode:
authorPierre Paridans <app@odoo.com>2019-08-29 15:10:06 +0000
committerPierre Paridans <app@odoo.com>2019-08-30 09:09:48 +0000
commit81d0f394801a9e47429de1412fd8b4971ffdea81 (patch)
treec6acc280fa8a8020028d094482005fd7a6733586 /addons/website/static/src/xml/website.contentMenu.xml
parent92b647611e0a2893d8aa2f9064073014b2f19e4d (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