[FIX] web: forward-port

The rev. odoo/odoo@6397ce7 has not been correctly foward-ported.
The view option `sidebar` has been renamed `hasSidebar` in odoo/odoo@32b8cec
This commit is contained in:
Martin Geubelle
2018-04-09 15:11:29 +02:00
parent 5864fa7896
commit 7c936c68f9
+1 -1
View File
@@ -1634,7 +1634,7 @@ QUnit.module('Views', {
'<field name="foo"/>' +
'</form>',
res_id: 1,
viewOptions: {sidebar: true, context: {hey: 'hoy'}},
viewOptions: {hasSidebar: true, context: {hey: 'hoy'}},
mockRPC: function (route, args) {
if (args.method === 'read') {
// should have 2 read, one for initial load, second for