[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user