Skip to content

Commit a0c2610

Browse files
aab-odooged-odoo
authored andcommitted
[FIX] test foireux
1 parent 20bac7d commit a0c2610

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

addons/web/static/tests/webclient/actions/window_action_tests.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1950,8 +1950,11 @@ QUnit.module("ActionManager", (hooks) => {
19501950
});
19511951
},
19521952
});
1953-
const TestCustoFormView = FormView.extend({});
1954-
TestCustoFormView.prototype.config.Controller = TestCustoFormController;
1953+
const TestCustoFormView = FormView.extend({
1954+
config: Object.assign({}, FormView.prototype.config, {
1955+
Controller: TestCustoFormController,
1956+
}),
1957+
});
19551958
legacyViewRegistry.add("test_view", TestCustoFormView);
19561959
testConfig.serverData.views["partner,1,form"] = `
19571960
<form js_class="test_view">

0 commit comments

Comments
 (0)